Summary
CVE-2026-85671 is a missing authentication vulnerability (CWE-306) affecting QAnything, the open-source retrieval-augmented Q&A/knowledge-base platform from NetEase Youdao. The /api/local_doc_qa/get_file_base64 and /api/local_doc_qa/get_doc endpoints do not enforce authentication or ownership checks, allowing a remote, unauthenticated attacker to retrieve base64-encoded files and parsed document chunks belonging to any tenant. The issue carries a High severity rating (CVSS 8.7) and directly threatens the confidentiality of knowledge-base content stored in affected deployments.
Technical details
- Root cause: The
get_file_base64andget_dochandlers in QAnything’slocal_doc_qaAPI do not validate that the requesting user/session is authorized to access the requested file or document identifier — no authentication or ownership/tenant verification is performed before returning content. - Trigger conditions: An attacker only needs network access to the exposed API and a valid or guessable/enumerable file or document ID; no credentials, session tokens, or user interaction are required.
- Attack vector: Network-based (AV:N), low attack complexity, no privileges required, no user interaction — the attacker sends direct HTTP requests to the affected endpoints.
- Impact: Disclosure of arbitrary uploaded files (via base64 retrieval) and parsed document chunks across knowledge bases, including cross-tenant data in multi-tenant deployments. The vulnerability impacts confidentiality only; integrity and availability are not affected.
Affected software
- Product: QAnything (netease-youdao/QAnything)
- Versions affected: All versions up to and including 2.0.0
Severity
- CVSS v3.1 Base Score: 7.5 (High) —
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N - CVSS v4.0 Base Score: 8.7 (High) —
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Mitigation and recommended actions
- Immediate: At the time of publication, no patched release addressing this specific issue has been confirmed. Organizations should monitor the official NetEase Youdao QAnything repository for a fixed release beyond 2.0.0 and upgrade as soon as a patch is available.
- If no patch is available:
- Do not expose QAnything’s API endpoints (particularly
/api/local_doc_qa/get_file_base64and/api/local_doc_qa/get_doc) directly to the internet. - Place the application behind an authenticating reverse proxy or API gateway that enforces access control and ownership checks before requests reach these endpoints.
- Restrict network access to trusted internal networks or VPN, and apply firewall rules/allow-lists limiting who can reach the QAnything service.
- Audit file and document identifiers for predictability; where possible, rotate or randomize identifiers to reduce the risk of enumeration.
- Monitor access logs for unusual or high-volume requests to the affected endpoints, which may indicate enumeration attempts.
- Do not expose QAnything’s API endpoints (particularly

