Skip to content
OpenAdvisories
High · 7.2 CVE-2026-55477 EUVD-2026-39432GHSA-jm48-m3rr-9hggGO-2026-6284

Authenticated Arbitrary File Write via Database Import and Xray Log Path Manipulation

Published Jun 25, 2026 · Updated Jun 25, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
MHSanaei 3x-ui < 3.3.1 —

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
SLES for SAP 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
SLES 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 SUSE-SU-2026:23625-1
ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260827T195228-160000.1.1 openSUSE-SU-2026:21761-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go github.com/mhsanaei/3x-ui all versions — GO-2026-6284
Go github.com/mhsanaei/3x-ui/v2 <= 2.9.4 — GHSA-jm48-m3rr-9hgg
Go github.com/mhsanaei/3x-ui/v2 all versions — GO-2026-6284
Go github.com/mhsanaei/3x-ui/v3 < 3.3.1 3.3.1 GHSA-jm48-m3rr-9hgg

Advisories 2

References