CVE-2026-48030

Critical

Description

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.

SeverityCritical
CVSS9.9
Exploit probability—
ProductPheditor/pheditor
PublishedJul 27, 2026
First seenJul 27, 2026

How to fix

Update
  • pheditor/pheditor2.0.4 or later

Affected products

ProductAffected versionsFixed in
pheditor/pheditorPackagist2.0.1 ≤ v < 2.0.42.0.4

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.