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

- Severity: Medium 6.1 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 31% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-08-25T01:30:05.474Z
- Modified: 2026-10-12T15:10:00.207Z
- Weaknesses: CWE-330
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- vrana adminer: before 5.4.3 (not affected: 5.4.3)

## Every score

- VulnCheck: CVSS:4.0 6.1 Medium `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`
- VulnCheck: CVSS:3.1 6.8 Medium `CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H`

## References

- <https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg> (exploit, vendor-advisory)
- <https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-56706](https://www.cve.org/CVERecord?id=CVE-2026-56706), CVE Terms of Use, modified 2026-08-25
- NVD: [CVE-2026-56706](https://nvd.nist.gov/vuln/detail/CVE-2026-56706), Public domain, modified 2026-10-12

---

Page: https://cve.day/CVE-2026-56706 · Whole record: https://cve.day/CVE-2026-56706.json · Rebuilt by cve.day 2026-11-25T22:59:35.089Z
