CVE-2015-10141 Xdebug Remote Debugger Unauthenticated OS Command Execution

Critical 9.3 Published Updated

Unauthenticated attackers can execute arbitrary OS commands via the Xdebug remote debugging interface when enabled, leading to full host compromise.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2015-10141?

CVE-2015-10141 is a critical command injection vulnerability in Xdebug, published on 23 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.

Official description

An unauthenticated OS command injection vulnerability exists within Xdebug versions 2.5.5 and earlier, a PHP debugging extension developed by Derick Rethans. When remote debugging is enabled, Xdebug listens on port 9000 and accepts debugger protocol commands without authentication. An attacker can send a crafted eval command over this interface to execute arbitrary PHP code, which may invoke system-level functions such as system() or passthru(). This results in full compromise of the host under the privileges of the web server user.

Weakness: CWE-78, CWE-306

Which versions are affected by CVE-2015-10141?

How do I fix CVE-2015-10141?

No fix has been published for CVE-2015-10141 yet. Limit exposure of the affected software until one is available.

Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.

Is CVE-2015-10141 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2015-10141 exists.

Public exploit code: 1 Metasploit module, 1 Nuclei template and 2 proofs of concept on GitHub.

Sources

Also known as DEBIAN-CVE-2015-10141, GHSA-267w-63f8-m896, UBUNTU-CVE-2015-10141.

Is CVE-2015-10141 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free