CVE-2026-56706 Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking
Attackers can recover CSRF secrets from tokens to forge requests, enabling arbitrary SQL execution against authenticated Adminer sessions.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- Available
What is CVE-2026-56706?
CVE-2026-56706 is a medium-severity vulnerability in vrana adminer, published on 25 Aug 2026. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Adminer before 5.4.3 uses a CSRF token scheme that transmits both the XOR mask and the masked value in every token (format (rand XOR secret):rand), allowing anyone who observes a single CSRF token (e.g., via network sniffing, log files, Referrer header, or XSS) to recover the session secret with a single XOR operation and forge unlimited valid tokens. The implementation is further weakened by a low-entropy session token (rand(1,1e6), ~20 bits) that permits blind brute-force, and by use of loose comparison (==) in token verification, enabling PHP type juggling. Exploitation enables cross-site request forgery against authenticated sessions, including execution of arbitrary SQL queries.
Weakness: CWE-330
Which versions are affected by CVE-2026-56706?
How do I fix CVE-2026-56706?
Upgrade to a fixed version.
Is CVE-2026-56706 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-56706 exists.
Sources
Also known as DEBIAN-CVE-2026-56706, GHSA-33j4-hc95-pggg, GHSA-wjcm-7h7g-36vh, UBUNTU-CVE-2026-56706.