Intel

AIKIDO-2026-365818

vrana/adminer is vulnerable to Path Traversal

Path TraversalGHSA-6pg3-chwq-wgqc Published 3 days ago

81

High Risk

This Affects:

PHPvrana/adminer
0.0.1 - 5.4.2
Fixed in 5.4.3
Are you affected? Scan for Free

TL;DR

Adminer's SQLite database-list drop action passes submitted database names to unlink() without the extension validation applied to create and rename operations. An authenticated SQLite user with a valid request token can submit an arbitrary file path in the db[] field and delete any file writable by the PHP process. The submitted path is not bound to a known SQLite database, so files outside the intended directory can be removed. The fix validates the filename before deletion.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you expose the SQLite driver to users who can authenticate.

Background info

vrana/adminer is vulnerable to Path Traversal in versions 0.0.1 - 5.4.2.

How to fix this

Upgrade the vrana/adminer library to the patch version.