CVE-2026-108740
GoatCounter through 2.7.0 Privilege Escalation via /user/pref Mass Assignment
- State
- Published
- Severity
- 7.2 High
- Published
- Oct 11, 2026
- Updated
- Oct 13, 2026
- Reserved
- Oct 11, 2026
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.
Scores
| CVSS | Score | Vector | Source |
|---|---|---|---|
| 4.0 | 7.2 High | 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 | VulnCheck |
| 3.1 | 8.3 High | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H | VulnCheck |
Weaknesses
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
Affected Products
| Product | Versions |
|---|---|
GoatCounterarp242 |
|
References
- https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011third-party-advisory
- https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/settings_user.go#L33-L99technical-description
- https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L218technical-description
- https://github.com/arp242/goatcounterproduct
- VulnCheck Advisory: GoatCounter through 2.7.0 Privilege Escalation via /user/pref Mass Assignmentthird-party-advisory
Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.