Skip to content
Threat Feed
high advisory

phpMyAdmin: Cross-Site Request Forgery via non-AJAX POST (CVE-2026-119426)

phpMyAdmin versions up to 5.2.3 are susceptible to a CSRF vulnerability allowing remote attackers to execute arbitrary SQL queries by tricking authenticated users into submitting malicious non-AJAX POST requests.

CVE search metadata

CVE search record: CVE-2026-119426. Severity: high. CVSS: 7.5. KEV: no. Product: phpMyAdmin (<= 5.2.3). Brief: phpMyAdmin: Cross-Site Request Forgery via non-AJAX POST (CVE-2026-119426). Brief link: https://feed.craftedsignal.io/briefs/2026-10-phpmyadmin-csrf/

Triage facts

Revision 1
Applicability
phpMyAdmin (<= 5.2.3)
Evidence
Unknown
Severity
High
Action
Elevated
Sources
1 public source
Freshness
Revision 1Oct 30, 13:29 UTC
Vulnerabilities
1 CVE
Source quality
A1Likely

phpMyAdmin versions through 5.2.3 are vulnerable to a cross-site request forgery (CSRF) flaw that stems from the improper validation of CSRF tokens during non-AJAX POST requests. When using http or config authentication, an attacker can craft a malicious cross-site POST request targeting the /sql or /database/sql endpoints. If an authenticated user interacts with this request, the attacker can execute arbitrary SQL commands with the victim's database privileges.

Impact

Successful exploitation allows for the execution of arbitrary SQL commands on the database server using the privileges of the victimized user. This could lead to unauthorized data exposure, modification, or deletion, depending on the victim's database permissions.

Recommendation

  • Upgrade phpMyAdmin to a patched version beyond 5.2.3 as soon as one is released.
  • Implement strict SameSite cookie attributes (e.g., SameSite=Strict or SameSite=Lax) on the web server hosting phpMyAdmin to mitigate CSRF risks.
  • Advise administrators and users to avoid browsing untrusted websites while authenticated to sensitive database administration interfaces.
  • Monitor web access logs for suspicious POST requests to /sql or /database/sql originating from unexpected Referer or Origin headers.

Immediate actions

Review web server logs for high volumes of POST requests to /sql or /database/sql without corresponding AJAX headers or legitimate referrers.

SOC 48h

Threat Hunt

Identify internal users accessing phpMyAdmin and perform baselining of POST requests to database endpoints.

T1566 medium medium confidence hunt now

Data: Web server access logs

Mitigations

Upgrade phpMyAdmin to the latest secure version once available.

immediate IT Operations

CVE-2026-119426