CVE-2026-108740
GoatCounter through 2.7.0 contains a mass assignment privilege …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/arp242/goatcounter
- github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/setti
- github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L
- hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011
- www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-
- nvd.nist.gov/vuln/detail/CVE-2026-108740
- cve.org/CVERecord?id=CVE-2026-108740
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.