Skip to content
WatchlistHigh

CVE-2020-5504phpMyAdmin SQL Injection

phpMyAdmin SQL injection in user accounts page

Published May 24, 2022 · Updated Sep 8, 2026 · Also known as BIT-phpmyadmin-2020-5504, DEBIAN-CVE-2020-5504, DLA-2060-1, GHSA-fgj8-93xx-f6g6, UBUNTU-CVE-2020-5504

Key Facts

Patch immediately
  • CVE-2020-5504 is a high-severity vulnerability (CVSS 8.8 v3.1) affecting phpMyAdmin, Debian Linux, Suse Linux Enterprise Server and 3 more products.
  • It is not listed in any known-exploited vulnerabilities catalog. A public exploit is reported by tracking sources, but no code link is listed yet.
  • EPSS estimates a 39% probability of exploitation in the next 30 days.
  • Fixed versions are available, including phpMyAdmin 4:4.0.10-1ubuntu0.1+esm4, phpMyAdmin 4:4.2.12-2+deb8u8, phpMyAdmin 4:4.5.4.1-2ubuntu2.1+esm6.
  • Brandefense priority: patch immediately, because public exploit code exists for a high-severity flaw.

Scores

CVSS v3.1

8.8

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

EPSS (30-day exploit likelihood)

39%

Higher than 98.5% of all scored CVEs

Exploit maturity

Proof of concept

ATLAS score

44/100

Publication score, see How it works

Exploitation Verdict

KEV listed

Not listed

Federal due date

None

No federal due date

Ransomware use

Not reported

Attributed actors

None named

Exploit & Defence Guidance

Exploit maturity

Proof of concept

Public exploit code

1

Proof-of-concept links

In-the-wild evidence

1

Reports of active use

Description

In phpMyAdmin 4 before 4.9.4 and 5 before 5.0.1, SQL injection exists in the user accounts page. A malicious user could inject custom SQL in place of their own username when creating queries to this page. An attacker must have a valid MySQL account to access the server.

Affected Products

49 affected entries in total
ProductAffected versionsFixed in
phpMyAdminPhpmyadmin>= 4.0.04.9.4
Debian LinuxDebian8.0n/a
Suse Linux Enterprise ServerSuse12n/a
phpmyadmin/phpmyadmincomposer>= 5.0.05.0.1
phpMyAdmin-apachesuseSee advisory5.1.1-1.2
1 more affected products in the full CVE brief

Patched Releases

phpMyAdmin

4:4.0.10-1ubuntu0.1+esm4, 4:4.2.12-2+deb8u8, 4:4.5.4.1-2ubuntu2.1+esm6, 4:4.6.6-5ubuntu0.5, 4:4.6.6-5ubuntu0.5+esm1, 4:4.9.4+dfsg1-1, 4:4.9.5+dfsg1-2ubuntu0.1~esm1, 4.9.4, 4.9.4-r0, 5.0.1, 5.0.1-r0, 4.9.4-bp151.3.12.1, 5.1.1-1.2

phpMyAdmin-apache

5.1.1-1.2

phpMyAdmin-lang

5.1.1-1.2

phpmyadmin/phpmyadmin

4.9.4, 5.0.1

Timeline

  1. Publicly disclosed

    May 24, 2022

  2. Last updated

    Sep 8, 2026

Weakness Type

  • CWE-89 Improper Neutralization of Special Elements used in an SQL Command ('SQL Injection')

References

15 more references in the full CVE brief

FAQ

Common Questions.

Is CVE-2020-5504 On Your Attack Surface?

Brandefense matches it against the products discovered on your perimeter and opens a finding the day a CVE like this is listed.

Request A Demo

Figures as of Oct 19, 2026. Compiled by Brandefense technologies from public vulnerability catalogs; scoring as described in How it works.

To report an error, contact Brandefense.