All vulnerabilities

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
Weakness
HTTP response splitting (CWE-113)Improper input validation (CWE-20)
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):

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

Configure the reverse proxy to set X-Forwarded-Prefix to a static, trusted value rather than forwarding the client-supplied header:

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
adminneo-org/adminneoPackagist · osv:Packagist:adminneo-org/adminneo
  • From 4.6.0 before 5.5.1

About adminneo-org/adminneo

Monthly downloads (Packagist)
23Packagist, 24 Nov 2026
Total downloads (Packagist)
312Packagist, 24 Nov 2026

References