{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-55578","id":"CVE-2026-55578","title":"Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection","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) ","descriptionLong":"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.","published":"2026-07-27T17:54:29.407Z","updated":"2026-10-28T02:30:34.236864011Z","reserved":"2026-06-16T23:18:03.169Z","status":"PUBLISHED","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["pheditor"],"affectedProducts":[{"vendor":"pheditor","product":"pheditor","defaultStatus":null,"versions":[{"version":">= 2.0.1, < 2.0.6","status":"affected"}],"platforms":[]}],"packages":[{"ecosystem":"Packagist","name":"pheditor/pheditor","purl":"pkg:composer/pheditor/pheditor","ranges":[">=2.0.1 <2.0.6"],"fixed":["2.0.6"],"advisory":"GHSA-wg4w-wr5q-6vjc"}],"cwes":["CWE-78"],"aliases":["GHSA-wg4w-wr5q-6vjc"],"references":[{"url":"https://github.com/pheditor/pheditor/security/advisories/GHSA-wg4w-wr5q-6vjc","tags":["x_refsource_CONFIRM","exploit","advisory","web"]},{"url":"https://github.com/advisories/GHSA-9643-6xjp-vx57","tags":["x_refsource_MISC","advisory"]},{"url":"https://github.com/pheditor/pheditor/releases/tag/2.0.6","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55578.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55578","tags":["advisory"]},{"url":"https://github.com/pheditor/pheditor","tags":["package"]}],"patchReferenced":false,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"total"},"epss":0.00667,"epssPercentile":0.52811,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-55578","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55578","ok":false,"note":"unavailable (rate limited?)"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-55578","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-wg4w-wr5q-6vjc","ok":true,"note":"GHSA-wg4w-wr5q-6vjc"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-55578","ok":true,"note":"scored 2026-11-20"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}