---
title: "CVE-2026-108740: GoatCounter - Privilege Escalation"
description: "GoatCounter <= 2.7.0 contains a privilege escalation caused by mass assignment in the userPrefSave handler, letting logged-in users modify protected account fields to gain superuser or admin access, exploit requires user to be logged in."
url: https://panop.io/threat-heartbeat/CVE-2026-108740/
---

# CVE-2026-108740 GoatCounter - Privilege Escalation

GoatCounter <= 2.7.0 contains a privilege escalation caused by mass assignment in the userPrefSave handler, letting logged-in users modify protected account fields to gain superuser or admin access, exploit requires user to be logged in.

CVSS base score 8.3 /10

High

CISA KEV

Not listed

Public exploit

None known

Authentication

Required

EPSS

0.33% chance of exploitation in 30 days

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-108740)

## Details

Type

Privilege Escalation

Impact

Privilege Escalation

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H

Published

11 October 2026

Updated

15 October 2026

Weakness

[CWE-915](https://cwe.mitre.org/data/definitions/915.html)

## Vendor fix

Update to the latest version beyond 2.7.0.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-108740](https://nvd.nist.gov/vuln/detail/CVE-2026-108740)
- [https://github.com/arp242/goatcounter/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/handlers/settings\_user.go#L33-L99](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/blob/7e91d8a9bdbb0dd48496e498c5680f8f3477a1b4/user.go#L191-L218)
- [https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011](https://hackmd.io/@haind03/goatcounter-user-pref-access-mass-assignment-20261011)
- [https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-mass-assignment](https://www.vulncheck.com/advisories/goatcounter-through-2.7.0-privilege-escalation-via-user-pref-mass-assignment)
- [https://github.com/arp242/goatcounter](https://github.com/arp242/goatcounter)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
