# CVE-2026-55477: Authenticated Arbitrary File Write via Database Import and Xray Log Path Manipulation

- Severity: High 7.2 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.36%, higher than 32% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-25T15:00:36.360Z
- Modified: 2026-10-25T22:10:00.150Z
- Also known as: GHSA-jm48-m3rr-9hgg, GO-2026-6284
- Weaknesses: CWE-20, CWE-73
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- 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.

(As written by CVE List.)

## Affected

- MHSanaei 3x-ui: < 3.3.1
- github.com/mhsanaei/3x-ui/v3 (Go): before 3.3.1
- github.com/mhsanaei/3x-ui/v2 (Go): up to 2.9.4; all versions
- github.com/mhsanaei/3x-ui (Go): all versions

## Every score

- GitHub_M: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`
- GitHub: CVSS:3.1 7.2 High `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/MHSanaei/3x-ui/security/advisories/GHSA-jm48-m3rr-9hgg> (exploit, advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-55477> (advisory)
- <https://github.com/MHSanaei/3x-ui/commit/80e168787ed608e83a065033ee94c8bfc3025ce7> (web)
- <https://github.com/MHSanaei/3x-ui> (package)
- <https://github.com/MHSanaei/3x-ui/releases/tag/v3.3.1> (web)

## Sources

- CVE List: [CVE-2026-55477](https://www.cve.org/CVERecord?id=CVE-2026-55477), CVE Terms of Use, modified 2026-06-25
- GitHub Advisory Database: [GHSA-jm48-m3rr-9hgg](https://github.com/advisories/GHSA-jm48-m3rr-9hgg), CC-BY-4.0, modified 2026-08-26
- Go Vulnerability Database: [GO-2026-6284](https://pkg.go.dev/vuln/GO-2026-6284), CC-BY-4.0, modified 2026-08-26
- NVD: [CVE-2026-55477](https://nvd.nist.gov/vuln/detail/CVE-2026-55477), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-55477 · Whole record: https://cve.day/CVE-2026-55477.json · Rebuilt by cve.day 2026-11-25T22:59:26.378Z
