Command Injection Affecting pheditor/pheditor package, versions >=2.0.1, <2.0.4


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept
EPSS
5.16% (92nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Command Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-PHP-PHEDITORPHEDITOR-17660420
  • published27 Jun 2026
  • disclosed9 Jun 2026
  • creditUnknown

Introduced: 9 Jun 2026

CVE-2026-48030  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade pheditor/pheditor to version 2.0.4 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the dir parameter in the terminal handler process. An attacker can execute arbitrary operating system commands with web server privileges by injecting shell metacharacters into the dir parameter, bypassing command whitelisting mechanisms. This is only exploitable if the attacker is authenticated and has terminal permission enabled (default configuration).

CVSS Base Scores

version 4.0
version 3.1