Description
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.
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | phpmyadmin | 4:4.9.7+dfsg1-1 | — |
| Debian 13 | phpmyadmin | 4:4.9.7+dfsg1-1 | — |
| Debian 12 | phpmyadmin | 4:4.9.7+dfsg1-1 | — |
| Debian 9 | phpmyadmin | 4:4.6.6-4+deb9u2 | DLA-2413-1 |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 18.04 LTS | phpmyadmin | 4:4.6.6-5ubuntu0.5 | USN-4639-1 |
Show 4 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu Pro 20.04 LTS | phpmyadmin | 4:4.9.5+dfsg1-2ubuntu0.1~esm1 | USN-4843-1 |
| Ubuntu Pro 18.04 LTS | phpmyadmin | 4:4.6.6-5ubuntu0.5+esm1 | USN-4843-1 |
| Ubuntu Pro 16.04 LTS | phpmyadmin | 4:4.5.4.1-2ubuntu2.1+esm6 | USN-4843-1 |
| Ubuntu Pro 14.04 LTS | phpmyadmin | 4:4.0.10-1ubuntu0.1+esm4 | USN-4843-1 |
SUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 15 SP2 | phpMyAdmin | 4.9.6-bp152.2.3.1 | openSUSE-SU-2020:1675-1 |
| SUSE Package Hub 15 SP1 | phpMyAdmin | 4.9.6-bp152.2.3.1 | openSUSE-SU-2020:1806-1, openSUSE-SU-2020:1675-1 |
| SUSE Package Hub 15 | phpMyAdmin | 4.9.7-bp151.3.24.1 | openSUSE-SU-2020:1806-1 |
Show 1 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| SUSE Package Hub 12 | phpMyAdmin | 4.9.6-bp152.2.3.1 | openSUSE-SU-2020:1806-1, openSUSE-SU-2020:1675-1 |
openSUSE
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| openSUSE Tumbleweed | phpMyAdmin | 5.1.1-1.2 | openSUSE-SU-2024:11171-1 |
| openSUSE Leap 15.2 | phpMyAdmin | 4.9.6-bp152.2.3.1 | openSUSE-SU-2020:1675-1 |
| openSUSE Leap 15.1 | phpMyAdmin | 4.9.6-bp152.2.3.1 | openSUSE-SU-2020:1806-1, openSUSE-SU-2020:1675-1 |
Automated scanner template
A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.
- phpMyAdmin < 5.0.3 - SQL Injection http/cves/2020/CVE-2020-26935.yaml
Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.9.0, < 4.9.6 | 4.9.6 | GHSA-7ff4-cv53-4cjq |
| Packagist | phpmyadmin/phpmyadmin | >= 5.0.0, < 5.0.3 | 5.0.3 | GHSA-7ff4-cv53-4cjq |
Advisories 6
- USN-4843-1 phpmyadmin vulnerabilities Ubuntu Security Notices (USN) · Jun 29, 2026
- USN-4639-1 phpmyadmin vulnerabilities Ubuntu Security Notices (USN) · Apr 27, 2026
- DLA-2413-1 phpmyadmin - security update Debian Security (DSA / DLA) · Mar 9, 2026
- openSUSE-SU-2020:1806-1 Security update for phpMyAdmin SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2020:1675-1 Security update for phpMyAdmin SUSE / openSUSE Security Updates · Feb 4, 2026
- openSUSE-SU-2024:11171-1 phpMyAdmin-5.1.1-1.2 on GA media SUSE / openSUSE Security Updates · May 7, 2025
References
- https://www.phpmyadmin.net/security/PMASA-2020-6/
- openSUSE-SU-2020:1675 vendor-advisory
- FEDORA-2020-4e78c86902 vendor-advisory
- FEDORA-2020-eadda524a8 vendor-advisory
- FEDORA-2020-43d8624421 vendor-advisory
- [debian-lts-announce] 20201025 [SECURITY] [DLA 2413-1] phpmyadmin security update mailing-list
- openSUSE-SU-2020:1806 vendor-advisory
- GLSA-202101-35 vendor-advisory
- https://advisory.checkmarx.net/advisory/CX-2020-4281