Back to CVE records
Critical 9.9Published Jul 27, 2026

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

Updated under an hour ago ()

Does this affect you?

It affects pheditor. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
9.9 CRITICAL (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
Weakness (CWE)
CWE-78
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
GitHub_M
NVD analysis
Deferred
Record last updated
Jul 27, 2026
First seen by InfoSec Signals
Oct 9, 2026

Affected products

Affected products
pheditor pheditor
pheditor:pheditor (from the name)
from 2.0.1, < 2.0.4
CNA record

References

References

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.