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.
Published: 2026-10-11
Score: 7.2 High
EPSS: < 1% Very Low
KEV: No
Impact: Privilege Escalation
Action: Patch Now
AI Analysis

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.

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

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 yet.

History

Tue, 13 Oct 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

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


Tue, 13 Oct 2026 08:15:00 +0000

Type Values Removed Values Added
First Time appeared Arp242
Arp242 goatcounter
Vendors & Products Arp242
Arp242 goatcounter

Sun, 11 Oct 2026 12:45:00 +0000

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'}


Subscriptions

Arp242 Goatcounter
cve-icon MITRE

Status: PUBLISHED

Assigner: VulnCheck

Published:

Updated: 2026-10-13T13:28:05.697Z

Reserved: 2026-10-11T01:52:55.041Z

Link: CVE-2026-108740

cve-icon Vulnrichment

Updated: 2026-10-13T13:26:24.856Z

cve-icon NVD

Status : Deferred

Published: 2026-10-11T13:17:18.527

Modified: 2026-10-16T19:18:44.867

Link: CVE-2026-108740

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-13T07:58:18Z

Weaknesses
  • CWE-915

    Improperly Controlled Modification of Dynamically-Determined Object Attributes