CVE-2026-56706

published 25 Aug 2026 · updated 25 Aug 2026

Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking

6.8MediumCVSS 6.8EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in 5.4.3.

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.

Affected

Vendors, products and packages with version ranges

VendorProductVersionsFixed
vrana<5.4.35.4.3

Timeline

Every event on this vulnerability

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-56706 severity on Zeptric[![CVE-2026-56706](https://zeptric.io/badge/cve/CVE-2026-56706.svg)](https://zeptric.io/cve/CVE-2026-56706)