Skip to main content

phpMyAdmin CVE-2026-119426

| EUVDEUVD-2026-113806 HIGH
Cross-Site Request Forgery (CSRF) (CWE-352)
2026-10-30 VulnCheck GHSA-5vv2-vq4f-4f39
7.7
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Lure authenticated phpMyAdmin admin to attacker page
  2. Delivery
    Auto-submit cross-site non-AJAX POST
  3. Exploit
    Bypass CSRF token check on /sql
  4. Execution
    Execute attacker-supplied sql_query
  5. Impact
    Run arbitrary SQL at victim DB privileges

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V3 - Web Frontend Security Anti-CSRF tokens, SameSite cookies
MITRE ATT&CK

1 technique across 1 tactic: Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated phpMyAdmin victim (through 5.2.3) whose instance uses http or config authentication, who is lured into submitting a cross-site non-AJAX POST carrying a sql_query parameter to /sql or /database/sql; the bypass relies specifically on the pre-patch middleware not rejecting non-AJAX POSTs with a missing/mismatched CSRF token. Limiting factors: victim user interaction is mandatory (UI:P - the admin must visit the attacker's page while logged in), the http/config authentication prerequisite is not the default cookie-auth deployment, and the resulting SQL impact is bounded by the victim account's database privileges.

Impact

This is a credible this_week-priority issue rather than an inflated high-CVSS artifact, but its real-world reach is gated by configuration. The vendor-supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H) correctly captures a network-reachable CSRF (CWE-352) that needs victim interaction (UI:P) and carries an attack requirement (AT:P) - consistent with the description's statement that it works 'under http or config authentication,' which is not phpMyAdmin's default cookie-auth mode. Full confidentiality/integrity/availability impact on the database is justified because arbitrary SQL runs with the victim's privileges. VulnCheck reported it and vendor patch commits are confirmed, so the technical reality is well-established. However, EPSS is not provided in the input and the CVE is not listed in CISA KEV, so there is no quantitative exploitation-probability signal and no confirmation of active exploitation; the SSVC/decision framework fields beyond the vuln.today 'this_week' label are not supplied. The AT:P attack requirement plus the dependency on a non-default authentication mode and an authenticated, interacting victim meaningfully lowers mass-exploitation likelihood compared to a pure AV:N/PR:N/UI:N flaw, so prioritize patching within the vendor's and decision label's timeframe rather than treating it as an active emergency.

Exploit ScenarioDerived

An attacker hosts a web page containing an auto-submitting HTML form that POSTs a sql_query parameter to a target phpMyAdmin's /sql or /database/sql endpoint. When an administrator who is currently authenticated to that phpMyAdmin instance (under http or config authentication) is lured into visiting the page, the non-AJAX POST bypasses the CSRF token check and the injected SQL executes with the victim's full database privileges. A public PoC reference exists (abraxaslabs.tech research writeup and the VulnCheck advisory); it is not verified as working exploit code.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 30, 2026

Cross-site request forgery in phpMyAdmin through 5.2.3 allows a remote, unauthenticated attacker (CVSS PR:N) to bypass CSRF token validation on non-AJAX POST requests and have arbitrary SQL executed with the database privileges of a logged-in victim. The attacker must lure an authenticated phpMyAdmin user into submitting a cross-site POST carrying a sql_query parameter to /sql or /database/sql, and the instance must be running http or config authentication - the prerequisite configuration plus mandatory victim interaction (UI:P) is what gates the otherwise high-impact confidentiality, integrity and availability ratings. Exploitation status: no CISA KEV entry and no confirmed public exploit code at time of analysis, though a public research write-up of the flaw exists; the issue carries a this_week priority and the underlying bypass is fixed upstream.

RemediationAI

The complete fix is the upstream phpMyAdmin patch delivered through pull request https://github.com/phpmyadmin/phpmyadmin/pull/20569, comprising commits https://github.com/phpmyadmin/phpmyadmin/commit/d1e2b54b530685c24dd91181b9f64a5a64621789 and https://github.com/phpmyadmin/phpmyadmin/commit/910322373f14ed4601c85234858f630f127569ef - the vendor states a patch is available, but the provided data does not name a tagged release version, so confirm the containing release on the phpMyAdmin security advisories page before upgrading rather than assuming a version number; the fix makes the token middleware reject any non-AJAX POST with a missing or mismatched token by discarding the request body, query and cookie parameters and routing the request to the home page. Because a patched release version is not independently confirmed from this data, operators who cannot deploy immediately should treat the configuration prerequisite as the primary exposure control: phpMyAdmin instances running http or config authentication are the affected population, so moving such instances to cookie-based authentication removes the demonstrated delivery path, at the cost of losing the single-sign-on/automation convenience that motivated http or config auth in the first place, and this must be validated against any embedded or scripted clients. Additionally, keeping the MySQL accounts used by phpMyAdmin users at least privilege limits the blast radius of any successfully forged sql_query, since the injected SQL executes with the victim's own database grants, and users should be advised not to browse untrusted pages while logged into the interface. Updating remains the only complete remediation per the vendor; the configuration changes above are compensating measures, not substitutes.

Affected VersionsENISA

phpMyAdmin 0 ≤5.2.3

Affected Packages

euvd phpmyadmin no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The flaw is a classic CWE-352 origin-validation failure inside phpMyAdmin's PSR-7 middleware layer. TokenRequestParamChecking::process() previously short-circuited only AJAX requests when the CSRF token was missing or mismatched (returning a JSON 'Error: Token mismatch' response); for ordinary non-AJAX POSTs it merely emptied the PHP superglobals ($_REQUEST, $_POST, $_GET, $_COOKIE) and returned null, leaving the PSR-7 request object's parsed body and query/cookie params intact so that downstream controllers - including the SQL execution endpoints reached via the sql_query parameter - could still act on attacker-supplied input. The upstream fix (pull request #20569, commits d1e2b54b and 910322373f) converts checkTokenRequestParam() from returning a ResponseInterface|null to a boolean, and on a false result the middleware now clears the superglobals, rebuilds the request with empty parsed body, query params and cookie params, and rewrites the route attribute to '/', so no controller ever processes a request that may originate from another site. Unit tests added with the fix assert exactly this: POSTs to routes such as /database/structure/add-prefix-table with no token are stripped and redirected to the home route. Affected deployments are those using http or config authentication, where the attacker does not need to defeat a browser-bound session cookie flow; the SQL that runs is bounded by the victim account's database grants.

Know when Phpmyadmin gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulnCheck) PRIMARY 7.7 HIGH
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
vuln.today AI 7.5 HIGH

Network CSRF needs no attacker privileges (PR:N) but mandatory victim interaction (UI:R) and the http/config-auth precondition raise complexity (AC:H); full database read/write/destroy under the victim's rights gives C:H/I:H/A:H.

3.1 AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
4.0 AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
Passive
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
High
Vulnerable system: Availability
High
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

phpMyAdmin through 5.2.3 contains a cross-site request forgery vulnerability that allows remote attackers to execute arbitrary SQL by bypassing CSRF token checks on non-AJAX POST requests. Attackers can lure authenticated victims into submitting cross-site POSTs carrying sql_query to /sql or /database/sql, running SQL with the victim's database privileges under http or config authentication.

Executive ViewAI

Why It Matters

CVE-2026-119426 in phpMyAdmin (up to 5.2.3) enables an authenticated user to be tricked into executing arbitrary SQL on their database with their own privileges, severely threatening data confidentiality, integrity, and availability. While exploitation requires victim interaction and specific authentication configurations, the high potential impact means leadership should prioritize patching and verify that phpMyAdmin is not exposed with weak authentication modes.

Business Impact: High
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.3%
Top 79% exploitable
Prevalence
High
ubiquitous database admin tool across shared hosting and LAMP deployments
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Cross-Site Request Forgery exploits the automatic credential inclusion behavior of web browsers.

CVE-2016-5734 CRITICAL POC
9.8 Jul 03

phpMyAdmin 4.0.x before 4.0.10.16, 4.4.x before 4.4.15.7, and 4.6.x before 4.6.3 does not properly choose delimiters to

CVE-2012-5159 HIGH POC
7.5 Sep 25

phpMyAdmin 3.5.2.2, as distributed by the cdnetworks-kr-1 mirror during an unspecified time frame in 2012, contains an e

CVE-2013-3238 MEDIUM POC
6.0 Apr 26

phpMyAdmin 3.5.x before 3.5.8 and 4.x before 4.0.0-rc3 allows remote authenticated users to execute arbitrary code via a

CVE-2018-12613 HIGH POC
8.8 Jun 21

An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute

CVE-2020-22452 CRITICAL POC
9.8 Jan 26

SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via t

CVE-2020-26935 CRITICAL POC
9.8 Oct 10

An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. Rated critical severity (CV

CVE-2015-6830 MEDIUM POC
5.0 Sep 14

libraries/plugins/auth/AuthenticationCookie.class.php in phpMyAdmin 4.3.x before 4.3.13.2 and 4.4.x before 4.4.14.1 allo

CVE-2020-22278 HIGH POC
8.8 Nov 04

phpMyAdmin through 5.0.2 allows CSV injection via Export Section. Rated high severity (CVSS 8.8), this vulnerability is

CVE-2020-5504 HIGH POC
8.8 Jan 09

In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. Rated high severity (CV

CVE-2018-10188 HIGH POC
8.8 Apr 19

phpMyAdmin 4.8.0 before 4.8.0-1 has CSRF, allowing an attacker to execute arbitrary SQL statements, related to js/db_ope

CVE-2014-9218 MEDIUM POC
5.0 Dec 08

libraries/common.inc.php in phpMyAdmin 4.0.x before 4.0.10.7, 4.1.x before 4.1.14.8, and 4.2.x before 4.2.13.1 allows re

CVE-2012-5469 HIGH POC
7.5 Dec 20

The Portable phpMyAdmin plugin before 1.3.1 for WordPress allows remote attackers to bypass authentication and obtain ph

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy