ZeroHour

CVE-2026-28289

PoC ×2moderate

Authenticated RCE via .htaccess Upload Bypass in FreeScout 1.8.206 and Earlier

CVSS 3.1
8.1 high
EPSS
31%p98
Published
()
Modified
AI analysis

CVE-2026-28289 is a patch-bypass flaw in FreeScout, a self-hosted PHP/Laravel help desk and shared inbox, that reintroduces the remote code execution previously fixed under CVE-2026-27636. The bug is a time-of-check to time-of-use (TOCTOU) issue in the sanitizeUploadedFileName() function in app/Http/Helper.php: the check for a dot-prefixed filename runs before sanitization strips invisible characters, so a filename beginning with a zero-width space followed by .htaccess passes the security check and is stored as a functional .htaccess file in the upload directory. Any authenticated user with file-upload permissions can exploit this by uploading such a crafted .htaccess file, overriding Apache configuration for the upload path and achieving remote code execution on the server; related reporting also describes an unauthenticated, zero-click vector via emailed attachments. All FreeScout deployments running version 1.8.206 or earlier are affected, and the flaw is fixed in 1.8.207. Exploitation status: public proof-of-concept material and analysis are available (EPSS ~31%, 98th percentile), it is not yet in CISA's KEV catalog, and active in-the-wild exploitation has not been explicitly confirmed in the provided data.

What to do: Upgrade FreeScout to version 1.8.207 or later. As interim mitigation, restrict file-upload permissions to trusted users, disallow or ignore .htaccess overrides in upload directories (e.g., Apache AllowOverride None), and audit existing upload directories for .htaccess files or filenames containing zero-width/invisible characters.

Affected
FreeScout (freescout-help-desk) FreeScout1.8.206 and earlier; fixed in 1.8.207
Estimated exposure
moderatelikely on the order of low thousands of internet-reachable self-hosted instances (no public install counts; estimate) — FreeScout is a niche, self-hosted open-source help desk with no published active-install counts, so this estimate reflects typical adoption of such products and the fact that only internet-facing instances with file uploads enabled are…

Order-of-magnitude estimate by the model from install counts, market share and public scan data it knows; verify before quoting.

Description

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.

Vendors
freescout
Products
freescout
Weakness
CWE-434
Vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

In the news