# phpMyAdmin SQL injection vulnerability

Advisory record · `GHSA-f4cr-3xmc-2wpm`

- **Identifiers:** `GHSA-f4cr-3xmc-2wpm` · `BIT-phpmyadmin-2020-10802` · `CVE-2020-10802` · `PKSA-s3cf-xyqh-q5wn`
- **State:** Confirmed
- **Severity:** CVSS 8.0 High
- **Critical:** No
- **Weakness (CWE):** [CWE-89](https://cwe.mitre.org/data/definitions/89.html)
- **Tags:** [SQL injection](https://agentprime.io/advisories/tag/sql-injection.md)
- **Published:** 24 May 2022
- **Updated:** 24 Apr 2024
- **Reviewed by a person:** No

Published by the GitHub Advisory Database at 24 May 2022, 17:12 UTC. agentprime has not analysed this yet, so whether it affects any app is not known.

## Affected packages

- `phpmyadmin/phpmyadmin` (Packagist): affected `>=4.9.0, <4.9.5 || >=5.0.0, <5.0.2`; fixed in `4.9.5`, `5.0.2`

## Machine-written summary

Summary written by Claude Haiku from the source advisory. Not reviewed by a person.

> phpMyAdmin versions 4.9.0 through before 4.9.5 and 5.0.0 through before 5.0.2 are vulnerable to SQL injection in the table search functionality. An attacker who can create a crafted database or table name can exploit this when a user runs certain search operations on that database or table. Upgrade to phpMyAdmin 4.9.5 or 5.0.2.

Written 4 Nov 2026.

## Not analysed yet

We haven’t published our analysis of this Advisory yet. Once a person has reviewed it, this page will say what’s vulnerable, what has to be true for your app to be affected, and how to check.

## Severity and exploitation

- 8.0 High, CVSS 3.1: `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H`, from GitHub Advisory Database

- **CISA KEV:** Not listed.
- **EPSS:** 0.018, the 79th percentile, on 22 Nov 2026: FIRST’s estimate of the chance of exploitation in the next 30 days.

## Timeline

- 31 Oct 2026, 14:30 UTC: First seen by agentprime
- 31 Oct 2026, 14:30 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-f4cr-3xmc-2wpm)

## Sources

- [GitHub Advisory Database: GHSA-f4cr-3xmc-2wpm](https://github.com/advisories/GHSA-f4cr-3xmc-2wpm)
- [OSV: GHSA-f4cr-3xmc-2wpm](https://osv.dev/vulnerability/GHSA-f4cr-3xmc-2wpm)
- <https://nvd.nist.gov/vuln/detail/CVE-2020-10802>
- <https://github.com/FriendsOfPHP/security-advisories/blob/master/phpmyadmin/phpmyadmin/CVE-2020-10802.yaml>
- <https://github.com/phpmyadmin/composer>
- <https://lists.debian.org/debian-lts-announce/2020/03/msg00028.html>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/AAVW3SUKWR5RF5LZ6SARCYOWBIFUIWOJ>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/BUG3IRITW2LUBGR5LSQMP7MVRTELHZJK>
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/UZI6EQVRRIG252DY3MBT33BJVCSYDMQO>
- <https://www.phpmyadmin.net/security/PMASA-2020-3>
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00046.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-03/msg00050.html>
- <http://lists.opensuse.org/opensuse-security-announce/2020-11/msg00005.html>

Facts on this page come from the GitHub Advisory Database (CC-BY 4.0), OSV and the other sources listed, as published. We don’t reproduce full advisory descriptions, which can contain exploit code.

## Check whether this affects you

A Match means an installed version is in the affected range above. Most don’t affect the app; agentprime hasn’t analysed this one yet.

- With the agentprime MCP server (<https://api.agentprime.io/mcp>), ask your agent to check the project: `check_lockfile` sends a lockfile, `check_packages` a list of installed packages, and both return the Matches and the upgrades that clear them. `get_advisory` returns this record. Setup: <https://agentprime.io/mcp.md>
- In a browser: <https://agentprime.io/check/> reads your lockfile in the browser, never uploading it.
- Whether it touches your code, with file and line: the Claude Code plugin, <https://agentprime.io/plugin.md>
- As JSON: <https://api.agentprime.io/v1/advisories/GHSA-f4cr-3xmc-2wpm>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-f4cr-3xmc-2wpm/>. Everything for agents: <https://agentprime.io/llms.txt>.
