Arbitrary file upload in Freescout

CVE-2026-28289

FreeScout is a free help desk and shared inbox built with PHP's Laravel framework. A patch bypass vulnerability for CVE-2026-27636 in FreeScout 1.8.206 and earlier allows any authenticated user with file upload permissions to achieve Remote Code Execution (RCE) on the server by uploading a malicious .htaccess file using a zero-width space character prefix to bypass the security check. The vulnerability exists in the sanitizeUploadedFileName() function in app/Http/Helper.php. The function contains a Time-of-Check to Time-of-Use (TOCTOU) flaw where the dot-prefix check occurs before sanitization removes invisible characters. This vulnerability is fixed in 1.8.207.

Vulnerability class: Unrestricted File Upload

Published · last modified .

CVSS v3 metric

CVSS v3 base score 10.0 (Critical). Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H.

EPSS exploit prediction

EPSS 0.351, 98.5th percentile (scored ); up from 0.027 30 days earlier. About EPSS.

EPSS trend (30 days)EPSS over the last 30 days for CVE-2026-28289: rose from 0.027 to 0.351.

EPSS over last 30 days · oldest: 0.027 · newest: 0.351 · change: +0.324

Affected products

Weakness classification (CWE)

Public exploits and proof-of-concept code

Metasploit modules

3 public repositories with exploit or proof-of-concept code for this CVE:

References