Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V5 - File Handling Path canonicalization, traversal prevention
MITRE ATT&CK
2 techniques across 2 tactics: Discovery, Collection The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Impact | The CVSS 4.3 score reflects a low-to-moderate severity profile: network-accessible attack (AV:N), low complexity (AC:L), requiring login credentials (PR:L), no user interaction (UI:N), and limited scope/confidentiality impact (S:U/C:L). However, several real-world risk amplifiers elevate concern: the exploit code is publicly available (E:P), vendor response is unknown/unresponsive (RL:X), and reliable reproduction is expected (RC:R). The SSVC framework would classify this as exploitable, automatable (path traversal is simple to weaponize), and causing a data breach (technical impact). While not a remote code execution, the confidentiality breach potential combined with active POC availability and lack of vendor support make this a moderate-to-high operational priority for ThingsGateway 12 deployments, especially in environments handling sensitive industrial or IoT data. |
| Exploit ScenarioDerived | An authenticated attacker with valid login credentials to ThingsGateway 12 crafts a request to /api/file/download with a malicious fileName parameter such as '../../etc/passwd' or '..\..\windows\win.ini', bypassing directory restrictions and retrieving sensitive system files. Since the vulnerability requires low-complexity network access and only valid authentication (not admin privileges), an attacker with a basic user account or compromised credential can enumerate and extract configuration files, private keys, or application code. The publicly available proof-of-concept code enables even unsophisticated attackers to automate this data exfiltration across multiple ThingsGateway 12 instances. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 16, 2026
Path traversal in ThingsGateway 12's /api/file/download endpoint allows authenticated users to read arbitrary files through manipulation of the fileName parameter. Public exploit code exists for this vulnerability, and no patch is currently available from the vendor despite early notification.
Earlier versions of this analysis (1)
A path traversal vulnerability exists in ThingsGateway version 12 within the /api/file/download endpoint, where the fileName parameter is not properly validated, allowing authenticated attackers to read arbitrary files from the server. An attacker with valid credentials can exploit this network-accessible vulnerability to access sensitive files outside the intended directory, potentially exposing configuration files, application source code, or other confidential data. The vulnerability is of moderate severity (CVSS 4.3), but the existence of publicly available proof-of-concept code and unresponsive vendor increase real-world risk.
RemediationAI
Upgrade ThingsGateway to a patched version if available from the upstream project; check the official ThingsGateway repository (typically on GitHub) for security releases addressing CVE-2026-4233. If no patch is immediately available, implement network-level mitigations including restricting API access to the /api/file/download endpoint via a Web Application Firewall (WAF) with rules blocking path traversal sequences (../, ..\, %2e%2e, etc.), enforcing authentication via OAuth or mutual TLS, and limiting file download requests to authenticated users from trusted IP ranges. Additionally, apply input validation on the server side by implementing a strict whitelist of allowed filenames and storing downloadable files in a separate, read-only directory outside the application root. Monitor access logs for suspicious fileName parameter patterns indicating exploitation attempts.
Affected VersionsENISA
Affects your stack
Find out whether the stacks and servers you run are on an affected version.
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
This vulnerability is rooted in CWE-22 (Improper Limitation of a Pathname to a Restricted Directory), a classic path traversal flaw where user-supplied input to the fileName parameter in the /api/file/download endpoint fails to sanitize directory traversal sequences such as '../' or absolute paths. ThingsGateway 12 (identified via CPE cpe:2.3:a:thingsgateway:thingsgateway:12) processes this unsanitized input when constructing file system paths, allowing an attacker to navigate outside the intended document root. The API endpoint lacks input validation, canonicalization, or whitelist-based filename restrictions that would prevent traversal attacks. This is a server-side vulnerability affecting the file download mechanism, a common architectural weakness in IoT gateway and industrial control systems.
Know when Thingsgateway gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P
Primary rating from NVD · only source for this CVE.
CVSS VectorNVD
Lifecycle Timeline
5DescriptionCVE.org
A vulnerability was identified in ThingsGateway 12. This affects an unknown part of the file /api/file/download. The manipulation of the argument fileName leads to path traversal. Remote exploitation of the attack is possible. The exploit is publicly available and might be used. The vendor was contacted early about this disclosure but did not respond in any way.
Executive ViewAI
Organizations using A vulnerability should be aware of moderate risk from CVE-2026-4233, a path traversal vulnerability rated CVSS 4.3. This could allow unauthorized file access. Proof-of-concept code is publicly available. Organizations should apply vendor updates when available and monitor for exploitation.
Apply vendor patch. If patching is delayed: restrict file access via WAF, implement allowlists.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Path traversal exploits occur when applications use user-controlled input to construct file system paths without proper validation.
EUVD-2026-12399
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB