{"schemaVersion":3,"id":"CVE-2026-55477","aliases":["GHSA-jm48-m3rr-9hgg","GO-2026-6284"],"status":"published","duplicateOf":null,"title":"Authenticated Arbitrary File Write via Database Import and Xray Log Path Manipulation","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.","dates":{"published":"2026-06-25T15:00:36.360Z","modified":"2026-06-25T15:48:02.922Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.2,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Go","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":3.1,"impact":9.8,"computed":true},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.2,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H","exploitability":null,"impact":null,"computed":false}]},"epss":{"probability":0.00615,"percentile":0.48805,"severity":"low","asOf":"2026-10-22T00:00:00.000Z","change":{"pp":0,"baselineDate":"2026-09-22T00:00:00.000Z","baselineScore":0.00615},"history":[{"date":"2026-09-14T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-15T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-16T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-17T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-18T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-19T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-20T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-21T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-22T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00615,"percentile":0.48805}],"last30":[{"date":"2026-09-22T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-23T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-24T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-25T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-26T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-27T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-28T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-29T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-09-30T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-01T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-02T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-03T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-04T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-05T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-06T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-07T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-08T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-09T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-10T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-11T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-12T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-13T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-14T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-15T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-16T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-17T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-18T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-19T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-20T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-21T00:00:00.000Z","score":0.00615,"percentile":null},{"date":"2026-10-22T00:00:00.000Z","score":0.00615,"percentile":0.48805}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-73","name":"External Control of File Name or Path","description":"The product allows user input to control or influence paths or file names that are used in filesystem operations.","type":"weakness","status":"Draft","abstraction":"Base","likelihoodOfExploit":"High","url":"https://cwe.mitre.org/data/definitions/73.html"}],"affected":[{"vendor":"github.com/mhsanaei","product":"3x-ui","name":"github.com/mhsanaei/3x-ui","label":"3x-ui","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mhsanaei/3x-ui","purlType":"golang","versions":[{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/mhsanaei/3x-ui","product":"v2","name":"github.com/mhsanaei/3x-ui/v2","label":"v2","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mhsanaei/3x-ui/v2","purlType":"golang","versions":[{"text":"≤ 2.9.4","noFixRecorded":false,"fixedIn":null},{"text":"All versions","noFixRecorded":true,"fixedIn":null}],"versionsText":"≤ 2.9.4 | All versions (No fix recorded)","eol":null,"hubHref":null},{"vendor":"github.com/mhsanaei/3x-ui","product":"v3","name":"github.com/mhsanaei/3x-ui/v3","label":"v3","ecosystem":"Go","cpePart":null,"purl":"pkg:golang/github.com/mhsanaei/3x-ui/v3","purlType":"golang","versions":[{"text":"< 3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1","eol":null,"hubHref":null},{"vendor":"mhsanaei","product":"3x-ui","name":"3x-ui","label":"3x-ui","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 3.3.1","noFixRecorded":false,"fixedIn":null}],"versionsText":"< 3.3.1","eol":null,"hubHref":"/vendor/mhsanaei/3x-ui"}],"affectedCount":4,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/MHSanaei/3x-ui/security/advisories/GHSA-jm48-m3rr-9hgg","label":"github.com/MHSanaei/3x-ui/security/advisories/GHSA-jm48-m3rr-9hgg","hostname":"github.com","tags":["X Refsource CONFIRM","WEB","Advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-55477","label":"nvd.nist.gov/vuln/detail/CVE-2026-55477","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/MHSanaei/3x-ui/commit/80e168787ed608e83a065033ee94c8bfc3025ce7","label":"github.com/MHSanaei/3x-ui/commit/80e168787ed608e83a065033ee94c8bfc3025ce7","hostname":"github.com","tags":["WEB"]},{"url":"https://github.com/MHSanaei/3x-ui","label":"github.com/MHSanaei/3x-ui","hostname":"github.com","tags":["PACKAGE"]},{"url":"https://github.com/MHSanaei/3x-ui/releases/tag/v3.3.1","label":"github.com/MHSanaei/3x-ui/releases/tag/v3.3.1","hostname":"github.com","tags":["WEB"]}],"lineage":{"upstream":[],"downstream":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"],"duplicates":[],"related":["OPENSUSE-SU-2026:21761-1","SUSE-SU-2026:23625-1"]},"timeline":[{"kind":"published","date":"2026-06-25T15:00:36.360Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-06-25T15:48:02.922Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"risk":{"score":29,"level":"medium","profile":"Default","thresholds":{"critical":75,"high":50,"medium":25,"low":10}},"meta":{"dataAsOf":"2026-10-22T17:39:04.633Z","stale":false,"partial":false}}