# phpMyAdmin vulnerable to static code injection

Advisory record · `GHSA-p6h7-29r2-g88f`

- **Identifiers:** `GHSA-p6h7-29r2-g88f` · `CVE-2011-2506` · `PKSA-2wwn-q2b1-n51c`
- **State:** Confirmed
- **Severity:** No CVSS score
- **Critical:** No
- **Weakness (CWE):** [CWE-94](https://cwe.mitre.org/data/definitions/94.html)
- **Tags:** [Code injection](https://agentprime.io/advisories/tag/code-injection.md)
- **Published:** 14 May 2022
- **Updated:** 15 Jan 2024
- **Reviewed by a person:** No

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

## Affected packages

- `phpmyadmin/phpmyadmin` (Packagist): affected `>=3.0, <3.3.10.2 || >=3.4, <3.4.3.1`; fixed in `3.3.10.2`, `3.4.3.1`

## Machine-written summary

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

> phpMyAdmin versions 3.x before 3.3.10.2 and 3.4.x before 3.4.3.1 are vulnerable. The setup configuration generator does not properly restrict comment closing delimiters, so a remote attacker who can modify the SESSION superglobal array can inject static code. Upgrade to 3.3.10.2 or 3.4.3.1, depending on the release branch in use.

Written 5 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

No source has published a CVSS score for this record yet.

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

## Timeline

- 31 Oct 2026, 14:32 UTC: First seen by agentprime
- 31 Oct 2026, 14:32 UTC: [Confirmed by OSV](https://osv.dev/vulnerability/GHSA-p6h7-29r2-g88f)

## Sources

- [GitHub Advisory Database: GHSA-p6h7-29r2-g88f](https://github.com/advisories/GHSA-p6h7-29r2-g88f)
- [OSV: GHSA-p6h7-29r2-g88f](https://osv.dev/vulnerability/GHSA-p6h7-29r2-g88f)
- <https://nvd.nist.gov/vuln/detail/CVE-2011-2506>
- <https://github.com/phpmyadmin/phpmyadmin/commit/0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f>
- <https://github.com/phpmyadmin/phpmyadmin/commit/2e01647949df937040e73a94ce0bac0daecbdcf4>
- <https://github.com/phpmyadmin/composer>
- <https://web.archive.org/web/20110712103138/http://www.xxor.se/advisories/phpMyAdmin_3.x_Multiple_Remote_Code_Executions.txt>
- <https://web.archive.org/web/20111116172111/http://www.securityfocus.com/archive/1/518804/100/0/threaded>
- <https://web.archive.org/web/20121105034518/http://www.mandriva.com/en/support/security/advisories?name=MDVSA-2011:124>
- <http://ha.xxor.se/2011/07/phpmyadmin-3x-multiple-remote-code.html>
- <http://lists.fedoraproject.org/pipermail/package-announce/2011-July/062719.html>
- <http://phpmyadmin.git.sourceforge.net/git/gitweb.cgi?p=phpmyadmin/phpmyadmin;a=commit;h=0fbedaf5fd7a771d0885c6b7385d934fc90d0d7f>
- <http://securityreason.com/securityalert/8306>
- <http://typo3.org/teams/security/security-bulletins/typo3-sa-2011-008>

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-p6h7-29r2-g88f>, or `POST https://api.agentprime.io/v1/match` with your packages (<https://agentprime.io/api.md>)

---

The web page: <https://agentprime.io/advisories/GHSA-p6h7-29r2-g88f/>. Everything for agents: <https://agentprime.io/llms.txt>.
