CVE-2026-108740

GoatCounter through 2.7.0 Privilege Escalation via /user/pref Mass Assignment

Published Oct 11, 2026 CVSS 4.0 · 7.2 High EPSS < 1% KEV · Not listed
Description
GoatCounter through 2.7.0 contains a mass assignment privilege escalation vulnerability in the userPrefSave handler that allows logged-in users to modify protected account fields via form-encoded requests. Attackers with read-only access can POST user.access[all]=* and user.email_verified=true to /user/pref, bypassing readonly tags to gain superuser or admin access.

Analysis

AI-generated

Technical impact

GoatCounter versions through 2.7.0 include a mass assignment flaw in the userPrefSave handler. The bug allows a logged‑in user to submit form‑encoded requests that modify protected fields such as user.access[all] and user.email_verified. Because the handler bypasses readonly tags, an attacker with read‑only access can elevate to a superuser or administrator, making this an authenticated privilege escalation issue classified as CWE‑915.

Affected Systems

The vulnerability affects the GoatCounter web analytics platform developed by arp242. Any deployment of GoatCounter 2.7.0 or earlier is vulnerable. The issue is specific to the /user/pref endpoint that handles user preference updates.

Risk and Exploitability

The CVSS score of 7.2 indicates a high severity. The EPSS score is not available and the vulnerability is not listed in the CISA KEV catalog. It is inferred that the attack vector is an authenticated user, since the exploit requires a locally authenticated POST request to /user/pref. Once exploited, the attacker gains full administrative control over the GoatCounter instance.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply any available fix from the GoatCounter project; upgrade to the newest release when a patch is released.
  • Restrict the /user/pref endpoint so that only users with administrative privileges can set internal fields such as access permissions and email verification flags.
  • Audit existing user accounts to remove any unintended superuser or admin rights and revoke email_verified flags that may have been set through the flaw.

Generated by OpenCVE AI on October 11, 2026 at 14:32 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Arp242
Arp242 goatcounter
Vendors & Products Arp242
Arp242 goatcounter
Type Values Removed Values Added
Description GoatCounter through 2.7.0 contains a mass assignment privilege escalation vulnerability in the userPrefSave handler that allows logged-in users to modify protected account fields via form-encoded requests. Attackers with read-only access can POST user.access[all]=* and user.email_verified=true to /user/pref, bypassing readonly tags to gain superuser or admin access.
Title GoatCounter through 2.7.0 Privilege Escalation via /user/pref Mass Assignment
Weaknesses CWE-915
References
Metrics cvssV3_1

{'score': 8.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H'}

cvssV4_0

{'score': 7.2, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Oct 13, 2026, 1:28 PM
Reserved
Oct 11, 2026, 1:52 AM
Status
Deferred
Published
Oct 11, 2026, 1:17 PM
Modified
Oct 16, 2026, 7:18 PM