Skip to main content

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… (CVE-2026-109397)

0
High
Published: 10/12/2026 (10/12/2026, 18:31:34 UTC)
Source: GCVE Database

Description

Thelia versions before 3.1.2 and 3.2.x before 3.2.1 have an unrestricted file upload vulnerability. Authenticated back-office users can upload PHP files by exploiting a filename handling flaw involving trailing spaces. This allows storing executable PHP files in the public cache directory, enabling code execution as the web server user.

CVSS v3.1

Score 7.2high

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H

Affected software

GitHub Actionsmore threats →ai
thelia/thelia
pkg:github/thelia/thelia
Affected versions
>=0 <3.1.2>=3.2.0 <3.2.1

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/12/2026, 22:00:02 UTC

Technical Analysis

The vulnerability in Thelia before 3.1.2 and 3.2.x before 3.2.1 arises from inconsistent filename validation and sanitization. FileProcessorService validates the raw filename including a trailing space, but FileManager::sanitizeFileName() removes the trailing space before storing the file. This discrepancy allows an attacker with back-office authentication to upload PHP files with a trailing space appended to the filename, bypassing restrictions. The uploaded PHP file is stored under public/cache/documents/ and can be executed by the web server, leading to remote code execution.

Potential Impact

Successful exploitation allows authenticated back-office users to execute arbitrary PHP code on the server with the privileges of the web server user. This can lead to full compromise of the affected system, including data theft, service disruption, or further network pivoting.

Mitigation Recommendations

The vulnerability is fixed in Thelia versions 3.1.2 and 3.2.1. Users should upgrade to these or later versions to remediate the issue. Patch status is not explicitly confirmed in the input data, but the version boundaries indicate these are the fixed releases. No vendor advisory content was provided to confirm patch availability or alternative mitigations.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Gcve Source
db.gcve.eu
Osv Id
GHSA-hjxm-gpw4-w4q7
Osv Schema Version
1.4.0
Aliases
["CVE-2026-109397"]
Database Specific Severity
HIGH
Cvss Version
3.1

Threat ID: 6acd55582cdf04f656da85ad

Added to database: 10/12/2026, 21:47:04 UTC

Last enriched: 10/12/2026, 22:00:02 UTC

Last updated: 10/12/2026, 22:48:22 UTC

Views: 2

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses