Read the docs
TI-2026-40117 Aliases CVE-2026-55578GHSA-wg4w-wr5q-6vjc

OS command injection in pheditor

Priority MEDIUM 41CWE-78Published · Updated

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

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00667 52nd percentileScored 2026-11-07
Fix Fixed pheditor (pheditor): 2.0.6pheditor/pheditor (Packagist): 2.0.6

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

VendorProductAffected versionsFixed inStatusSource
pheditorpheditor2.0.1 to before 2.0.62.0.6Patch availableCNA
—pheditor/pheditor (Packagist)2.0.1 to before 2.0.62.0.6Patch availableGHSA-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

  1. 2026-10-02 Threatist record created from CVE-2026-55578
  2. 2026-10-03 Alias added: GHSA-wg4w-wr5q-6vjc

References

  • 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