Home / Phpmyadmin / Phpmyadmin / CVE-2018-12613
CVE-2018-12613: is it exploited, and which versions of Phpmyadmin are affected and fixed?
CVE-2018-12613 is an authentication bypass (improper authentication) vulnerability in Phpmyadmin. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 09:38 UTC). Affected: phpmyadmin/phpmyadmin from 4.8 before 4.8.2 (GitHub advisory GHSA-x394-g9j8-x7mf). Fixed in 4.8.2 (GitHub advisory GHSA-x394-g9j8-x7mf). Severity: High (8.8, CVSS 3.1, from NVD).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 09:38 UTC, CVE record November 19, 2026, 07:17 UTC and NVD November 19, 2026, 08:31 UTC.
What is CVE-2018-12613?
An issue was discovered in phpMyAdmin 4.8.x before 4.8.2, in which an attacker can include (view and potentially execute) files on the server. The vulnerability comes from a portion of code where pages are redirected and loaded within phpMyAdmin, and an improper test for whitelisted pages. An attacker must be authenticated, except in the "$cfg['AllowArbitraryServer'] = true" case (where an attacker can specify any host he/she is already in control of, and execute arbitrary code on phpMyAdmin) and the "$cfg['ServerDefault'] = 0" case (which bypasses the login requirement and runs the vulnerable code without any authentication).
From the CVE record by mitre, last updated August 5, 2024, 08:38 UTC.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| Packagist | phpmyadmin/phpmyadmin | >= 4.8, < 4.8.2 | 4.8.2 | GHSA-x394-g9j8-x7mf |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated April 24, 2024. Summary: phpMyAdmin Improper Authentication.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| phpmyadmin | phpmyadmin | from 4.8.0 before 4.8.2 | application |
NVD analysis (status Modified), last modified June 17, 2026, 01:38 UTC.
How severe is CVE-2018-12613?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.8 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H | NVD |
| Medium 6.5 | CVSS 2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2018-12613 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- EPSS
- 98.3% probability of exploitation activity in the next 30 days, percentile 99.9 (FIRST EPSS, scores of December 2, 2026)
What kind of flaw is it?
- CWE-287 Improper Authentication
Where are the vendor advisories and references?
- https://www.phpmyadmin.net/security/PMASA-2018-4/ x_refsource_CONFIRM
- 45020 exploit, x_refsource_EXPLOIT-DB
- 104532 vdb-entry, x_refsource_BID
- 44924 exploit, x_refsource_EXPLOIT-DB
- 44928 exploit, x_refsource_EXPLOIT-DB
- GLSA-201904-16 vendor-advisory, x_refsource_GENTOO
- http://packetstormsecurity.com/files/164623/phpMyAdmin-4.8.1-Remote-Code-Execution.html x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- June 21, 2018
- Published
- June 21, 2018, 20:00 UTC
- CVE record updated
- August 5, 2024, 08:38 UTC by mitre
- NVD
- Modified, last modified June 17, 2026, 01:38 UTC
- Last checked
- CVE list November 19, 2026, 07:17 UTC; NVD November 19, 2026, 08:31 UTC; KEV December 3, 2026, 09:38 UTC; EPSS December 2, 2026
- Official record
- cve.org · NVD
What other CVEs affect Phpmyadmin?
- Mar 26, 2009CVE-2009-1151 Phpmyadmin: code injection (remote code execution) exploited
- Oct 30, 2026CVE-2026-119563 phpMyAdmin: cross-site scripting (XSS)
- Oct 30, 2026CVE-2026-119562 phpMyAdmin: SQL injection
- Oct 30, 2026CVE-2026-119561 phpMyAdmin: cryptographic signature not verified
- Oct 30, 2026CVE-2026-119429 phpMyAdmin: unverified Password Change
- Oct 30, 2026CVE-2026-119428 phpMyAdmin: server-side request forgery (SSRF)
- Oct 30, 2026CVE-2026-119427 phpMyAdmin: SQL injection
- Oct 30, 2026CVE-2026-119426 phpMyAdmin: cross-site request forgery (CSRF)
Questions about CVE-2018-12613
Is CVE-2018-12613 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 09:38 UTC. FIRST's EPSS gives it a 98.3% chance of exploitation activity in the next 30 days (scores of December 2, 2026).
Which versions of Phpmyadmin are affected by CVE-2018-12613?
phpmyadmin/phpmyadmin from 4.8 before 4.8.2, per the GitHub advisory GHSA-x394-g9j8-x7mf. The tables above give every range the sources list.
Which version fixes CVE-2018-12613?
4.8.2, per the GitHub advisory GHSA-x394-g9j8-x7mf. Check the vendor's advisory before you rely on it.
How severe is CVE-2018-12613?
High (8.8, CVSS 3.1, from NVD). The severity table above shows each score with its source.
Where is the official record of CVE-2018-12613?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.