# CVE-2026-108740: GoatCounter through 2.7.0 Privilege Escalation via /user/pref Mass Assignment

- Severity: High 7.2 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.33%, higher than 28% of CVEs (2026-12-01)
- Published: 2026-10-11T12:19:44.911Z
- Modified: 2026-10-16T19:18:44.867Z
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

## 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.

(As written by CVE List.)

## Affected

- arp242 GoatCounter: up to 2.7.0

## Every score

- VulnCheck: CVSS:4.0 7.2 High `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`
- VulnCheck: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`

## References

- <https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011> (third-party-advisory)
- <https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/settings_user.go#L33-L99> (technical-description)
- <https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L218> (technical-description)
- <https://github.com/arp242/goatcounter> (product)
- <https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-mass-assignment> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-108740](https://www.cve.org/CVERecord?id=CVE-2026-108740), CVE Terms of Use, modified 2026-10-13
- NVD: [CVE-2026-108740](https://nvd.nist.gov/vuln/detail/CVE-2026-108740), Public domain, modified 2026-10-16

---

Page: https://cve.day/CVE-2026-108740 · Whole record: https://cve.day/CVE-2026-108740.json · Rebuilt by cve.day 2026-11-25T22:59:43.507Z
