CVE-2026-55477: CWE-73: External Control of File Name or Path in MHSanaei 3x-ui
3X-UI is a web control panel for managing Xray-core servers. Prior to 3.3.1, an authenticated administrator can abuse the database import functionality to achieve arbitrary file write on the host by modifying Xray configuration values stored in the database. This can be leveraged to obtain code execution and persistent access as the user running Xray (including root when Xray is running as root). This vulnerability is fixed in 3.3.1.
AI Analysis
Technical Summary
This vulnerability (CVE-2026-55477) in MHSanaei 3x-ui arises from external control of file name or path (CWE-73) via the database import functionality. An authenticated administrator can modify stored Xray configuration values to achieve arbitrary file write on the host system. Successful exploitation can lead to code execution and persistent access as the user running Xray, potentially root. The vulnerability is resolved in version 3.3.1.
Potential Impact
An attacker with authenticated administrator access can write arbitrary files on the host, leading to code execution and persistent access with the privileges of the Xray process. If Xray runs as root, this results in full system compromise. This elevates the risk of unauthorized control and potential system takeover.
Mitigation Recommendations
Upgrade to 3X-UI version 3.3.1 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor advisory stating the fix in 3.3.1.
CVE-2026-55477: CWE-73: External Control of File Name or Path in MHSanaei 3x-ui
Description
3X-UI is a web control panel for managing Xray-core servers. Prior to 3.3.1, an authenticated administrator can abuse the database import functionality to achieve arbitrary file write on the host by modifying Xray configuration values stored in the database. This can be leveraged to obtain code execution and persistent access as the user running Xray (including root when Xray is running as root). This vulnerability is fixed in 3.3.1.
CVSS v3.1
Score 7.2high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability (CVE-2026-55477) in MHSanaei 3x-ui arises from external control of file name or path (CWE-73) via the database import functionality. An authenticated administrator can modify stored Xray configuration values to achieve arbitrary file write on the host system. Successful exploitation can lead to code execution and persistent access as the user running Xray, potentially root. The vulnerability is resolved in version 3.3.1.
Potential Impact
An attacker with authenticated administrator access can write arbitrary files on the host, leading to code execution and persistent access with the privileges of the Xray process. If Xray runs as root, this results in full system compromise. This elevates the risk of unauthorized control and potential system takeover.
Mitigation Recommendations
Upgrade to 3X-UI version 3.3.1 or later, where this vulnerability is fixed. No other official remediation or temporary fixes are documented. Patch status is confirmed by the vendor advisory stating the fix in 3.3.1.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-16T22:10:37.609Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a3d4d4d4853345fc124a365
Added to database: 06/25/2026, 15:46:21 UTC
Last enriched: 06/25/2026, 16:01:01 UTC
Last updated: 08/09/2026, 16:01:01 UTC
Views: 153
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.