


Perceptive Security
SOC/SIEM Consultancy

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 incomplet…
Published:
27 juli 2026 om 00:00:00
Alert date:
27 juli 2026 om 21:02:54
Source:
nvd.nist.gov
Web Technologies, Zero-Day Vulnerabilities
Pheditor, a PHP-based single-file editor and file manager, contains a critical command injection vulnerability in its terminal feature affecting versions 2.0.1 through 2.0.5. The vulnerability stems from an incomplete character blocklist used to sanitize user-supplied commands before passing them to shell_exec(). Despite a prior fix (GHSA-9643-6xjp-vx57) that added the dollar sign to the blocklist, the characters pipe (|), backtick (`), and newline byte (0x0A) remained unblocked. An authenticated user with terminal permissions (enabled by default) can exploit these characters to bypass the TERMINAL_COMMANDS allowlist and execute arbitrary OS commands as the web server user. The flaw represents a security regression pattern where partial fixes leave residual attack vectors. The issue has been fully patched in version 2.0.6. Users are strongly advised to upgrade immediately to mitigate the risk of arbitrary command execution.
Technical details
Mitigation steps:
Affected products:
Pheditor 2.0.1
Pheditor 2.0.2
Pheditor 2.0.3
Pheditor 2.0.4
Pheditor 2.0.5
Related links:
https://nvd.nist.gov/vuln/detail/CVE-2026-55578
https://github.com/advisories/GHSA-9643-6xjp-vx57
https://github.com/pheditor/pheditor/releases/tag/2.0.6
https://github.com/pheditor/pheditor/security/advisories/GHSA-wg4w-wr5q-6vjc
Related CVE's:
Related threat actors:
IOC's:
This article was created with the assistance of AI technology by Perceptive.
