CVE-2026-54540
CVE-2026-54540 · Authenticated terminal command whitelist bypass in Pheditor
Cette page présente des faits issus de sources publiques. Consultez l’avis original avant toute mise à jour.
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.
CVSS 8.8 · Élevée · EPSS 0,7% · Correctif disponible
- Publication
- Mise à jour
Pile logicielle: php
Produits et versions concernés
pheditor
- Versions du logiciel
- < 2.0.5: Concernée
Aucun correctif publié
pheditor/pheditor Packagist
- Versions du logiciel
- 2.0.0
- 2.0.1
- 2.0.2
- 2.0.3
- 2.0.4
- Plages de versions concernées
- ECOSYSTEM: < 2.0.5
Mettez à jour vers 2.0.5