CVE-2026-53593
JSON

8.8high

FreeScout Vulnerable to Authenticated Remote Code Execution via incomplete upload extension denylist (.pht) — bypass of CVE-2025-48471

Severity
8.8high CVSS:3.1 by GitHub_M
Exploit likelihood
0.51% (higher than 36% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M

Description

FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.224, the denylist that neutralizes dangerous file uploads (`Helper::$restricted_extensions`) is incomplete: it does not cover the `.pht` extension. The authenticated upload endpoint `POST /uploads/upload` (`SecureController@upload`) stores files with their original extension into the web-accessible directory `storage/app/public/uploads/` (served at `/storage/uploads/`). On the standard Apache + `libapache2-mod-php` deployment, the default handler `<FilesMatch ".+\.ph(ar|p[3457]?|t|tml)$">` executes `.pht`, so **any authenticated agent can upload a `.pht` web shell and run arbitrary commands as the web-server user** (`www-data`). This is a direct bypass of the fix for CVE-2025-48471, which added `phtml`/`phar` but not `pht` (nor `phtm`, `phps`). Version 1.8.224 contains an updated fix.

Affected

Product or packageVersionsReported by
freescout-help-desk freescout< 1.8.224CVE List

Classification

CWE-434

SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total.

What each source says

CVE List

FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. Prior to version 1.8.224, the denylist that neutralizes dangerous file uploads (`Helper::$restricted_extensions`) is incomplete: it does not cover the `.pht` extension. The authenticated upload endpoint `POST /uploads/upload` (`SecureController@upload`) stores files with their original extension into the web-accessible directory `storage/app/public/uploads/` (served at `/storage/uploads/`). On the standard Apache + `libapache2-mod-php` deployment, the default handler `<FilesMatch ".+\.ph(ar|p[3457]?|t|tml)$">` executes `.pht`, so **any authenticated agent can upload a `.pht` web shell and run arbitrary commands as the web-server user** (`www-data`). This is a direct bypass of the fix for CVE-2025-48471, which added `phtml`/`phar` but not `pht` (nor `phtm`, `phps`). Version 1.8.224 contains an updated fix.

NVD (es)

FreeScout es una mesa de ayuda y bandeja de entrada compartida gratuita construida con el framework Laravel de PHP. Antes de la versión 1.8.224, la lista de denegación que neutraliza las cargas de archivos peligrosos (’Helper::$restricted_extensions’) está incompleta: no cubre la extensión ’.pht’. El endpoint de carga autenticado ’POST /uploads/upload’ (’SecureController@upload’) almacena archivos con su extensión original en el directorio accesible por la web ’storage/app/public/uploads/’ (servido en ’/storage/uploads/’). En la implementación estándar de Apache + ’libapache2-mod-php’, el gestor predeterminado “<FilesMatch “.+\.ph(ar|p[3457]?|t|tml)$”>” ejecuta ’.pht’, por lo que cualquier agente autenticado puede cargar un web shell ’.pht’ y ejecutar comandos arbitrarios como el usuario del servidor web (’www-data’). Esto es un bypass directo de la corrección para CVE-2025-48471, que añadió ’phtml’/’phar’ pero no ’pht’ (ni ’phtm’, ’phps’). La versión 1.8.224 contiene una corrección actualizada.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-53593 changed 2026-07-21CVE Terms of Use
NVDCVE-2026-53593 changed 2026-10-24Public domain