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.
https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011
Published: 2026-10-11
Updated: 2026-10-11
Base Score: 8.7
Vector: CVSS2#AV:N/AC:L/Au:S/C:P/I:C/A:C
Severity: High
Base Score: 8.3
Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
Severity: High
Base Score: 7.2
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
Severity: High