OS command injection in pheditor
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Impact type
- Code execution
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-78.
Summary
Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.6, the terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to shell_exec(). After the fix for GHSA-9643-6xjp-vx57 (which added $ to the blocklist), the characters | (single pipe), ` (backtick), and the newline byte (0x0A) remain unblocked. An authenticated user with the terminal permission (enabled by default) can leverage any of these to bypass the TERMINAL_COMMANDS allowlist and execute arbitrary OS commands as the web server user. This issue has been patched in version 2.0.6.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Total
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| pheditor | pheditor | 2.0.1 to before 2.0.6 | 2.0.6 | Patch available | CNA |
| — | pheditor/pheditor (Packagist) | 2.0.1 to before 2.0.6 | 2.0.6 | Patch available | GHSA-wg4w-wr5q-6vjc |
- pheditor Vendorpheditor Affected 2.0.1 to before 2.0.6 Fixed in 2.0.6 Patch available CNA
- pheditor/pheditor (Packagist) Vendor— Affected 2.0.1 to before 2.0.6 Fixed in 2.0.6 Patch available GHSA-wg4w-wr5q-6vjc
Remediation
- Fix · CNA pheditor (pheditor) Fixed in 2.0.6
- Fix · GHSA-wg4w-wr5q-6vjc pheditor/pheditor (Packagist) Fixed in 2.0.6 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-55578
- 2026-10-03 Alias added: GHSA-wg4w-wr5q-6vjc
References
More pheditor vulnerabilities
- TI-2026-40118 Pheditor: Hardcoded default password 'admin' with no forced change enables full application compromise CVSS 3.1CRITICAL 9.8
- TI-2026-35473 Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78) CVSS 3.1CRITICAL 9.9
- TI-2026-39379 Authenticated terminal command whitelist bypass in Pheditor CVSS 3.1HIGH 8.8
Sources
- CVE-2026-55578 · CVE Program
- CVE-2026-55578 · NVD
- FIRST EPSS
- GHSA-wg4w-wr5q-6vjc · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences