Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore
Security NewsNews Explainer

Adminer SQLite File URI Flaw: When It Becomes RCE

Adminer SQLite file URI RCE affects versions before 6.3.1 under specific login, PDO and filesystem conditions. Learn the flaw and response checks.

By
Brandefense Research Team
Reviewed by
Brandefense Analyst Team
Published
6 December 2026
Reading time
5 min read
Database name passing through validation and SQLite interpretation layers

Adminer SQLite file URI RCE is a conditional code execution flaw in Adminer versions before 6.3.1. A logged-in user can reach it when PDO_SQLite is available and the server permits a database file in a writable, PHP-executing directory. Adminer fixed the issue in 6.3.1; the CVE program published CVE-2026-145605 on December 6, 2026.

The first response is to identify Adminer installations and deploy 6.3.1. During rollout, check who can log in, whether the affected SQLite backend is available, and whether the web server can write to a PHP-executing directory. The vulnerability intelligence platform page provides product context for teams tracking this remediation.

How Does Adminer SQLite File URI RCE Work?

The Adminer security advisory identifies a disagreement between two components. Adminer checks a proposed database name as a plain filename and expects an allowed SQLite suffix. PDO_SQLite can instead interpret that same input as a file URI, where the effective file path is different from the text Adminer checked.

This is a validation boundary failure, classified as external control of a file name or path, CWE-73. The user first needs a valid Adminer session. The user can then select the PDO backend, submit a database name that passes Adminer’s suffix check, and cause SQLite to create a file at the interpreted path.

Where the database name changes meaning
Where the database name changes meaningAttack path in 3 steps: 1, Name check (Adminer), then Reads the complete input as a filename; 2, PDO_SQLite (PHP), then Interprets the same input as a file URI; 3, Writable directory (Server).AdminerPHPServerReads the complete input…Interprets the same input…Name checkPDO_SQLiteWritable directory
  1. Name checkAdminerReads the complete input as a filename
  2. PDO_SQLitePHPInterprets the same input as a file URI
  3. Writable directoryServer

The advisory’s local test shows that normal database content can put PHP code into the created file. If the file lands in a directory that executes PHP, a request to it can run commands with the web server user’s privileges. That outcome depends on the environment; the database-name discrepancy alone does not establish code execution on every Adminer installation.

Which Adminer Installations Meet the Preconditions?

Start with the version. The CVE record lists Adminer before 6.3.1 as affected and 6.3.1 as unaffected. The advisory reproduced the full sequence on 6.3.0 and found the relevant code path in 6.2.0 and 6.1.1. It says older releases were not tested in that local reproduction.

Next, check access and configuration together. Adminer 6.x requires a configured password, and the described route requires a user who can log in. The PDO_SQLite extension must be loaded and selected; the advisory’s negative control did not reproduce the behavior through the other SQLite backend.

The advisory also requires PHP’s open_basedir setting to be unset for the described file URI path. The destination directory must be writable by the web server account. For code execution, the server must also execute PHP files from that directory. A deployment missing any of these conditions does not match the advisory’s complete RCE chain.

Inventory the Adminer instance as a deployed service, rather than relying on a package declaration alone. Check the actual running version, PHP extension list, access controls and effective filesystem permissions. Keep configuration evidence with the remediation record so that a later change does not silently restore the risky combination.

Why Is This Different From the Earlier Adminer SQLite CVE?

The advisory distinguishes this flaw from CVE-2026-109347. That earlier issue concerned the SQL editor’s statement filter and was fixed in 6.1.1. CVE-2026-145605 reaches the create-database form and its database-name validation instead. A 6.1.1 deployment can therefore contain the newer flaw even though it has the older fix.

The distinction matters during triage because a test focused only on SQL statement filtering may miss this route. Review the create-database workflow and the selected backend when assessing exposure. Avoid treating the older CVE’s fix as proof that the database-name boundary is safe.

What Should Defenders Change and Verify?

Deploy Adminer 6.3.1 wherever the affected version range is in use. Prioritize instances reachable by people outside the small group that administers databases, especially those with writable directories under a PHP-executing web root. The priority reflects the advisory’s login and filesystem preconditions, not a claim of observed attacks.

Adminer remediation checks
  • Locate every deployed Adminer instance and record its running version.
  • Update affected installations to 6.3.1 and verify the version served by each instance.
  • Review who can authenticate and remove access that is no longer needed.
  • Confirm the SQLite backend, open_basedir setting and web server write permissions.
  • Ensure writable directories cannot execute PHP, then retest the intended database workflow.

Reducing login access and separating writable data from executable web content can limit exposure while upgrades proceed. Those controls are defensive measures based on the stated prerequisites; the vendor’s explicit fixed version remains 6.3.1. Follow the vulnerability management workflow to assign owners and retain version evidence.

After the update, test legitimate SQLite database creation and verify that the running Adminer build reports 6.3.1. Review filesystem permissions from the web server account’s perspective, not only the owner shown in a source checkout. If logs and file inventories show unexpected database creation in executable locations, investigate those events with local context.

What Do the Published Ratings and Dates Mean?

Adminer’s advisory was published on November 20, 2026, before the CVE record appeared on December 6. The CNA record rates the flaw High at CVSS 4.0 score 7.6 and Medium at CVSS 3.1 score 6.8. The advisory’s own displayed CVSS 3.1 score is 6.8, and it calls the issue Moderate.

These scores describe a conditional path with low privileges required and high attack complexity. They do not measure whether an individual deployment has writable executable directories or available credentials. For an operational decision, combine the fixed-version status with those local conditions and the actual Adminer access boundary.

The advisory reports an end-to-end local reproduction, rather than an incident affecting a named organization. Treat that demonstration as evidence the chain can work under its stated conditions. Use the patch management process to document rollout, verification and follow-up checks.

Frequently Asked Questions

Can an unauthenticated visitor exploit this Adminer flaw?

The vendor advisory says a valid Adminer login is required. The described route also needs PDO_SQLite and specific PHP and filesystem conditions.

Which Adminer release fixes CVE-2026-145605?

Adminer 6.3.1 is the patched version listed by the vendor advisory and the CVE record. Confirm the running service uses that version.

Does fixing CVE-2026-109347 remove this flaw?

No. The older CVE concerned the SQL editor, while this issue concerns the create-database name check. The vendor found the newer path in 6.1.1.

Sources

  1. Adminer security advisory GHSA-5xfm-7vgj-3f39, November 20, 2026
  2. CVE-2026-145605 CNA record, December 6, 2026
Share this articleLinkedInXEmail
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →