PoC Monitor
← All CVEs
CVE-2026-54540published 27 Jul 2026 17:53 UTCData: JSON · API

Pheditor

Authenticated terminal command whitelist bypass in Pheditor

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS8.8high · scored by CNA · CWE-78
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

pheditor pheditor
  • < 2.0.5

Fixed in 2.0.5

Mitigation

Upgrade pheditor to 2.0.5 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.