top of page
perceptive_background_267k.jpg

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 July 2026 at 00:00:00

Alert date:

27 July 2026 at 21:02:54

Source:

nvd.nist.gov

Click to open the original link from this advisory

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:

Related CVE's:

Related threat actors:

IOC's:

This article was created with the assistance of AI technology by Perceptive.

© 2025 by Perceptive Security. All rights reserved.

email: info@perceptivesecurity.com

Disclaimer: Deze website toont informatie afkomstig van externe bronnen. Perceptive aanvaardt geen verantwoordelijkheid voor de inhoud, juistheid of volledigheid van deze informatie.

bottom of page