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

Published Oct 11, 2026
·
Updated

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.emailverified=true to /user/pref, bypassing readonly tags to gain superuser or admin access.

Affected Software

1 affected component
GoatCounter GoatCounter<=2.7.0

Event History

Oct 11, 2026
CVE Published
via MITRE·12:19 PM
Data Sourced
via MITRE·12:19 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·01:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Who can exploit this issue?

An attacker must be logged in with read-only access. The described exploit does not require user interaction and can be sent over the network as a form-encoded request.

2

What access can an attacker obtain?

A read-only user can submit protected account fields to the /user/pref endpoint, including user.access[all]=* and user.email_verified=true. This can elevate the account to superuser or administrator access.

3

How can I check whether an account may have been compromised?

Review requests to /user/pref from logged-in accounts for form parameters such as user.access[all]=* or user.email_verified=true. Also review user accounts for unexpected superuser or administrator privileges and changed email-verification status.

4

What can be done if patching is not immediately possible?

Restrict or disable access to the /user/pref endpoint for untrusted or read-only users, and ensure read-only accounts cannot submit account-preference update requests. Audit existing privileged accounts and revoke unexpected elevated access.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203