CVE catalog

CVE-2026-56706

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.

[CVE catalog]

Severity
Medium · CVSS 6.1CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Published
Updated
Source
[NVD] · [CVE record]
EPSS
0.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianadminersid6.1.2-1fixed
Debianadminerforky6.1.0-1fixed
Debianadminertrixie5.2.1+dfsg-1vulnerable
Debianadminerbookworm4.8.1-1vulnerable
Ubuntuadminerpro4.7.2-1vulnerable
Ubuntuadminerpro4.7.4-1vulnerable
Ubuntuadminerpro4.7.5-1vulnerable
Ubuntuadminerpro4.7.6-1vulnerable
Ubuntuadminerpro4.7.6-1ubuntu0.1~esm1vulnerable
Ubuntuadminer22.044.7.9-2vulnerable
Ubuntuadminer22.044.8.1-1vulnerable
Ubuntuadminer24.044.8.1-1vulnerable
Ubuntuadminer24.044.8.1-1ubuntu1vulnerable
Ubuntuadminer24.044.8.1-2vulnerable
Ubuntuadminer26.045.2.1+dfsg-1vulnerable
Ubuntuadminer26.045.3.0+dfsg-1vulnerable
Ubuntuadminer26.045.4.0+dfsg-1vulnerable
Ubuntuadminer26.045.4.1+dfsg-1vulnerable

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianadminersourcesid5.4.3+dfsg-1not yet assignedNot reportedNot reported
Debianadminersourceforky5.4.3+dfsg-1not yet assignedNot reportedNot reported
Debianadminersourcetrixie(unfixed)not yet assignedNot reportedNot reported
Debianadminersourcebookworm(unfixed)not yet assignedNot reportedNot reported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • [adminer]Affected
    Details (2)
    • 4.8.1-1 · all · bookworm

      Affected

      nvd · adminer · debian · bookworm; nvd · adminer · debian · 12

    • 4.8.1-1 · all · bookworm

      Affected

      nvd · adminer · debian · bookworm; nvd · adminer · debian · 12

[Debian 13 (Trixie)]

  • [adminer]Affected
    Details (2)
    • 5.2.1+dfsg-1 · all · trixie

      Affected

      nvd · adminer · debian · 13

    • 5.2.1+dfsg-1 · all · trixie

      Affected

      nvd · adminer · debian · 13

Observed:

References