CVE-2015-10141: Unauthenticated command injection in Xdebug remote debugging interface
CVE-2015-10141 is an unauthenticated OS command injection vulnerability in Xdebug 2.5.5 and earlier. When Xdebug remote debugging is enabled, the extension listens on TCP port 9000 and accepts debugger protocol commands without authentication. An attacker able to reach this interface can send a crafted eval command to cause arbitrary PHP code execution within the target PHP process. That PHP code can then invoke dangerous system-level functions such as system() or passthru(), resulting in operating system command execution on the host in the security context of the web server or PHP process user.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary PHP code and, through PHP system-execution primitives, arbitrary OS commands. This can lead to full compromise of the affected host within the privileges of the web server user, including application takeover, access to sensitive data available to the PHP process, modification of application content, installation of persistence mechanisms accessible to that account, and use of the compromised service as a foothold for further lateral movement or privilege escalation.
Mitigation
If you can’t patch tonight, do this now.
Disable Xdebug remote debugging where possible. Prevent untrusted network access to the Xdebug listener on port 9000 using host-based firewalls, network ACLs, container/network policy, or binding the service only to trusted interfaces. Avoid exposing development or debugging services in production environments. As a defense-in-depth measure, disable or restrict dangerous PHP functions such as system() and passthru() where operationally feasible, though this does not remove the underlying arbitrary PHP code execution condition.
Remediation
Patch, then assume compromise.
Upgrade Xdebug to a version that is not affected by CVE-2015-10141. In addition, review Xdebug configuration to ensure remote debugging is not exposed to untrusted networks. If remote debugging is not required, disable it entirely. If it is required, restrict access to the debugger listener so that only trusted developer systems can connect.
Exploits
4 exploits validated by Mallory's analysis.
References
Frequently asked questions
- Is CVE-2015-10141 exploited in the wild?
- As of Sep 25, 2026, Mallory has no reports of CVE-2015-10141 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2015-10141?
- Yes. Mallory tracks 4 public exploits or proofs of concept for CVE-2015-10141, the earliest disclosed Sep 17, 2017.
- Is there a patch for CVE-2015-10141?
- Upgrade Xdebug to a version that is not affected by CVE-2015-10141. In addition, review Xdebug configuration to ensure remote debugging is not exposed to untrusted networks.
- How severe is CVE-2015-10141?
- CVE-2015-10141 has a CVSS v4 score of 9.3 (Critical) and an EPSS score of 17.9% (97th percentile) as of Sep 25, 2026.
Recent activity
5 sources tracked across advisories and community write-ups. News coverage will land here when it surfaces.
No news coverage yet. Advisories and community discussion only.