{"id":"CVE-2026-55477","published":"2026-06-25T15:00:36Z","modified":"2026-06-25T15:48:02Z","title":"Authenticated Arbitrary File Write via Database Import and Xray Log Path Manipulation","vendor":"MHSanaei","product":"3x-ui","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.2,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00615,"percentile":0.50411,"provenance":"source"},"cwes":[{"id":"CWE-73","name":"External Control of File Name or Path"}],"references":[{"url":"https://github.com/MHSanaei/3x-ui/security/advisories/GHSA-jm48-m3rr-9hgg","tags":["x_refsource_CONFIRM"]}],"priority":{"score":15.1,"factors":[{"name":"EPSS percentile","points":10.08},{"name":"CVSS severity","points":5.04}]},"vendorSlug":"mhsanaei","affectedVersions":[{"vendor":"MHSanaei","product":"3x-ui","versions":["< 3.3.1"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"total","timestamp":"2026-06-25T15:47:40.319087Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"Go","package":"github.com/mhsanaei/3x-ui/v3","vulnerableRanges":["<3.3.1"],"patched":["3.3.1"],"from":["GHSA-jm48-m3rr-9hgg","GO-2026-6284"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mhsanaei/3x-ui/v2","vulnerableRanges":["<=2.9.4","all versions"],"patched":[],"from":["GHSA-jm48-m3rr-9hgg","GO-2026-6284"],"provenance":"source"},{"ecosystem":"Go","package":"github.com/mhsanaei/3x-ui","vulnerableRanges":["all versions"],"patched":[],"from":["GO-2026-6284"],"provenance":"source"}],"summary":{"text":"The 3x-ui web control panel from MHSanaei, which manages Xray-core servers, contains an arbitrary file write flaw in its database import functionality, where Xray log path values stored in the database can be manipulated to control where files are written. An attacker who already holds administrator credentials on the panel, and can reach it over the network, can use this to write files anywhere the Xray process can write, which can lead to code execution and persistent access as the user running Xray, including root if Xray runs as root.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:31:49Z"},"euvd":{"id":"EUVD-2026-39432","exploited":false,"provenance":"source"}}