Packagist
CVE-2026-96631
AdminNeo has Cookie Attribute Injection via Unsanitized X-Forwarded-Prefix in Set-Cookie Headers
- Severity
- High 8.2
- Published
- 30 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 5.5.1
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data · Change some data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:L/A:N- Also known as
- GHSA-79wv-8rh2-9vp2
- Sources
- OSV.dev and GitHub
Description
AdminNeo versions 4.6.0 through at least 5.5.0 are vulnerable to cookie attribute injection via the X-Forwarded-Prefix HTTP header. An attacker who can influence this header (e.g., through a reverse proxy that forwards it from clients, an attacker-controlled upstream proxy, or a man-in-the-middle position) can inject arbitrary cookie attributes including Domain, Path, Secure, and SameSite into all Set-Cookie response headers emitted by AdminNeo.
This allows an attacker to expand the cookie scope to an attacker-controlled domain (e.g., Domain=.evil.com), causing the victim's browser to send AdminNeo's neo_sid (session ID) and neo_key (database password encryption key) cookies to the attacker's server on subsequent requests.
Originally reported by @retkoussa in Adminer: https://github.com/vrana/adminer/security/advisories/GHSA-c533-9qwm-8w5h
(admin/include/bootstrap.inc.php, line 61):
Workarounds
Configure the reverse proxy to set X-Forwarded-Prefix to a static, trusted value rather than forwarding the client-supplied header:
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-96631
- GitHub Advisory Database https://github.com/advisories/GHSA-79wv-8rh2-9vp2