Security mailing lists by PureSourceCode

CVE-2026-54540

HIGH 8.8CVSS 3.1

Pheditor has an authenticated terminal command whitelist bypass

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.

Published
27 Jul 2026
Last modified
28 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Deferred
Weakness
CWE-78
Also known as
GHSA-9643-6xjp-vx57
Sources
NVDJSONOSV GHSA-9643-6xjp-vx57JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
OSV GitHub CVSS 3.1 HIGH 8.8 CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Packagist pheditor/pheditor < 2.0.5 2.0.5

References

History

  • 25 Nov 2026 21:04 UTC · NVD: first stored (published 27 Jul 2026)
  • 25 Nov 2026 20:15 UTC · OSV: first stored (published 16 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.