Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐘
🐘 Packagist
Not in CISA KEV
HIGH severity

phpMyAdmin Improper AuthenticationGHSA-x394-g9j8-x7mf

HIGH

GHSA-x394-g9j8-x7mf is a high-severity (CVSS 8.8) Improper Authentication vulnerability in phpmyadmin/phpmyadmin. 13 public exploit references exist, so weaponization risk is real. A fix is available for phpmyadmin/phpmyadmin — see the affected versions and patch details below.

Also known asCVE-2018-12613
Published
Updated
Affected
1 pkg
Patched
1 / 1
Exploits
13 known
Exploitation data as of Oct 22, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
98.4%probability of exploitation in next 30 days
Very High Risk0.00%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
93.0%95.2%97.4%99.7%94.3%98.4%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

GHSA-x394-g9j8-x7mf by exploitation likelihood (EPSS) against impact (CVSS). In the shaded patch-first corner (EPSS 50%+, CVSS 7.0+).

Where this sits among everything scored

Of 395,249 CVEs with a current EPSS score, this one falls in the ≥ 90% band (highlighted). Counts from FIRST.org, log-scaled.

Real-World Exposure

1 pkg affected
🐘phpmyadmin/phpmyadmin

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Packagist packages — download data is not available via public APIs for these ecosystems.

Description

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).

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐘Packagistphpmyadmin/phpmyadmin≥ 4.8&&< 4.8.24.8.2composer require phpmyadmin/phpmyadmin:^4.8.2

Affected Products

1 product · 1 configurations
Application
phpmyadminphpmyadmin
≥ 4.8.0 && < 4.8.2
range
Exploits & PoCs
13

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-45020remotephp✓ Verified

phpMyAdmin - (Authenticated) Remote Code Execution (Metasploit)

by Metasploit · Jul 13, 2018

EDB-44924webappsphp✓ Verified

phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (1)

by ChaMd5 · Jun 21, 2018

EDB-44928webappsphp✓ Verified

phpMyAdmin 4.8.1 - (Authenticated) Local File Inclusion (2)

by VulnSpy · Jun 22, 2018

EDB-50457webappsphp✓ Verified

phpMyAdmin 4.8.1 - Remote Code Execution (RCE)

by samguy · Oct 25, 2021

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for phpmyadmin/phpmyadmin, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update phpmyadmin/phpmyadmin to 4.8.2 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-x394-g9j8-x7mf is resolved across your whole dependency graph.

  3. Workarounds

    Put an independent control in front of the weakness: restrict the affected endpoint or interface to trusted networks, require an additional authentication factor or proxy-level check, and invalidate existing sessions and credentials in case the flaw has already been used.

How to detect GHSA-x394-g9j8-x7mf

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id ghsa-x394-g9j8-x7mf -u https://target
Template
PhpMyAdmin <4.8.2 - Local File Inclusion
Severity
high
Impact
An attacker can exploit this vulnerability to read arbitrary files on the server.
Remediation
Upgrade PhpMyAdmin to version 4.8.2 or later to fix the vulnerability.

Template by ProjectDiscovery nuclei-templates (pikpikcu), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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
O3 Security · Impact-Aware SCA

Is GHSA-x394-g9j8-x7mf in your dependencies?

Find it across Packagist, including transitive dependencies.

phpMyAdmin Improper Authentication (High 8.8)