Vulnerability

CVE-2026-54540

highCVSS 3.1 8.8Published 27 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /pheditor/pheditor/releases/tag/2.0.5
  • github.com /pheditor/pheditor/security/advisories/GHSA-9643-6xjp-vx57

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning