CVE-2026-48030 Details
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.
An OS command injection vulnerability has been identified in Pheditor versions 2.0.1 prior to 2.0.4. This vulnerability allows authenticated users to execute arbitrary operating system commands by injecting shell metacharacters into the 'dir' POST parameter. The issue arises in the terminal action handler, where the 'dir' parameter is passed to the 'shell_exec()' function without proper sanitization, completely bypassing the 'TERMINAL_COMMANDS' whitelist. As a result, this vulnerability enables full remote code execution with the privileges of the web server user.
Users can update to Pheditor version 2.0.4 or later, where this vulnerability has been patched.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jul 27, 2026CISA-ADP
Assessed Jul 27, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843 | CISA-ADP | AdvisoryExploitRemedyVendor |
| https://github.com/pheditor/pheditor/releases/tag/2.0.4 | [email protected] | Release NotesVendor |
| https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843 | [email protected] | AdvisoryExploitRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| Pheditor | >= 2.0.1, <= 2.0.3 (semver) |
CPE
Remediation
| |
Change History
2 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 27, 2026 | CVE Modified | CISA-ADP |
| Jul 27, 2026 | New CVE Received | [email protected] |
Volerion