Home / Phpmyadmin / Phpmyadmin / CVE-2020-10804
CVE-2020-10804: is it exploited, and which versions of Phpmyadmin are affected and fixed?
CVE-2020-10804 is a SQL injection vulnerability in Phpmyadmin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: phpmyadmin/phpmyadmin from 4.9.0 before 4.9.5 and phpmyadmin/phpmyadmin from 5.0.0 before 5.0.2 (GitHub advisory GHSA-h65r-8fp8-w7cx). Fixed in 4.9.5 and 5.0.2 (GitHub advisory GHSA-h65r-8fp8-w7cx). Severity: High (8.0, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:16 UTC and NVD November 19, 2026, 08:12 UTC.
What is CVE-2020-10804?
In phpMyAdmin 4.x before 4.9.5 and 5.x before 5.0.2, a SQL injection vulnerability was found in retrieval of the current username (in libraries/classes/Server/Privileges.php and libraries/classes/UserPassword.php). A malicious user with access to the server could create a crafted username, and then trick the victim into performing specific actions with that user account (such as editing its privileges).
From the CVE record by mitre, last updated August 4, 2024, 11:14 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.9.0, < 4.9.5 | 4.9.5 | GHSA-h65r-8fp8-w7cx |
| Packagist | phpmyadmin/phpmyadmin | >= 5.0.0, < 5.0.2 | 5.0.2 | GHSA-h65r-8fp8-w7cx |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 24, 2024. Summary: phpMyAdmin SQL Injection.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| phpmyadmin | phpmyadmin | from 4.0.0 before 4.9.5 | application |
| phpmyadmin | phpmyadmin | from 5.0.0 before 5.0.2 | application |
| fedoraproject | fedora | 30 | operating system |
| fedoraproject | fedora | 31 | operating system |
| fedoraproject | fedora | 32 | operating system |
| opensuse | backports sle | 15.0 | application |
| opensuse | leap | 15.1 | operating system |
| suse | package hub | all versions | application |
NVD analysis (status Modified), last modified June 17, 2026, 02:48 UTC.
How severe is CVE-2020-10804?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.0 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H | NVD |
| Medium 6.0 | CVSS 2.0 | AV:N/AC:M/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2020-10804 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 2.35% probability of exploitation activity in the next 30 days, percentile 84.3 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-89 Improper Neutralization of Special Elements used in an SQL Command
Where are the vendor advisories and references?
- https://www.phpmyadmin.net/security/PMASA-2020-2/ x_refsource_MISC
- openSUSE-SU-2020:0405 vendor-advisory, x_refsource_SUSE
- openSUSE-SU-2020:0427 vendor-advisory, x_refsource_SUSE
- FEDORA-2020-d7b0a5a84a vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-25f3aea389 vendor-advisory, x_refsource_FEDORA
- FEDORA-2020-e60ce63865 vendor-advisory, x_refsource_FEDORA
- openSUSE-SU-2020:1806 vendor-advisory, x_refsource_SUSE
When was it published, and where is the official record?
- Reserved
- March 22, 2020
- Published
- March 22, 2020, 03:47 UTC
- CVE record updated
- August 4, 2024, 11:14 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 02:48 UTC
- Last checked
- CVE list November 19, 2026, 07:16 UTC; NVD November 19, 2026, 08:12 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Phpmyadmin?
- Mar 26, 2009CVE-2009-1151 Phpmyadmin: code injection (remote code execution) exploited
- Oct 30, 2026CVE-2026-119563 phpMyAdmin: cross-site scripting (XSS)
- Oct 30, 2026CVE-2026-119562 phpMyAdmin: SQL injection
- Oct 30, 2026CVE-2026-119561 phpMyAdmin: cryptographic signature not verified
- Oct 30, 2026CVE-2026-119429 phpMyAdmin: unverified Password Change
- Oct 30, 2026CVE-2026-119428 phpMyAdmin: server-side request forgery (SSRF)
- Oct 30, 2026CVE-2026-119427 phpMyAdmin: SQL injection
- Oct 30, 2026CVE-2026-119426 phpMyAdmin: cross-site request forgery (CSRF)
Questions about CVE-2020-10804
Is CVE-2020-10804 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 2.35% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of Phpmyadmin are affected by CVE-2020-10804?
phpmyadmin/phpmyadmin from 4.9.0 before 4.9.5 and phpmyadmin/phpmyadmin from 5.0.0 before 5.0.2, per the GitHub advisory GHSA-h65r-8fp8-w7cx. The tables above give every range the sources list.
Which version fixes CVE-2020-10804?
4.9.5 and 5.0.2, per the GitHub advisory GHSA-h65r-8fp8-w7cx. Check the vendor's advisory before you rely on it.
How severe is CVE-2020-10804?
High (8.0, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2020-10804?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.