Skip to content
Fencer Vulns
critical 9.9

CVE-2026-48030 json

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

published 2026-06-09 5 mo ago modified 2026-10-24 16 d ago also GHSA-jvc5-6g7q-c843 , EUVD-2026-49384

cvss
9.9
version 3.1, CNA
cisa kev
Not listed
not in CISA's catalog
epss
7.5%
EPSS 7.5% chance of exploitation in 30 days, percentile 94%
public exploits
0
none known, plus a Nuclei check

Summary

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.

Patch / fix

  • packagist pheditor/pheditor 2.0.4

CISA SSVC

Exploitation
Proof of concept is public
Automatable
no
Technical impact
total
Assessed
3 mo ago

Exploit prediction

7.55% chance of exploitation in the next 30 days, higher than 94% of all scored CVEs (FIRST EPSS, 2026-11-08).

Exploits and checks

  • Nuclei template Pheditor 2.0.1-2.0.3 - OS Command Injection nuclei detection template
  • github.com https://github.com/pheditor/pheditor/security/advisories/GHSA-jvc5-6g7q-c843 referenced PoC, tagged "exploit" by a source, unverified

CVSS scores

assigned by version score vector
CNA 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H
GitHub 3.1 9.9 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H

Affected packages

ecosystem package affected fixed in
packagist pheditor/pheditor
>=2.0.1, <2.0.4
2.0.4

Affected products

  • pheditor pheditor

Classification

Weakness
  • CWE-78 Improper Neutralization of Special Elements used in an OS Command

References

Sources

Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.