Summary
CVE-2026-50561 is a critical authentication bypass vulnerability in Yuxi, a large-model-based intelligent knowledge base platform maintained by xerrors, affecting all versions prior to 0.6.2. The flaw stems from insufficient validation of identity tokens presented in the Authorization header, allowing administrator tokens from one deployment or test instance to be reused to gain unauthorized access on a different instance. The issue carries a CVSS v3.1 base score of 9.4 (Critical) and requires no authentication or user interaction to exploit remotely.
Technical details
- Root cause: Yuxi’s authentication mechanism only performs a validity check on JWT identity tokens submitted in the Authorization header, without sufficiently validating that the token belongs to the specific deployment instance being accessed.
- Trigger conditions: An attacker possesses or obtains an administrator token issued by any Yuxi deployment (e.g., a test/staging environment) and submits it to a different, target Yuxi instance.
- Attack vector: Network — the malicious token is sent directly to the exposed backend management interface; no prior authentication or victim interaction is required.
- Impact: Successful exploitation bypasses login entirely, granting administrator privileges that allow access to system configuration, invocation of backend APIs, creation of additional admin accounts, and full compromise of the application backend.
Affected software
- Yuxi (xerrors/Yuxi): all versions prior to 0.6.2
Severity
- CVSS v3.1 Base Score: 9.4 (Critical)
- Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Mitigation and recommended actions
- Immediate: Upgrade to Yuxi version 0.6.2 or later, which fixes the token validation flaw.
- If immediate patching is not possible:
- Set the
JWT_SECRET_KEYenvironment variable to a unique, strong, deployment-specific value rather than relying on defaults or shared secrets. - Restrict network exposure of the Yuxi backend/administrative management interface so it is not reachable from the public internet.
- Set the

