{"id":"CVE-2026-56706","summary":"Adminer before 5.4.3 CSRF Token Secret Recovery via XOR Masking","details":"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.","aliases":["GHSA-33j4-hc95-pggg"],"modified":"2026-09-10T03:30:46.819635449Z","published":"2026-08-25T01:30:05.474Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-330"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56706.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/56xxx/CVE-2026-56706.json"},{"type":"ADVISORY","url":"https://github.com/vrana/adminer/security/advisories/GHSA-33j4-hc95-pggg"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-56706"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/adminer-before-csrf-token-secret-recovery-via-xor-masking"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/vrana/adminer","events":[{"introduced":"0"},{"fixed":"189869c4a8f0f897848cdb58493b572178084d6c"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"5.4.3"}],"source":["AFFECTED_FIELD","DESCRIPTION"]}}],"versions":["v5.4.2","v5.4.1","v5.4.0","v5.3.0","v5.2.1","v5.2.0","v5.1.1","v5.1.0","v5.0.6","v5.0.5","v5.0.4","v5.0.3","v5.0.2","v5.0.1","v5.0.0","v4.17.1","v4.17.0","v4.16.0","v4.8.1","v4.8.0","v4.7.9","v4.7.8","v4.7.7","v4.7.5","v4.7.4","v4.7.3","v4.7.2","v4.7.1","v4.7.0","v4.6.3","v4.6.2","v4.6.1","v4.6.0","v4.5.0","v4.4.0","v4.3.1","v4.3.0","v4.2.5","v4.2.4","v4.2.3","v4.2.2","v4.2.1","v4.2.0","v4.1.0","v4.0.3","v4.0.2","v4.0.1","v4.0.0","v3.7.1","v3.7.0","v3.6.4","v3.6.3","v3.6.2","v3.6.1","v3.6.0","v3.5.1","v3.5.0","v3.4.0","v3.3.4","v3.3.3","v3.3.2","v3.3.1","v3.3.0","v3.2.2","v3.2.1","v3.2.0","v3.1.0","v3.0.1","v3.0.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-56706.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"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"}]}