Original 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.
Affected software
- GoatCounter ≤ 2.7.0 repository or package match
Details
- Published
- 2026-10-11
- Last modified
- 2026-10-13
- CVSS 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- CWE
- CWE-915
- EPSS (30-day exploit probability)
- 0.33% (percentile 26)
References
- cve.org/CVE-2026-108740
- nvd.nist.gov/vuln/detail/CVE-2026-108740
- hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011
- github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/setti...
- github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L...
- github.com/arp242/goatcounter
- www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-...
Track these versions on your own servers
InfraGuard collects installed software versions from every server and flags the ones with known vulnerabilities. Self-hosted — nothing leaves your network.
This product uses data from the NVD API but is not endorsed or certified by the NVD. CVE® is a registered trademark of The MITRE Corporation; CVE records are used under the CVE Program Terms of Use.