Skip to main content
← All vulnerabilities
CVE-2026-48030GHSA-JVC5-6G7Q-C843

Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 2.0.4
1 proof of concept on GitHub, 1 Nuclei template
  • Exploitation: poc
  • Automatable: no
  • Technical impact: total

Summary

Pheditor is a single-file editor and file manager written in PHP. From version 2.0.1 to before version 2.0.4, an OS Command Injection vulnerability in the terminal action handler allows any authenticated user to execute arbitrary OS commands by injecting shell metacharacters into the 'dir' POST parameter, completely bypassing the TERMINAL_COMMANDS whitelist and achieving full Remote Code Execution with web server privileges. This issue has been patched in version 2.0.4.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: poc · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • pheditor pheditor

    From 2.0.1 · fixed in 2.0.4

  • pheditor/pheditorPackagist

    From 2.0.1 · fixed in 2.0.4

References 4

GitHub · pheditor/pheditor

GitHub · projectdiscovery/nuclei-templates

GitHub · muslimbek-0x/CVE-2026-48030