AdminNeo: Cookie attribute injection via X-Forwarded-Prefix (CVE-2026-96631)
AdminNeo versions 4.6.0 through 5.5.0 contain a vulnerability where unsanitized X-Forwarded-Prefix headers allow cookie attribute injection, potentially leading to session hijacking and credential theft.
CVE search metadata
CVE search record: CVE-2026-96631. KEV: no. Product: AdminNeo (>= 4.6.0, < 5.5.1). Brief: AdminNeo: Cookie attribute injection via X-Forwarded-Prefix (CVE-2026-96631). Brief link: https://feed.craftedsignal.io/briefs/2026-11-adminneo-cookie-injection/
Triage facts
Revision 1- Applicability
- AdminNeo (>= 4.6.0, < 5.5.1)
- Evidence
- Unknown
- Severity
- High
- Action
- Immediate escalation
- Sources
- 2 public sources
- Freshness
- Revision 1Nov 1, 08:46 UTC
- Vulnerabilities
- 1 CVE
- Source quality
- A1Likely
AdminNeo versions 4.6.0 through 5.5.0 are vulnerable to cookie attribute injection via the X-Forwarded-Prefix HTTP header. The application fails to sanitize this user-supplied header before concatenating it into the REQUEST_URI and subsequently using it to construct Set-Cookie response headers. An attacker can inject arbitrary cookie attributes, such as Domain, Path, and SameSite, which are then parsed and executed by the victim's browser. This flaw impacts the neo_sid (session ID) and neo_key (database password encryption key) cookies.
This issue is tracked as CVE-2026-96631.
Impact
Successful exploitation allows for session hijacking of the neo_sid cookie and potential theft of the neo_key cookie, which is used to encrypt database credentials. An attacker can force the browser to send these cookies to an attacker-controlled domain by injecting a Domain attribute (e.g., Domain=.evil.com).
Recommendation
- Upgrade to AdminNeo version 5.5.1 or later immediately.
- If immediate patching is not possible, modify the reverse proxy configuration to strip the
X-Forwarded-Prefixheader from client requests or force it to a static, trusted value. - Implement a WAF rule to block HTTP requests containing semicolons or other metacharacters in the
X-Forwarded-Prefixheader.
Immediate actions
Inventory all internet-facing instances of AdminNeo version < 5.5.1.
Threat Hunt
Identify HTTP requests containing semicolons or multiple path attributes in the X-Forwarded-Prefix header.
Data: Web server access logs or WAF logs containing custom header fields.
Mitigations
Upgrade AdminNeo to version 5.5.1 or later.
CVE-2026-96631