{"id":"CVE-2026-56706","title":"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, …","summary":"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, …","severity":"medium","cvss":6.8,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:N/I:H/A:H","cwe":["CWE-330"],"published":"2026-08-25","updated":"2026-09-08","sourceUpdated":"2026-09-08T20:23:49.880","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-56706","references":[{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg","label":"disclosure@vulncheck.com"},{"url":"https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking","label":"disclosure@vulncheck.com"},{"url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg","label":"134c704f-9b21-4f2e-91b3-4a467353bcc0"}],"tags":["nvd"],"epss":0.00294,"epssPercentile":0.22209,"ingestedAt":"2026-09-08T21:11:12.285Z","slug":"CVE-2026-56706","body":"## Overview\n\nAdminer 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.\n\n## Remediation\n\nRefer to the linked advisories for vendor-supplied fixes and affected version ranges.","depth":"sunlit","depthScore":37,"depthScoreParts":{"impact":37.4,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}