Code injectionin phpMyAdmin.
On CISAThe US cyber defence agency. Its list names every hole it has seen used in real attacks.'s exploited list since 25 Mar 2022.
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.
CISA: Setup script used to generate configuration can be fooled using a crafted POST request to include arbitrary PHP code in generated configuration file.
- CISA requires US federal agencies to fix it by 15 Apr 2022.
Not confirmed by any source yet: affected versions not confirmed; fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 24 Mar 2009Metasploit module: phpMyAdmin Config File Code Injection.
- 26 Mar 2009CVE ID reserved by mitre.
- 26 Mar 2009Published in the CVE List.
- 3 Feb 2018First public proof of concept on GitHub.
- 25 Mar 2022Added to CISA's Known Exploited Vulnerabilities list.
- 22 Oct 2025CVE record last updated.
Attack code anyone can find
Exploit maturity: Exploited in the wild (CISA KEV). CISA assessment (SSVC): exploitation active.
2 proof of concept repositories on GitHub. No fix or workaround is known yet, so we count them but do not link to them.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other phpMyAdmin vulnerabilities
Same weakness: Code injection
- www.phpmyadmin.net x_refsource_CONFIRM
- security.gentoo.org vendor-advisory, x_refsource_GENTOO
- secunia.com third-party-advisory, x_refsource_SECUNIA
- www.gnucitizen.org x_refsource_MISC
- www.securityfocus.com mailing-list, x_refsource_BUGTRAQ
- www.debian.org vendor-advisory, x_refsource_DEBIAN
- lists.opensuse.org vendor-advisory, x_refsource_SUSE
- www.mandriva.com vendor-advisory, x_refsource_MANDRIVA
- www.securityfocus.com vdb-entry, x_refsource_BID
- secunia.com third-party-advisory, x_refsource_SECUNIA
- secunia.com third-party-advisory, x_refsource_SECUNIA
- phpmyadmin.svn.sourceforge.net x_refsource_CONFIRM
- secunia.com third-party-advisory, x_refsource_SECUNIA
- labs.neohapsis.com x_refsource_MISC
- www.cisa.gov government-resource
Patchminder. CVE-2009-1151: Code injection in phpMyAdmin. https://patchminder.com/cve/cve-2009-1151/ (accessed 5 December 2026).