Zero-Day Command Injection in PHPSandbox Allows Sandbox Escape
A critical command injection vulnerability in Super Magic PHPSandbox, ZDI-26-1060, allows unauthenticated remote attackers to escape the sandbox and execute arbitrary code.

A critical command injection vulnerability, designated ZDI-26-1060, has been disclosed by the Zero Day Initiative, impacting Super Magic PHPSandbox. This flaw permits unauthenticated remote attackers to achieve a sandbox escape, leading to the execution of arbitrary code on affected systems. The vulnerability carries a severe CVSS score of 9.8, underscoring the significant risk it poses to organizations utilizing the software.
The specific vulnerability resides within the PHPSandbox endpoint. The root cause is identified as the improper validation of user-supplied input before it is used in the execution of PHP code. This oversight allows an attacker to inject malicious commands, effectively breaking out of the intended sandbox environment. Successful exploitation grants the attacker the ability to run arbitrary code with the privileges of the service account running the PHPSandbox instance.
The Zero Day Initiative first reported the vulnerability to the vendor on September 11, 2025. Following standard disclosure procedures, ZDI engaged with the vendor through multiple communications, including requests for confirmation of receipt and updates, culminating in notification of their intent to publish as a 0-day advisory on December 10, 2025. The coordinated public release of the advisory occurred on November 24, 2026, with an update to the advisory on the same date.
This vulnerability was discovered by Peter Girnus and Brandon Niemczyk of Trend Micro's Zero Day Initiative. Their research highlights a persistent threat landscape where sophisticated vulnerabilities continue to emerge, even in specialized sandboxing solutions designed for security. The disclosure timeline indicates a prolonged engagement period with the vendor, a common occurrence in the responsible disclosure process.
Given the nature of this vulnerability, which allows for a complete sandbox escape, the primary mitigation strategy recommended is to restrict all external interaction with the affected PHPSandbox product. This drastic measure is advised due to the severity of the flaw and the potential for attackers to gain a foothold within a system by exploiting it. Organizations should consider alternative solutions or implement stringent network segmentation if direct interaction is unavoidable.
The disclosure of ZDI-26-1060 serves as a stark reminder of the ongoing challenges in securing complex software environments. Sandbox escape vulnerabilities are particularly dangerous as they can undermine the security guarantees provided by the sandboxing technology itself, potentially leading to broader system compromise. The high CVSS score reflects the ease of exploitation and the significant impact.
While specific details on exploitation in the wild are not yet public, the existence of a 0-day vulnerability with such a high severity score warrants immediate attention from administrators and security teams. The vendor's response and the availability of patches, if any, will be critical in determining the long-term risk posed by this flaw. Users are strongly advised to monitor for any official guidance or updates from Super Magic.
This incident underscores the importance of continuous security vigilance and the need for robust vulnerability management programs. As attackers increasingly target specialized software components, organizations must remain proactive in assessing and mitigating risks associated with their entire technology stack.