CVE-2026-55578

Source
https://cve.org/CVERecord?id=CVE-2026-55578
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55578.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-55578
Aliases
Related
Published
2026-07-27T17:54:29Z
Modified
2026-08-12T03:51:25Z
Severity
  • 8.8 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
Summary
Pheditor: Incomplete command sanitization in terminal feature allows RCE via pipe operator, backtick substitution, and newline injection
Details

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.

Database specific
{
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
        "CWE-78"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/55xxx/CVE-2026-55578.json"
}
References

Affected packages

Git / github.com/pheditor/pheditor

Affected ranges

Type
GIT
Repo
https://github.com/pheditor/pheditor
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "introduced": "2.0.1"
        },
        {
            "fixed": "2.0.6"
        },
        {
            "introduced": "0"
        }
    ],
    "source": [
        "AFFECTED_FIELD",
        "DESCRIPTION",
        "REFERENCES"
    ]
}

Affected versions

2.*
2.0.1
2.0.2
2.0.3
2.0.4
2.0.5

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-55578.json"