# CVE-2026-55578: Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection

- Severity: High 8.8 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-07-16T20:10:47.000Z
- Modified: 2026-07-28T15:17:19.233Z
- Also known as: GHSA-wg4w-wr5q-6vjc
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- pheditor pheditor: >= 2.0.1, < 2.0.6
- pheditor/pheditor (Packagist): from 2.0.1 before 2.0.6

## Every score

- GitHub_M: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/pheditor/pheditor/security/advisories/GHSA-wg4w-wr5q-6vjc> (exploit, web)
- <https://github.com/advisories/GHSA-9643-6xjp-vx57>
- <https://github.com/pheditor/pheditor/releases/tag/2.0.6> (web)
- <https://github.com/pheditor/pheditor> (package)

## Sources

- CVE List: [CVE-2026-55578](https://www.cve.org/CVERecord?id=CVE-2026-55578), CVE Terms of Use, modified 2026-07-28
- GitHub Advisory Database: [GHSA-wg4w-wr5q-6vjc](https://github.com/advisories/GHSA-wg4w-wr5q-6vjc), CC-BY-4.0, modified 2026-07-28
- NVD: [CVE-2026-55578](https://nvd.nist.gov/vuln/detail/CVE-2026-55578), Public domain, modified 2026-07-28

---

Page: https://cve.day/CVE-2026-55578 · Whole record: https://cve.day/CVE-2026-55578.json · Rebuilt by cve.day 2026-11-25T22:59:30.222Z
