Quick answers
- Is This vulnerability exploited in the wild?
- No. Junglewise Threat Intelligence has no report of This vulnerability being exploited in the wild.
- How severe is This vulnerability?
- High severity, with a CVSS score of 8.8, published 24 July 2026.
- Which products and versions are affected?
- pheditor/pheditor (Packagist) <= 2.0.6; Pheditor <= 2.0.6.
- Is there a fix for This vulnerability?
- A patch was published on 2026-07-24: Version 2.0.7 released Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is This vulnerability attacked?
- It is attacked over the network, in a web application.
- Am I affected?
- Check whether you run pheditor/pheditor (Packagist) or Pheditor at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
Technical details
Pheditor's terminal feature implements a command allowlist (TERMINAL_COMMANDS) using a prefix-based string match and a denylist for shell metacharacters. However, it fails to validate the arguments following the allowlisted command. Because the allowlist includes powerful binaries like 'find', 'git', 'php', and 'tar', an attacker can use legitimate flags (such as 'find -exec' or 'php -r') to execute arbitrary OS commands. The vulnerability exists in pheditor.php because it uses shell_exec() on the unvalidated command string. This bypass persists even after previous fixes for metacharacter injection. A patch is available in version 2.0.7.
Affected products
- pheditor Pheditor <= 2.0.6
Timeline
- 2026-07-23: disclosed
- 2026-07-24: advisory: GHSA-g3hq-hphg-8fhh published
- 2026-07-24: patched: Version 2.0.7 released