CVE-2026-54540CWE-78

Authenticated terminal command whitelist bypass in Pheditor

High · published July 27, 2026

CVSS v3.1
8.8
EPSS
1%
Percentile
53.9
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
8.8 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00734 · 53.9th percentile
Weakness
CWE-78 · Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Published
2026-07-27T17:53Z
EPSS history
Timeline
  • 27 JUL 17:53Z
    Authenticated terminal command whitelist bypass in Pheditor
    cvelistv5