Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…
EPSS 0.3%top 73%

CVE-2026-55477: CWE-73: External Control of File Name or Path in MHSanaei 3x-ui

0
High
VulnerabilityCVE-2026-55477cvecve-2026-55477cwe-73
Published: 06/25/2026 (06/25/2026, 15:00:36 UTC)
Source: CVE Database V5
Vendor/Project: MHSanaei
Product: 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

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
mhsanaei/3x-ui
pkg:github/mhsanaei/3x-ui
Affected versions
<3.3.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: 06/25/2026, 16:01:01 UTC

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.

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

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 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