Skip to main content

Yuxi CVE-2026-50561

| EUVDEUVD-2026-57220 CRITICAL
Improper Authentication (CWE-287)
2026-08-12 GitHub_M
9.4
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed Yuxi backend interface
  2. Delivery
    Forge admin JWT with default secret or reuse foreign-instance token
  3. Exploit
    Server accepts signature-only and grants admin
  4. Execution
    Invoke management APIs and create attacker admin account
  5. Impact
    Full backend takeover

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK

2 techniques across 2 tactics: Defense Evasion, Initial Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires network reachability to Yuxi's backend management interface plus an Authorization-header JWT the server considers validly signed. That is satisfied either by forging a token with the hardcoded default secret 'yuxi_know_secure_key' (used whenever JWT_SECRET_KEY is unset) or by supplying an administrator token generated in any other Yuxi instance or local test environment, because pre-0.6.2 verification checks only signature and expiry and not an instance-specific issuer or audience. Exploitation is LIMITED where operators set JWT_SECRET_KEY to a unique strong per-instance value (the attacker then needs a token from that specific instance) or where the backend management interface is not reachable from the attacker's network; no user interaction and no pre-existing authenticated session on the target are required.

Impact

The supplied CVSS 3.1 vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L (9.4 critical) is consistent with the description: the attack is remote, low-complexity, and requires no legitimate credentials because a validly signed foreign or default-secret token is accepted. No EPSS score, KEV listing, POC, or SSVC decision data was provided, so exploitation-probability and automatability signals are unknown. Practical risk hinges on a deployment fact CVSS does not capture: instances that changed JWT_SECRET_KEY to a unique strong value are much harder to attack (an attacker would need a token from that exact instance), whereas instances left on the hardcoded default 'yuxi_know_secure_key' are trivially forgeable and effectively unauthenticated. This is a genuine high priority for internet-exposed, default-configured instances, but likely lower aggregate real-world risk given the product's niche footprint and the availability of a straightforward configuration workaround.

Exploit ScenarioDerived

An attacker who can reach an internet-exposed Yuxi backend forges an administrator JWT signed with the publicly known default secret 'yuxi_know_secure_key' (or reuses an admin token minted in their own local Yuxi instance) and sends it in the Authorization header. Because the server validates only the signature, the token is accepted as a legitimate administrator, letting the attacker read system configuration, invoke backend management APIs, and create a new admin account for persistent control. No public POC is identified, but low attack complexity (AC:L) and no required privileges (PR:N) make exploitation straightforward against default-secret deployments.

Act Now Prioritize within 24-48h. Why: CRITICAL severity.
Patch available 0.4% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Aug 12, 2026

Administrator authentication bypass in Yuxi (xerrors/Yuxi), a large-model-based knowledge base and knowledge-graph agent platform, affects all versions prior to 0.6.2. Because the backend only checks that a JWT is validly signed - without binding it to the specific deployment instance - an admin token minted in any other Yuxi instance, a local test environment, or one forged with the hardcoded default secret 'yuxi_know_secure_key' is accepted as a valid administrator, yielding full backend takeover. There is no public exploit identified at time of analysis, but the fix commit and the hardcoded default key are publicly visible on GitHub, making token forgery trivial wherever the secret was never changed.

RemediationAI

Vendor-released patch: 0.6.2 - upgrade to Yuxi 0.6.2, which rejects the legacy default JWT secret, generates a unique per-instance JWT_SECRET_KEY and YUXI_INSTANCE_ID, and enforces issuer/audience claims so tokens can no longer be reused across instances (see GHSA-6959-99pq-c56x and commit 1e8b20e30b1258d1cd3ebf3af5c6212da4b84b48). If immediate upgrade is not possible, set the environment variable JWT_SECRET_KEY to a non-default, unique, strong random value for each deployment instance (never leave it at the default 'yuxi_know_secure_key'), which invalidates cross-instance and default-secret forged tokens but will invalidate existing sessions signed with the old key; and/or avoid exposing the backend management interfaces directly to the public network by placing them behind a VPN, IP allowlist, or authenticating reverse proxy, at the cost of reduced remote administrative convenience.

Affected VersionsENISA

Yuxi < 0.6.2

Affected Packages

euvd yuxi fix: 0.6.2

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

The affected component is Yuxi's FastAPI/SQLAlchemy backend authentication layer (backend/server/utils/auth_utils.py and auth_middleware.py). The root cause is CWE-287 (Improper Authentication): token creation and verification used a single symmetric HS256 JWT secret read from JWT_SECRET_KEY with a hardcoded fallback of 'yuxi_know_secure_key', and verification checked only signature validity and expiry - it did not enforce an issuer (iss) or audience (aud) claim, so tokens were not tied to a particular deployment. Any instance sharing (or defaulting to) the same secret therefore trusts each other's tokens. The 0.6.2 fix rejects the legacy default key, auto-generates per-instance JWT_SECRET_KEY and YUXI_INSTANCE_ID values, and now requires and validates iss/aud claims (JWT_AUDIENCE 'yuxi-know-api', issuer 'yuxi-know:<instance_id>'), while also adding rejection of deleted and login-locked users' tokens. CPE cpe:2.3:a:xerrors:yuxi identifies the single affected product.

Know when Yuxi gets its next vulnerability

  • 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 (GitHub_M) PRIMARY 9.4 CRITICAL
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
vuln.today AI 9.8 CRITICAL

Remote reach plus a publicly known default secret gives AC:L/PR:N; admin access exposes configs (C:H), enables management-API abuse (I:H) and full backend takeover including disruption (A:H).

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Aug 12, 2026 - 15:02 EUVD
CVE Published
Aug 12, 2026 - 14:07 cve.org
CRITICAL 9.4

DescriptionCVE.org

Yuxi is a large-model-based intelligent knowledge base and knowledge graph agent development platform. Prior to version 0.6.2, the project's authentication mechanism contains a flaw. In affected versions, the system does not sufficiently validate the identity token in the Authorization header - only performing a validity check. This allows an administrator token generated in another deployment instance or local testing environment to be used to access the backend management interfaces of a different affected instance. An attacker who obtains or constructs an acceptable administrator Authorization token may bypass normal login authentication and gain administrator privileges. This vulnerability could allow an attacker to access system configurations, invoke backend management APIs, create administrator accounts, and ultimately take over the system backend. This issue has been fixed in version 0.6.2. Before upgrading, users are advised to implement the following temporary measures: Set the environment variable JWT_SECRET_KEY to a non-default value, and configure a unique, sufficiently strong JWT/authentication key for each deployment instance; and/or avoid exposing backend management interfaces directly to the public network.

Executive ViewAI

Why It Matters

Yuxi versions prior to 0.6.2 contain a critical authentication bypass that allows attackers to assume administrator privileges without valid credentials, resulting in complete backend compromise. The flaw stems from JWT validation that doesn't bind tokens to the specific deployment instance, enabling attackers to forge admin tokens using the publicly visible hardcoded default secret. Organizations running affected versions face immediate risk of unauthorized access to all knowledge base data and system configuration.

Business Impact: Severe
Compensating Controls

Apply vendor patch.

Threat Intelligence Overview

EPSS Score
0.4%
Top 70% exploitable
Prevalence
Low
niche open-source LLM knowledge-base/agent project, no broad enterprise footprint
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 CRITICAL
CISA KEV No
Public POC No
EPSS 0.4%
Patch available Yes
Active threat No
Deciding rule
CRITICAL severity
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
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Total

Priority Score

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

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

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