CVE-2026-108740 | BDVDB-2026-385773 Detail
arp242GoatCounter
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.
Impact#
Per CVSS v3.1: confidentiality impact low, integrity impact high, availability impact high. Attack vector: network.
Weaknesses#
- CWE-915 Improperly Controlled Modification of Dynamically-Determined Object Attributes
References#
- https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011
- 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://github.com/arp242/goatcounter
- https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-mass-assignment
Exploit#
No public exploit known
History#
- Version 1Record published in the CVE List.
- Version 2Most recent update recorded in the CVE List.