CVE-2026-48030
CRITICAL 9.9CVSS 3.1Pheditor: OS Command Injection in terminal handler via unsanitized 'dir' parameter
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.
- Published
- 27 Jul 2026
- Last modified
- 24 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-78
- Also known as
- GHSA-jvc5-6g7q-c843
- Sources
- NVDJSONOSV GHSA-jvc5-6g7q-c843JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.9 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Packagist | pheditor/pheditor | >= 2.0.1, < 2.0.4 | 2.0.4 |
References
- https://github.com/pheditor/pheditor/releases/tag/2.0.4
- https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843 · WEB
- https://github.com/pheditor/pheditor/commit/62b43df7cb8956a9b0deb9bec278ca8676c890c5 · WEB
- https://github.com/pheditor/pheditor · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 27 Jul 2026)
- 25 Nov 2026 20:15 UTC · OSV: first stored (published 9 Jun 2026)