—
GO-2026-6240
New API: User List API Leaks Root User Access Token Leading to Privilege Escalation in github.com/QuantumNous/new-api
Quick fix
GO-2026-6240 — github.com/QuantumNous/new-api: upgrade to the fixed version with the command below.
go get github.com/QuantumNous/new-api@v1.0.0-rc.7Details
New API: User List API Leaks Root User Access Token Leading to Privilege Escalation in github.com/QuantumNous/new-api
Are you affected?
Enter the version of the package you're using.
Affected packages
Go/github.com/QuantumNous/new-api
Introduced in:
0Fixed in: 1.0.0-rc.7Fix
go get github.com/QuantumNous/new-api@v1.0.0-rc.7References
- https://github.com/QuantumNous/new-api/security/advisories/GHSA-6x2c-phff-wx57[ADVISORY]
- https://github.com/QuantumNous/new-api/commit/0936e2504655a5cbf7bc3c388f6d3e2bb24916d3[FIX]
- https://github.com/QuantumNous/new-api/pull/4929[FIX]
- https://github.com/QuantumNous/new-api/releases/tag/v1.0.0-rc.7[WEB]