Skip to main content

x-ui CVE-2026-79317

| EUVDEUVD-2026-84149 MEDIUM
Insufficient Session Expiration (CWE-613)
2026-09-21 mitre GHSA-m43c-83cc-q6q2
4.8
CVSS 3.1 · Vendor: mitre
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain valid pre-change admin cookie
  2. Delivery
    Admin rotates username/password
  3. Exploit
    Replay old signed cookie
  4. Execution
    Auth deserializes user without DB re-check
  5. Impact
    Retain control of x-ui management interface

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V7 - Session Management Session expiration enforcement
Exploitation Conditions

Exploitation requires the attacker to already possess a valid admin session cookie issued by x-ui 0.3.2 BEFORE the administrator rotated the username or password; the vulnerability's entire value is that this stale cookie remains accepted afterward. The specific defect is that the full user object is stored in a client-side signed cookie and authentication only confirms a user object can be retrieved from it, with no re-validation against the database and no session-version/token-invalidation check. Limiting factors: the attacker must have obtained the cookie by some prior means (theft, leaked backup, shared session), and the flaw only matters where credential rotation was relied upon as remediation - hence CVSS AC:H. It does not enable a fresh unauthenticated login by an attacker with no cookie.

Impact

This is a genuine but modest-severity issue best characterized as post-rotation session persistence (CWE-613 insufficient session expiration), not the 'Information Disclosure' its tag implies. The CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N = 4.8 Medium) reflects the real constraint: while nominally 'unauthenticated' (PR:N) and network-reachable (AV:N), successful exploitation requires the attacker to already hold a valid pre-change admin cookie, which is exactly why AC:H is assigned - this is a stolen/retained-credential persistence flaw, not a fresh remote break-in. EPSS is low at 0.19% (8th percentile), there is no KEV listing, and no confirmed public exploit code (one reference is a third-party CVE writeup on TraceLoom, which is analysis rather than a verified weaponized POC). Signals are internally consistent: low EPSS + no KEV + niche product + precondition of prior cookie possession all point to a low-priority, non-widespread issue rather than an urgent threat. The main caveat is a metric tension - PR:N combined with AC:H is defensible only because the 'privilege' (a leaked admin cookie) is modeled as an attack precondition rather than an authentication requirement; teams treating credential rotation as their compromise-recovery control should note this flaw specifically defeats that control.

Exploit ScenarioDerived

An admin's session cookie is captured (e.g., via prior compromise, shared workstation, or leaked backup) and later the admin rotates the username/password believing this evicts the attacker. Because x-ui 0.3.2 validates only that a user object can be deserialized from the signed cookie - never re-checking the database or a session version - the attacker replays the old cookie and retains full access to the management panel. No public exploit code is confirmed at time of analysis; exploitation requires no special tooling beyond replaying the retained cookie.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Sep 22, 2026

Stale session cookies keep working in x-ui 0.3.2, so an attacker who already holds an administrator cookie issued before a credential change retains full access to the management panel even after the username or password has been rotated. The root cause is CWE-613 (insufficient session expiration): the complete user object is stored in a client-side signed cookie and authentication only verifies that a user object can be deserialized from it, with no re-validation against the database and no session-version or revocation check. Exploitation requires prior possession of a valid admin cookie (the assessed CVSS vector is CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N, score 4.8, and does not permit a fresh unauthenticated login without a cookie); EPSS is 0.19% (8th percentile), there is no CISA KEV entry, no public exploit identified at time of analysis, and no vendor-released patch identified at time of analysis, so credential rotation alone cannot be relied on as containment.

RemediationAI

No vendor-released patch was identified at time of analysis, so remediation has to be compensating-control driven. The single most effective action is to rotate the server-side secret used to sign session cookies: because the user object is carried entirely client-side and validated only by signature, changing that key instantly invalidates every previously issued cookie, including the attacker's stale one - the trade-off is that all legitimate users are logged out at once, and any other component sharing that secret must be updated in the same maintenance window. Where the signing key cannot be rotated, treat every cookie issued before the credential change as compromised and assume any post-rotation use of the management interface is attacker activity; changing the username or password again will not help, which is precisely the defect here. Because no server-side session store or token revocation list exists in 0.3.2, there is no per-session kill switch, so reduce exposure instead: bind the panel to localhost or a management VLAN, restrict the panel port with firewall rules or an IP allowlist, and place it behind a VPN or an authenticating reverse proxy (side effect: legitimate remote administration must be re-routed, and any published panel URL is broken). Audit panel logs and configuration for changes made after the last credential rotation to determine whether a stale cookie was already used, and plan a migration to a maintained x-ui release or actively maintained fork once one is confirmed to implement server-side session validation and session-version checks. Advisory references for tracking fixes are the CVE record at https://nvd.nist.gov/vuln/detail/CVE-2026-79317, the ENISA EUVD entry EUVD-2026-84149, the upstream repository https://github.com/vaxilu/x-ui, and the technical analysis at https://github.com/lichoin/TraceLoom/blob/main/CVEs/CVE-2026-79317.md.

Affected VersionsENISA

n/a n/a

Affects your stack

Find out whether the stacks and servers you run are on an affected version.

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The affected code is x-ui 0.3.2, the panel published at github.com/vaxilu/x-ui; no CPE has been assigned (CPE data is a placeholder cpe:2.3:a:n/a:n/a:*:*:*:*:*:*:*) and the EUVD record EUVD-2026-84149 likewise lists affected versions as n/a, so identification has to be done by product and version rather than by CPE matching. The flaw is in the session/auth layer rather than in cryptography: the application serializes the full user object (including its administrative role) into a cookie that is signed with a server-side secret, and the authentication middleware treats a successful signature check plus deserialization as proof of a current, valid session. A signature only guarantees integrity and origin, not freshness or continued validity, so there is no server-side session record to expire, no session version/nonce embedded in the cookie, and no token revocation list - the Cookie-to-user-object round trip substitutes for a database lookup. Consequently, when an administrator changes the username or password, no state that the cookie depends on changes, and pre-existing cookies stay valid indefinitely. The CWE class is CWE-613, insufficient session expiration; the third-party 'Information Disclosure' tag attached to this CVE understates the issue, because the real impact is unauthorized continued access to and operation of the administrative interface, not mere data exposure. It is important to note the constraint: this does not let an attacker with no cookie log in, and it adds no value outside the window where credential rotation was the remediation being relied upon.

Know when the next one hits your stack

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (mitre) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.8 MEDIUM

AC:H and PR:N because success needs a previously issued admin cookie (modeled as precondition, not credential); network-reachable panel; C:L/I:L for retained management access, A:N as no availability impact.

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
4.0 AV:N/AC:H/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (mitre).

CVSS VectorVendor: mitre

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

2
CVSS changed
Sep 22, 2026 - 15:22 NVD
4.8 (MEDIUM)
CVE Published
Sep 21, 2026 - 00:00 cve.org
UNKNOWN (no severity yet)

DescriptionCVE.org

A session invalidation flaw exists in x-ui 0.3.2. The full user object is stored in a client-side signed cookie, and authentication only checks that a user object can be retrieved from the cookie without re-validating against the database or any session version. When an administrator changes the username or password, previously issued session cookies are not revoked, so an attacker who holds a pre-change admin cookie can continue accessing and operating the management interface after the credentials have been rotated.

Threat Intelligence Overview

EPSS Score
0.2%
Top 92% exploitable
Prevalence
Low
niche self-hosted Xray/V2Ray proxy management panel, no enterprise footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy