{"id":"CVE-2026-108740","summary":"GoatCounter through 2.7.0 Privilege Escalation via /user/pref Mass Assignment","details":"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.","modified":"2026-10-13T02:46:25.775659403Z","published":"2026-10-11T12:19:44.911Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-915"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108740.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/108xxx/CVE-2026-108740.json"},{"type":"ADVISORY","url":"https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-108740"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-mass-assignment"},{"type":"PACKAGE","url":"https://github.com/arp242/goatcounter"},{"type":"ARTICLE","url":"https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/settings_user.go#L33-L99"},{"type":"ARTICLE","url":"https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L218"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/arp242/goatcounter","events":[{"introduced":"0"},{"fixed":"7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4"}],"database_specific":{"source":["AFFECTED_FIELD","DESCRIPTION"],"extracted_events":[{"introduced":"0"},{"last_affected":"2.7.0"},{"fixed":"2.7.0"}]}}],"versions":["v2.6.0","v2.5.0","v2.4.1","v2.4.0","v2.3.0","v2.2.3","v2.2.2","v2.2.1","v2.2.0","v2.1.0","v2.0.3","v2.0.2","v2.0.1","v2.0.0","v2.0.0-rc1","v1.4.2","v1.4.1","v1.4.0","v1.3.0","v1.2.0","v1.1.2","v1.1.1","v1.1.0","v1.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-108740.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}