p PatchFirst

CVE-2026-54540

CVE-2026-54540 · Authenticated terminal command whitelist bypass in Pheditor

Здесь приведены факты из открытых источников об уязвимостях. Перед обновлением ознакомьтесь с исходным сообщением.

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 · Высокий · EPSS 0,7% · Есть исправление

Опубликовано
Обновлено

Стек: php

Затронутые продукты и версии

  • pheditor

    Версии
    • < 2.0.5: Затронуто

    Нет опубликованного исправления

  • pheditor/pheditor Packagist

    Версии
    • 2.0.0
    • 2.0.1
    • 2.0.2
    • 2.0.3
    • 2.0.4
    Затронутые диапазоны версий
    • ECOSYSTEM: < 2.0.5

    Обновитесь до 2.0.5

Первоисточники

Проверьте свой сервер →