BreachSpiderVerified, not vibes

CVE-2016-6631 in Phpmyadmin

High 7.5

An issue was discovered in phpMyAdmin. A user can execute a remote code execution attack against a server when phpMyAdmin is being run as a CGI application. Under certain server configurations, a user can pass a query string which is executed as a command-line argument by the file generator_plugin.sh. All 4.6.x vers...

Affects 1 product from 1 vendor. Facts below cite their sources.

CVSS 3.07.5
EPSS4.8%
EPSS percentile93th
FixSee advisory

Remotely exploitable over the network, high complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.

Affected products and versions

VendorProductAffected versions
Phpmyadmin Phpmyadmin 4.0.0 4.0.1 4.0.2 4.0.3 4.0.4 4.0.4.1
+54 more4.0.4.2 4.0.5 4.0.6 4.0.7 4.0.8 4.0.9 4.0.10 4.0.10.1 4.0.10.2 4.0.10.3 4.0.10.4 4.0.10.5 4.0.10.6 4.0.10.7 4.0.10.8 4.0.10.9 4.0.10.10 4.0.10.11 4.0.10.12 4.0.10.13 4.0.10.14 4.0.10.15 4.0.10.16 4.4.0 4.4.1 4.4.1.1 4.4.2 4.4.3 4.4.4 4.4.5 4.4.6 4.4.6.1 4.4.7 4.4.8 4.4.9 4.4.10 4.4.11 4.4.12 4.4.13 4.4.13.1 4.4.14 4.4.14.1 4.4.15 4.4.15.1 4.4.15.2 4.4.15.3 4.4.15.4 4.4.15.5 4.4.15.6 4.4.15.7 4.6.0 4.6.1 4.6.2 4.6.3

A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.

Fix and vendor advisory

View Vendor Advisory →

Vendor PSIRT: [email protected]

Exploitation

CISA known-exploitedNot in the CISA KEV catalog
Public exploitNot confirmed

Official description

An issue was discovered in phpMyAdmin. A user can execute a remote code execution attack against a server when phpMyAdmin is being run as a CGI application. Under certain server configurations, a user can pass a query string which is executed as a command-line argument by the file generator_plugin.sh. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected.

Source: NIST NVD / MITRE CVE.

Record details

CVE IDCVE-2016-6631
BreachSpider IDBS-2016-GLOBAL-111873-H
CVSS vectorCVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
Published2016-12-11
Last modified2026-06-17
Weakness (CWE)
SourceNVD

Weakness definitions

CWE-78: OS Command Injection

Attacker injects OS commands through application inputs passed to system() or equivalent calls, leading to arbitrary command execution.

Related attack patterns (CAPEC)

CAPEC-43 Exploiting Multiple Input Interpretation Layers via CWE-78

CAPEC-108 Command Line Execution through SQL Injection via CWE-78

CAPEC-6 Argument Injection via CWE-78

CAPEC-15 Command Delimiters via CWE-78

CAPEC-88 OS Command Injection via CWE-78

Mapping is CWE to CAPEC per MITRE CAPEC 3.9.

Analysis AI-written, not human-reviewed

This vulnerability was disclosed in 2016. A high severity vulnerability affects Phpmyadmin systems (CVE-2016-6631). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

Vulnerability details: An issue was discovered in phpMyAdmin. A user can execute a remote code execution attack against a server when phpMyAdmin is being run as a CGI application. Under certain server configurations, a user can pass a query string which is executed as a command-line argument by the file generator_plugin.sh. All 4.6.x versions (prior to 4.6.4), 4.4.x versions (prior to 4.4.15.8), and 4.0.x versions (prior to 4.0.10.17) are affected. CVSS vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.

Questions

What is CVE-2016-6631?

This vulnerability was disclosed in 2016. A high severity vulnerability affects Phpmyadmin systems (CVE-2016-6631). No public exploit code is currently available. Isolate affected systems if patching is not feasible.

What is the CVSS score for CVE-2016-6631?

CVE-2016-6631 has CVSS 7.5 (High). Vector: CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 4.8%.

Is CVE-2016-6631 actively exploited?

No confirmed active exploitation of CVE-2016-6631 as of 2026-09-25.

How do I remediate CVE-2016-6631?

Priority: MEDIUM. Advisory: https://www.phpmyadmin.net/security/PMASA-2016-54 PSIRT: [email protected]

What systems are affected by CVE-2016-6631?

CVE-2016-6631 affects Phpmyadmin Phpmyadmin.

For developers and AI agents

Run this check from your own code or agent

REST API

curl -s https://breachspider.com/api/v1/assets/correlate-cves \
 -H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
 -H "Content-Type: application/json" \
 -d '{"assets":[{"asset_id":"dev-1","vendor":"Phpmyadmin","product":"Phpmyadmin","version":"1.0"}]}'

API reference

Python SDK

pip install breachspider

PyPI · GitHub

MCP for AI agents

# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp

Setup for Claude, ChatGPT, Cursor

Free trial: 14 days, 750 device checks, no card.

Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.