cve.bz

CVE-2020-26935 SQL Injection

9.8 criticalExploit referenceEPSS 64%Fix available

Critical (9.8). EPSS 64% estimated probability of exploitation activity in the next 30 days. Fixed in phpmyadmin/phpmyadmin 4.9.6, 5.0.3.

On this page
An issue was discovered in SearchController in phpMyAdmin before 4.9.6 and 5.x before 5.0.3. A SQL injection vulnerability was discovered in how phpMyAdmin processes SQL statements in the search feature. An attacker could use this flaw to inject malicious SQL in to a query.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
64% (unchanged from 64% a week ago; 66% 30 days ago) estimated probability of exploitation activity in the next 30 days; 99th percentile. Scored 2026-11-21. A forecast for this CVE across the internet, not for your own systems.
CWE
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed, since modified
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2020-26935 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2020-26935?via=ask-ai-copy and https://cve.bz/cve/CVE-2020-26935?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2020-26935 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
phpmyadmin:phpmyadminfrom 4.9.0 before 4.9.6
phpmyadmin:phpmyadminfrom 5.0.0 before 5.0.3
opensuse:backports_sle15.0
opensuse:backports_sle15.0:sp1
opensuse:backports_sle15.0:sp2
opensuse:leap15.1
opensuse:leap15.2
fedoraproject:fedora31
fedoraproject:fedora32
fedoraproject:fedora33
debian:debian_linux9.0

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-7ff4-cv53-4cjqPackagistphpmyadmin/phpmyadmin>=4.9.0 <4.9.64.9.6
GHSA-7ff4-cv53-4cjqPackagistphpmyadmin/phpmyadmin>=5.0.0 <5.0.35.0.3

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian9phpmyadmin4:4.6.6-4+deb9u2DLA-2413-1
Debian12, 13, 14phpmyadmin4:4.9.7+dfsg1-1DEBIAN-CVE-2020-26935
Ubuntu18.04:LTSphpmyadmin4:4.6.6-5ubuntu0.5UBUNTU-CVE-2020-26935 USN-4639-1
UbuntuPro:14.04:LTSphpmyadmin4:4.0.10-1ubuntu0.1+esm4USN-4843-1
UbuntuPro:16.04:LTSphpmyadmin4:4.5.4.1-2ubuntu2.1+esm6USN-4843-1
UbuntuPro:18.04:LTSphpmyadmin4:4.6.6-5ubuntu0.5+esm1USN-4843-1
UbuntuPro:20.04:LTSphpmyadmin4:4.9.5+dfsg1-2ubuntu0.1~esm1UBUNTU-CVE-2020-26935 USN-4843-1
SUSEPackage Hub 12, Package Hub 15, Package Hub 15 SP1phpMyAdmin4.9.7-bp151.3.24.1openSUSE-SU-2020:1806-1
SUSEPackage Hub 12, Package Hub 15 SP1, Package Hub 15 SP2phpMyAdmin4.9.6-bp152.2.3.1openSUSE-SU-2020:1675-1
openSUSELeap 15.1phpMyAdmin4.9.7-bp151.3.24.1openSUSE-SU-2020:1806-1
openSUSELeap 15.1, Leap 15.2phpMyAdmin4.9.6-bp152.2.3.1openSUSE-SU-2020:1675-1
openSUSETumbleweedphpMyAdmin5.1.1-1.2openSUSE-SU-2024:11171-1

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0; SUSE security data, CC BY 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu · SUSE · openSUSE.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

Attack patterns (CAPEC)

  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON