VulnarioBlogphpMyAdmin vulnerabilities

phpMyAdmin Vulnerabilities: The 10 Most Critical phpMyAdmin Security Bugs (CVEs)

phpMyAdmin vulnerabilities are security flaws in phpMyAdmin that attackers can abuse to steal data, take over a server or interrupt a service. phpMyAdmin is a web interface for managing MySQL and MariaDB databases. The National Vulnerability Database (NVD) lists 277 CVEs for phpMyAdmin, 15 of them rated critical, and 7 were published in the last 12 months. CISA lists 1 of them in its Known Exploited Vulnerabilities (KEV) catalog, which means attackers have used them against real systems.

This guide lists the 10 most critical phpMyAdmin security bugs, with the CVE number, CVSS score, affected versions and what to do about each one. It also covers phpMyAdmin security basics and a free way to be told about the next phpMyAdmin CVE as soon as it is published.

Key takeaways

  • 1 CVE is in CISA's KEV catalog, so attackers have exploited it in the wild.
  • 15 phpMyAdmin CVEs are rated critical (CVSS v3), and 7 new ones were published in the last 12 months.
  • The newest CVE in this guide is CVE-2020-22452, published Jan 26, 2023.
  • You can monitor phpMyAdmin for free. Vulnario emails you when a new CVE matches your version and the rest of your stack.

How we ranked these phpMyAdmin CVEs

We ranked CVEs first by whether CISA lists them as exploited, then by CVSS score (v3 scores before the older v2 scale, which is marked when used), then by publication date (newest first). When a technology has several product entries in NVD, we combined them and removed duplicates. This favors the bugs that matter most in practice, so the guide is a list of the most critical flaws we found, not a complete history.

Every CVE number, score, date and affected version below comes from the NVD record and the CISA KEV catalog, checked on Nov 3, 2026. Scores can change when NVD reanalyzes a record, so open the linked record if you need the current value.

The 10 most critical phpMyAdmin CVEs at a glance

Most critical phpMyAdmin vulnerabilities (data from NVD and CISA KEV)
#CVECVSSPublishedTypeCISA KEV
1CVE-2009-11519.8 Critical2009-03-26phpMyAdmin Remote Code ExecutionYes
2CVE-2020-224529.8 Critical2023-01-26SQL injectionNo
3CVE-2020-269359.8 Critical2020-10-10SQL injectionNo
4CVE-2019-196179.8 Critical2019-12-06Critical security flawNo
5CVE-2019-186229.8 Critical2019-11-22SQL injectionNo
6CVE-2019-117689.8 Critical2019-06-05SQL injectionNo
7CVE-2019-67989.8 Critical2019-01-26SQL injectionNo
8CVE-2017-182649.8 Critical2018-05-01Critical security flawNo
9CVE-2016-66209.8 Critical2016-12-11Insecure deserializationNo
10CVE-2016-66299.8 Critical2016-12-11Critical security flawNo

Each phpMyAdmin CVE explained

1. CVE-2009-1151: phpMyAdmin Remote Code Execution

  • CVSS 9.8 Critical
  • In CISA KEV (added 2022-03-25)
  • Published 2009-03-26
  • CWE-94
What NVD says
Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to inject arbitrary PHP code into a configuration file via the save action.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
2.11.0 to before 2.11.9.5; 3.0.0 to before 3.1.3.1
What to do
Upgrade to the fixed release for your branch (2.11.9.5, 3.1.3.1) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2009-1151 (opens in a new tab)

2. CVE-2020-22452: SQL injection

  • CVSS 9.8 Critical
  • Published 2023-01-26
  • CWE-89
What NVD says
SQL Injection vulnerability in function getTableCreationQuery in CreateAddField.php in phpMyAdmin 5.x before 5.2.0 via the tbl_storage_engine or tbl_collation parameters to tbl_create.php.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
5.0.0 to before 5.2.0
What to do
Upgrade to 5.2.0 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2020-22452 (opens in a new tab)

3. CVE-2020-26935: SQL injection

  • CVSS 9.8 Critical
  • Published 2020-10-10
  • CWE-89
What NVD says
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.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
4.9.0 to before 4.9.6; 5.0.0 to before 5.0.3
What to do
Upgrade to the fixed release for your branch (4.9.6, 5.0.3) or a later one, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2020-26935 (opens in a new tab)

4. CVE-2019-19617: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2019-12-06
What NVD says
phpMyAdmin before 4.9.2 does not escape certain Git information, related to libraries/classes/Display/GitRevision.php and libraries/classes/Footer.php.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 4.9.2
What to do
Upgrade to 4.9.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-19617 (opens in a new tab)

5. CVE-2019-18622: SQL injection

  • CVSS 9.8 Critical
  • Published 2019-11-22
  • CWE-89
What NVD says
An issue was discovered in phpMyAdmin before 4.9.2. A crafted database/table name can be used to trigger a SQL injection attack through the designer feature.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 4.9.2
What to do
Upgrade to 4.9.2 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-18622 (opens in a new tab)

6. CVE-2019-11768: SQL injection

  • CVSS 9.8 Critical
  • Published 2019-06-05
  • CWE-89
What NVD says
An issue was discovered in phpMyAdmin before 4.9.0.1. A vulnerability was reported where a specially crafted database name can be used to trigger an SQL injection attack through the designer feature.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
before 4.9.0.1
What to do
Upgrade to 4.9.0.1 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2019-11768 (opens in a new tab)

7. CVE-2019-6798: SQL injection

  • CVSS 9.8 Critical
  • Published 2019-01-26
  • CWE-89
What NVD says
An issue was discovered in phpMyAdmin before 4.8.5. A vulnerability was reported where a specially crafted username can be used to trigger a SQL injection attack through the designer feature.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
4.5.0 through 4.8.4
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2019-6798 (opens in a new tab)

8. CVE-2017-18264: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2018-05-01
What NVD says
An issue was discovered in libraries/common.inc.php in phpMyAdmin 4.0 before 4.0.10.20, 4.4.x, 4.6.x, and 4.7.0 prereleases. The restrictions caused by $cfg['Servers'][$i]['AllowNoPassword'] = false are bypassed under certain PHP versions (e.g., version 5).
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
4.0.0 to before 4.0.10.20; 4.4.0 through 4.4.15.10; 4.6.0 through 4.6.6; 4.7.0
What to do
Upgrade to 4.0.10.20 or a later release, then restart the service.
Advisory
Vendor advisory or patch (opens in a new tab)

NVD record for CVE-2017-18264 (opens in a new tab)

9. CVE-2016-6620: Insecure deserialization

  • CVSS 9.8 Critical
  • Published 2016-12-11
  • CWE-502
What NVD says
An issue was discovered in phpMyAdmin. Some data is passed to the PHP unserialize() function without verification that it's valid serialized data. The unserialization can result in code execution because of the interaction with object instantiation and autoloading. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
4.6.0; 4.6.1; 4.6.2; 4.6.3
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2016-6620 (opens in a new tab)

10. CVE-2016-6629: Critical security flaw

  • CVSS 9.8 Critical
  • Published 2016-12-11
  • CWE-254
What NVD says
An issue was discovered in phpMyAdmin involving the $cfg['ArbitraryServerRegexp'] configuration directive. An attacker could reuse certain cookie values in a way of bypassing the servers defined by ArbitraryServerRegexp. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.
How it can be attacked
Can be exploited remotely over the network with low attack complexity, needing no privileges and no user interaction. It has high impact on confidentiality, integrity and availability.
Affected versions
4.6.0; 4.6.1; 4.6.2; 4.6.3
What to do
Apply the vendor's security update for your release and restart the service. See the vendor advisory (opens in a new tab).

NVD record for CVE-2016-6629 (opens in a new tab)

phpMyAdmin security checklist

  1. Do not leave the tool reachable by everyone: allow only trusted IP addresses or a VPN.
  2. Add an extra login layer in front of it, such as HTTP authentication or single sign-on.
  3. Keep it updated, because attackers scan for old versions of popular admin tools.
  4. Remove it from servers where it is no longer needed.

Where you run phpMyAdmin matters as much as how you patch it. Whether your site lives on a VPS, a dedicated server or shared hosting (opens in a new tab), check who is responsible for updating phpMyAdmin: on most plans the operating system and applications are yours to patch unless the plan says otherwise.

Your stack is bigger than phpMyAdmin. A flaw anywhere in the chain can be the way in, so also review our guides to MySQL vulnerabilities, MariaDB vulnerabilities and PHP vulnerabilities.

How to get alerted about new phpMyAdmin vulnerabilities

NVD received 7 new phpMyAdmin CVEs in the last twelve months, and critical ones can be exploited within days. Reading advisories by hand is easy to forget, so most teams automate it. You have three practical options:

  • Follow the vendor's announcements and your distribution's security list. They are accurate but cover only one product and you read them manually.
  • Query the NVD feed yourself. It is complete and needs scripting, filtering and a mail or chat integration to maintain.
  • Use a stack-based alert service. You pick your technologies once and receive an email when a matching CVE appears.

Vulnario is the third option, and it is free to start. It scans the National Vulnerability Database, the CISA KEV catalog and GitHub Security Advisories every hour. You choose phpMyAdmin and the rest of your stack, confirm your email with a code, and the alerts begin. Each email includes the CVE number, the CVSS score, a marker when CISA lists the flaw as actively exploited, the attack vector, a patch or advisory link and a suggested time frame to fix it.

  • Free: all technologies, alerts grouped at most every 12 hours.
  • Pro ($29/month): alerts are sent on the next hourly scan, so you hear about a new CVE up to 12 hours earlier.

Few stacks run phpMyAdmin alone. These guides cover the technologies it is most often deployed with.

Frequently asked questions about phpMyAdmin vulnerabilities

What are the most critical phpMyAdmin vulnerabilities?

Based on NVD scores and CISA's exploited-vulnerability catalog, the most critical phpMyAdmin CVEs include CVE-2009-1151 (CVSS 9.8), CVE-2020-22452 (CVSS 9.8), CVE-2020-26935 (CVSS 9.8). The guide above ranks the 10 most critical with affected versions and fixes.

Have phpMyAdmin vulnerabilities been exploited in real attacks?

Yes. CISA's Known Exploited Vulnerabilities (KEV) catalog lists 1 phpMyAdmin CVE, including CVE-2009-1151. Treat these as the highest priority to patch.

How many vulnerabilities does phpMyAdmin have?

As of Nov 3, 2026 the National Vulnerability Database lists 277 CVEs for phpMyAdmin, with 15 rated critical by CVSS v3. 7 were published in the previous twelve months.

How can I get alerted when a new phpMyAdmin CVE is published?

Add phpMyAdmin to a service that watches the National Vulnerability Database, CISA KEV and GitHub Security Advisories. Vulnario does this for free: choose phpMyAdmin and the rest of your stack, verify your email, and you receive an alert when a new CVE matches. Free alerts are grouped at most every 12 hours, and Pro sends them on the next hourly scan.

Is phpMyAdmin secure?

phpMyAdmin is as secure as its patch level. NVD published 7 new phpMyAdmin CVEs in the last twelve months, so running a current, supported release and applying security updates promptly is the most effective protection.

What is CVE-2009-1151?

CVE-2009-1151 is a critical phpMyAdmin vulnerability with a CVSS score of 9.8, published Mar 26, 2009. Static code injection vulnerability in setup.php in phpMyAdmin 2.11.x before 2.11.9.5 and 3.x before 3.1.3.1 allows remote attackers to inject arbitrary PHP code into a configuration file via the save action.

Sources

This article is informational and not a substitute for your own risk assessment. CVSS scores and affected versions may change when NVD updates a record.