Advisory Database
  • Advisories
  • Dependency Scanning
  1. composer
  2. ›
  3. pheditor/pheditor
  4. ›
  5. CVE-2026-55578

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

July 16, 2026

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.

References

  • github.com/advisories/GHSA-wg4w-wr5q-6vjc
  • github.com/pheditor/pheditor/releases/tag/2.0.6
  • github.com/pheditor/pheditor/security/advisories/GHSA-wg4w-wr5q-6vjc
  • nvd.nist.gov/vuln/detail/CVE-2026-55578

Code Behaviors & Features

Detect and mitigate CVE-2026-55578 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 2.0.1 before 2.0.6

Fixed versions

  • 2.0.6

Solution

Upgrade to version 2.0.6 or above.

Impact 8.8 HIGH

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

packagist/pheditor/pheditor/CVE-2026-55578.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 15 Aug 2026 00:24:20 +0000.