Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed Yuxi backend interface
-
DeliveryForge admin JWT with default secret or reuse foreign-instance token
-
ExploitServer accepts signature-only and grants admin
-
ExecutionInvoke management APIs and create attacker admin account
-
ImpactFull 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
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).
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.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
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.
Apply vendor patch.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
EUVD-2026-57220
NVD
CVE.org
EPSS
Vulnrichment
GitHub
VulDB
Exploit-DB