Command Injection Affecting pheditor/pheditor package, versions <2.0.5


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.71% (50th 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-18017870
  • published19 Jul 2026
  • disclosed16 Jul 2026
  • creditUnknown

Introduced: 16 Jul 2026

NewCVE-2026-54540  (opens in a new tab)
CWE-78  (opens in a new tab)

How to fix?

Upgrade pheditor/pheditor to version 2.0.5 or higher.

Overview

Affected versions of this package are vulnerable to Command Injection via the shell_exec process. An attacker can execute arbitrary shell commands as the web server user by bypassing the intended command allowlist through shell command substitution in the command parameter.

CVSS Base Scores

version 4.0
version 3.1