Packagist
CVE-2026-96629
AdminNeo: CSRF Token Secret Recoverable from Single Observed Token, Enabling Cross-Site Request Forgery
- Severity
- Medium 6.8
- Published
- 30 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 5.5.1
- Attack
- Over the network · Only under certain conditions · No login needed · Needs someone to click or open something
- Attacker can
- Change data · Take it down
- CVSS vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H- Also known as
- GHSA-wm25-49w3-5qrg
- Sources
- OSV.dev and GitHub
Description
AdminNeo's CSRF protection uses a BREACH-resistant XOR masking scheme, but the implementation transmits both the XOR mask and the masked value in every token. This allows any observer who sees a single CSRF token (via network sniffing, log files, Referrer header, or XSS) to instantly recover the session secret and forge unlimited valid CSRF tokens. Additionally, the underlying session token has only ~20 bits of entropy (rand(1, 1e6)), making blind brute-force feasible even without token observation.
Originally reported by @az0mb13 in Adminer: GHSA-q4f2-39gr-45jh
Token generation in admin/include/functions.inc.php lines 1181-1184:
Token verification in lines 1189-1192:
Session token initialized in admin/include/auth.inc.php lines 327 and 385:
Load any authenticated AdminNeo page and extract a token from the HTML source. Tokens appear in hidden form fields:
Token observation vectors: Referrer header leak, shared proxy logs, browser history, limited XSS, network sniffing.
Affected software
| Software | Affected versions |
|---|---|
adminneo-org/adminneoPackagist · osv:Packagist:adminneo-org/adminneo |
|
About adminneo-org/adminneo
- Monthly downloads (Packagist)
- 23Packagist, 24 Nov 2026
- Total downloads (Packagist)
- 312Packagist, 24 Nov 2026
Vulnerabilities in adminneo-org/adminneo
- In our list
- 26
- Published in the last 12 months
- 26
- Critical, last 12 months
- 2
- High, last 12 months
- 9
- Known exploited
- 0
- CVE-2026-130338AdminNeo before 5.9.1 Stored SQL Injection via Geometry Column NameLow 2.1 17 Nov 2026
- CVE-2026-130340AdminNeo before 5.9.1 Stored HTML Injection via Column Type Help PopupLow 2.1 17 Nov 2026
- CVE-2026-130344AdminNeo before 5.9.1 Stored XSS via printTablePartitions Partition ExpressionLow 2.1 17 Nov 2026
- CVE-2026-130346AdminNeo before 5.9.1 SQL Injection via ClickHouse Driver Column NamesLow 2.3 17 Nov 2026
- CVE-2026-130358AdminNeo before 5.9.1 Missing Authentication in AI SQL Plugins via Login PageMedium 6.9 17 Nov 2026
- CVE-2026-130359AdminNeo before 5.9.1 Stored XSS via SlugifyEditPlugin Column NameLow 2.0 17 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-96629
- GitHub Advisory Database https://github.com/advisories/GHSA-wm25-49w3-5qrg