Live threats

All CVEs / pheditor

CVE-2026-54540pheditor

High 8.8

Priority
53
CVSS 3.1
8.8
EPSS
—
Auth required
Yes
Published
Jul 27, 2026
Updated
Jul 27, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-78
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

Pheditor is a single-file editor and file manager written in PHP. Prior to version 2.0.5, there is an authenticated terminal command whitelist bypass. The terminal feature checks whether the submitted command starts with one of the configured TERMINAL_COMMANDS values, then passes the full command string to shell_exec(). Shell command substitution such as $() is not blocked, so an authenticated user with the terminal permission can bypass a restricted command allowlist and execute arbitrary shell commands as the web server user. This issue has been patched in version 2.0.5.

Original NVD text.

What to do

  1. Apply the vendor's security update for pheditor.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Packagist pheditor/pheditor < 2.0.5 2.0.5 composer require "pheditor/pheditor:^2.0.5"

Per OSV / GitHub Advisories (GHSA-9643-6xjp-vx57). Check the version in your lockfile before upgrading.

Affected products

As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.

Official sources

References

Links published by the sources. Open them with care.