High severity8.8NVD Advisory· Published Jul 27, 2026· Updated Jul 27, 2026
CVE-2026-54540
CVE-2026-54540
Description
Pheditor is a single-file editor and file manager written in PHP. Prior to version 2.0.5, there is an authenticated terminal command whitelist bypass. The terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full command string to shell_exec(). Shell command substitution such as $() is not blocked, so an authenticated user with the terminal permission can bypass a restricted command allowlist and execute arbitrary shell commands as the web server user. This issue has been patched in version 2.0.5.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
pheditor/pheditorPackagist | < 2.0.5 | 2.0.5 |
Affected products
1Patches
Vulnerability mechanics
References
3News mentions
0No linked articles in our index yet.