CVE-2026-54540
HIGH 8.8CVSS 3.1Pheditor has an authenticated terminal command whitelist bypass
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.
- Published
- 27 Jul 2026
- Last modified
- 28 Jul 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-9643-6xjp-vx57
- Sources
- NVDJSONOSV GHSA-9643-6xjp-vx57JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.8 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | pheditor/pheditor | < 2.0.5 | 2.0.5 |
References
- https://github.com/pheditor/pheditor/releases/tag/2.0.5 · WEB
- https://github.com/pheditor/pheditor/security/advisories/GHSA-9643-6xjp-vx57 · WEB
- https://github.com/pheditor/pheditor · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 27 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Jul 2026)