Goal Reached Thanks to every supporter — we hit 100%!

Goal: 1000 CNY · Raised: 1359 CNY

100%

CVE-2026-109397— Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space

Quick assessment

Affected
Thelia Thelia
Exploitation
No confirmed in-the-wild exploitation; assess based on exposure
Recommended action
Check the vendor advisory and references for a fixed version. If immediate upgrade is impossible, restrict exposure and increase monitoring.

在 Thelia 3.1.2 之前版本以及 3.2.x 中早于 3.2.1 的版本中,存在一个不受限制的文件上传漏洞。该漏洞允许经过身份验证的后端用户通过在文件名末尾附加空格来上传 PHP 文件。尽管 FileProcessorService 会对原始文件名进行验证,但 FileManager::sanitizeFileName() 函数会去除文件名末尾的空格,从而将可执行的 .php 文件存储在 public/cache/documents/ 目录下,使得攻击者可以以 Web 服务器用户的身份执行任意代码。

CVSS 7.2 · High EPSS 0.44% · P37

Affected Version Matrix 2

VendorProduct Version RangeStatus
Thelia Thelia < 3.1.2 affected
3.2.0< 3.2.1 affected
Get alerts for future matching vulnerabilities Log in to subscribe

I. Basic Information for CVE-2026-109397

Vulnerability Information

Have questions about the vulnerability? See if Shenlong's analysis helps!
View Shenlong Deep Dive ↗

Although we use advanced large model technology, its output may still contain inaccurate or outdated information.Shenlong tries to ensure data accuracy, but please verify and judge based on the actual situation.

Vulnerability Title
Thelia before 3.1.2 and 3.2.x before 3.2.1 File Upload RCE via Filename Trailing Space
Source: CVE Program / CVE List V5
Vulnerability Description
Thelia before 3.1.2 and 3.2.x before 3.2.1 contains an unrestricted file upload vulnerability that allows authenticated back-office users to upload PHP files by appending a trailing space to filenames. FileProcessorService validates the raw filename but FileManager::sanitizeFileName() strips the space, storing an executable .php file under public/cache/documents/ for code execution as the web server user.
Source: CVE Program / CVE List V5
CVSS Information
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H
Source: CVE Program / CVE List V5
Vulnerability Type
危险类型文件的不加限制上传
Source: CVE Program / CVE List V5

Affected Products

Vendor Product Affected Versions CPE Subscribe
Thelia Thelia 0 ~ 3.1.2 -

II. Public POCs for CVE-2026-109397

# POC Description Source Link Shenlong Link
AI-Generated POC Premium

No public POC found.

Login to generate AI POC

III. Intelligence Information for CVE-2026-109397

请登录查看更多情报信息。

Patches & Fixes for CVE-2026-109397 (3)

Vendor Advisories for CVE-2026-109397 (2)

Vendor Pages for CVE-2026-109397 (2)

Same Patch Batch · Thelia · 2026-10-12 · 13 CVEs total

CVE-2026-109396 4.2 MEDIUM Thelia before 3.1.2 and 3.2.x before 3.2.1 CSV Formula Injection via Exports
CVE-2026-103521 CVE-2026-103521
CVE-2026-103524 CVE-2026-103524
CVE-2026-103523 CVE-2026-103523
CVE-2026-103522 CVE-2026-103522
CVE-2026-103526 CVE-2026-103526
CVE-2026-103529 CVE-2026-103529
CVE-2026-103537 CVE-2026-103537
CVE-2026-103528 CVE-2026-103528
CVE-2026-103527 CVE-2026-103527
CVE-2026-103535 CVE-2026-103535
CVE-2026-107248 CVE-2026-107248

IV. Related Vulnerabilities

V. Comments for CVE-2026-109397

No comments yet


Leave a comment