Insecure Randomness Affecting vrana/adminer package, versions <5.4.3


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.29% (22nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Insecure Randomness vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-VRANAADMINER-19428466
  • published29 Aug 2026
  • disclosed25 Aug 2026
  • creditUnknown

Introduced: 25 Aug 2026

NewCVE-2026-56706  (opens in a new tab)
CWE-330  (opens in a new tab)

How to fix?

Upgrade vrana/adminer to version 5.4.3 or higher.

Overview

vrana/adminer is a Database management in a single file.

Affected versions of this package are vulnerable to Insecure Randomness in the CSRF token generation process. An attacker can recover the session secret and forge valid tokens by observing a single CSRF token, which may be obtained through network sniffing, log files, Referrer headers, or XSS. This allows execution of unauthorized actions, including arbitrary SQL queries, by exploiting the predictable token structure, low-entropy session token, and loose comparison in token verification.

References

CVSS Base Scores

version 4.0
version 3.1