CVE-2026-108740
8.3 HIGHpublic exploit availablePublished 2026-10-11 · Updated 2026-10-16
AI risk analysis
- Summary
- A mass assignment vulnerability in GoatCounter allows authenticated users to escalate privileges by modifying protected account fields through form-encoded requests, potentially enabling attackers to gain admin access with minimal effort.
- Exploitability
- The exploit is straightforward requiring only a simple POST request with specific parameters, but requires an existing authenticated user account with read-only access to the application.
- Blast radius
- If exploited, this vulnerability could allow attackers to gain full administrative control over GoatCounter installations, potentially affecting all user accounts and data within those systems.
- Detection
- No reliable host or network indicator is derivable from the published description.
- Prioritized remediation
- Upgrade to version 2.7.1 or later to address this privilege escalation vulnerability.
privilege-escalationmass-assignmentweb
Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.
NVD 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.
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Weaknesses
CWE-915
Public exploit & PoC references
References
- https://github.com/arp242/goatcounter
- https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/settings_user.go#L33-L99
- https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L218
- https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011
- https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-mass-assignment
Data: NVD (public domain). Analysis: local $0 model. Defensive use only.