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.
Advisories
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-jvc5-6g7q-c843 | Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter |
Fixes
Solution
No solution given by the vendor.
Workaround
No workaround given by the vendor.
References
History
Tue, 28 Jul 2026 21:00:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Pheditor
Pheditor pheditor |
|
| Vendors & Products |
Pheditor
Pheditor pheditor |
Mon, 27 Jul 2026 20:30:00 +0000
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter (CWE-78) | |
| Weaknesses | CWE-78 | |
| References |
| |
| Metrics |
cvssV3_1
|
Projects
Sign in to view the affected projects.
Status: PUBLISHED
Assigner: GitHub_M
Published:
Updated: 2026-07-27T18:53:42.856Z
Reserved: 2026-05-20T17:44:09.588Z
Link: CVE-2026-48030
Updated: 2026-07-27T18:53:16.903Z
No data.
No data.
OpenCVE Enrichment
Updated: 2026-07-28T20:38:37Z
Weaknesses
Github GHSA