CVE-2026-55578pheditor
High 8.8
Follow: this CVE · pheditor · pheditor We alert you by email or Slack (account required).
- Priority
- 53
- CVSS 3.1
- 8.8
- EPSS
- —
- Auth required
- Yes
- Published
- Jul 27, 2026
- Updated
- Jul 28, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-78
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
What happens
Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.6, the terminal feature in Pheditor uses an incomplete character blocklist to sanitize user-supplied commands before passing them to shell_exec(). After the fix for GHSA-9643-6xjp-vx57 (which added $ to the blocklist), the characters | (single pipe), ` (backtick), and the newline byte (0x0A) remain unblocked. An authenticated user with the terminal permission (enabled by default) can leverage any of these to bypass the TERMINAL_COMMANDS allowlist and execute arbitrary OS commands as the web server user. This issue has been patched in version 2.0.6.
What to do
- Apply the vendor's security update for pheditor.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Packagist | pheditor/pheditor |
≥ 2.0.1 < 2.0.6 |
2.0.6 |
composer require "pheditor/pheditor:^2.0.6" |
Per OSV / GitHub Advisories (GHSA-wg4w-wr5q-6vjc). Check the version in your lockfile before upgrading.
Affected products
- pheditor · pheditor
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.