External Control of File Name or Path Affecting github.com/mhsanaei/3x-ui/internal/web/service package, versions <3.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.62% (47th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMMHSANAEI3XUIINTERNALWEBSERVICE-17875101
  • published7 Jul 2026
  • disclosed25 Jun 2026
  • creditUnknown

Introduced: 25 Jun 2026

CVE-2026-55477  (opens in a new tab)
CWE-73  (opens in a new tab)

How to fix?

Upgrade github.com/MHSanaei/3x-ui/internal/web/service to version 3.3.1 or higher.

Overview

Affected versions of this package are vulnerable to External Control of File Name or Path in the database import process. An attacker can overwrite arbitrary files on the host by manipulating Xray configuration values stored in the database, potentially leading to code execution and persistent access as the user running Xray.

CVSS Base Scores

version 4.0
version 3.1