Vulnerability details
CVE-2026-48030
pheditor pheditor
Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78)
CVSS 3.1
9.9Critical
Official 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.
CVSS scores
| Score | Version | Source | Vector |
|---|---|---|---|
| 9.9Critical | 3.1 | CVEProject cvelistV5 (CNA) (GitHub_M) | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected products
| Vendor | Product | Versions | Source |
|---|---|---|---|
| pheditor | pheditor | >= 2.0.1, < 2.0.4 | CVEProject cvelistV5 (CNA) |
References and advisories
2- https://github.com/pheditor/pheditor/releases/tag/2.0.4 x_refsource_MISC
- https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843 x_refsource_CONFIRM
Kolun on Telegram @kolunsec
Exploited CVEs, key news and a daily digest
Alerts for this product's next CVEsFollow the product to get new vulnerabilities on Telegram.
Details
- Published
- 2026-07-27
- Last updated
- 2026-07-27
- State
- Published
- Assigner (CNA)
- GitHub_M
Exploit prediction (EPSS)
7.54%
Probability of exploitation in 30 days
94.5%
Percentile (among all CVEs)
SSVC assessment (CISA)
- Automatable
- No
- Exploitation
- Proof of concept
- Technical impact
- Total
Weaknesses (CWE)
- CWE-78Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')