CVE Catalog

CVE-2026-54540

HighCVSS 8.8
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.71%

50th percentile - higher than 50% of all known CVEs

Summary

Pheditor before version 2.0.5 has a vulnerability in the terminal feature that only checks the start of the command and does not block shell command substitution ($()). Authenticated users can bypass the command allowlist and execute arbitrary OS commands.

Risk Assessment

An attacker can execute arbitrary commands on the server as the www-data user, leading to full server compromise.

Recommendation

Update Pheditor to version 2.0.5 or later.

Other vulnerabilities in Pheditor

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS