Skip to content
OpenAdvisories
Critical · 9.3 Scanner template Public exploit CVE-2015-10141 EUVD-2015-9401GHSA-267w-63f8-m896

Xdebug Remote Debugger Unauthenticated OS Command Execution

Published Jul 23, 2025 · Updated May 15, 2026 · Assigned by VulnCheck

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.

Affected products

VendorProductAffectedFixed
Xdebug Xdebug ≤ 2.5.5 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
Debian 14 xdebug No fix yet —
Debian 13 xdebug No fix yet —
Debian 12 xdebug No fix yet —
ReleasePackageFixed inAdvisory
Ubuntu 26.10 xdebug No fix yet —
Ubuntu 26.04 LTS xdebug No fix yet —
Ubuntu 25.10 xdebug No fix yet —
Ubuntu 24.04 LTS xdebug No fix yet —
Ubuntu 22.04 LTS xdebug No fix yet —
Show 3 more (older releases, extended support, other products)
ReleasePackageFixed inAdvisory
Ubuntu 20.04 LTS xdebug No fix yet —
Ubuntu 18.04 LTS xdebug No fix yet —
Ubuntu 16.04 LTS xdebug No fix yet —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

Metasploit 1 module

GitHub 2 repositories

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Automated scanner template

A ready-made Nuclei template detects this vulnerability automatically. Vulnerabilities with public scanner templates are typically probed across the internet soon after the template appears — exposed systems should be patched first.

Source: projectdiscovery/nuclei-templates (MIT) — updated daily. Only links are listed.

References