Intel

AIKIDO-2026-394942

vrana/adminer is vulnerable to Server-Side Request Forgery (SSRF)

GHSA-58cq-mgw2-38m5Published Aug 3, 2026
August 3, 2026

58

CVE Score

Medium

Server-Side Request Forgery (SSRF)

Are you affected? Scan for Free

TL;DR

Adminer's login form validates the connection server string but only inspects a leading integer when enforcing the privileged-port restriction, so a value whose port begins with a non-digit is never range-checked. The unchecked value is interpolated into an unquoted PDO DSN, letting user-controlled host=/port=/unix_socket= keys be smuggled in and honoured last-key-wins by the PDO drivers. Because the connection is attempted before authentication, an unauthenticated request drives the server to open TCP connections to arbitrary internal hosts and ports and to arbitrary unix sockets, acting as a blind request-forgery and internal port-scan oracle. The fix tightens host and port validation, including privileged-port bounds, so smuggled DSN attributes are rejected.

How do I fix this?

Upgrade the vrana/adminer library to the patch version.

Who does this affect?

You are affected if an instance on a version in the vulnerable range is reachable by untrusted users, because the vulnerable connection flow runs before authentication — anyone who can reach the login form can submit a crafted server value and drive the smuggled PDO DSN connection. No plugin or non-default configuration is required; the privileged-port validator bypass sits in the default login path. Instances restricted to the PostgreSQL driver are not affected (host/port are quoted), while MySQL/MariaDB, MS SQL (DBLIB/SQLSRV) and Oracle drivers are.

Versions

0.0.1 - 5.4.4

Fixed in 5.5.0

Background info

vrana/adminer is vulnerable to Server-Side Request Forgery (SSRF) in versions 0.0.1 - 5.4.4.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea