Vulnerability details
CVE-2026-54540
pheditor pheditor
Authenticated terminal command whitelist bypass in Pheditor
CVSS 3.1
8.8High
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 8.8High | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| pheditor | pheditor | < 2.0.5 | CVEProject cvelistV5 (CNA) |
References and advisories
2- https://github.com/pheditor/pheditor/releases/tag/2.0.5 x_refsource_MISC
- https://github.com/pheditor/pheditor/security/advisories/GHSA-9643-6xjp-vx57 x_refsource_CONFIRM
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-07-27
- Last updated
- 2026-07-27
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
0.73%
Probability of exploitation in 30 days
54.5%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')