CVE-2024-12866
Published: 20 March 2025
Summary
CVE-2024-12866 is a high-severity Path Traversal (CWE-22) vulnerability in Youdao Qanything. Its CVSS base score is 7.5 (High).
Operationally, exploitation aligns with the MITRE ATT&CK technique Data from Local System (T1005); ranked in the top 34.9% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified are NIST 800-53 AC-3 (Access Enforcement) and SI-10 (Information Input Validation).
Deeper analysis
CVE-2024-12866 is a local file inclusion vulnerability (CWE-22) affecting netease-youdao/qanything version v2.0.0. Published on 2025-03-20, it enables attackers to read arbitrary files on the file system, with a CVSS v3.1 base score of 7.5 (AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N), indicating high confidentiality impact.
A remote, unauthenticated attacker can exploit this vulnerability over the network with low attack complexity and no user interaction required. Successful exploitation allows reading sensitive files such as private SSH keys, private files, source code, and configuration files, potentially leading to remote code execution.
Mitigation details are available in the advisory published on Huntr at https://huntr.com/bounties/c23da7c7-a226-40a2-83db-6a8ab1b2ef64.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-6993
Vulnerability details
A local file inclusion vulnerability exists in netease-youdao/qanything version v2.0.0. This vulnerability allows an attacker to read arbitrary files on the file system, which can lead to remote code execution by retrieving private SSH keys, reading private files, source code,…
more
and configuration files.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise TechniquesAI
Why these techniques?
LFI vulnerability enables exploitation of public-facing application (T1190), arbitrary file reads for file/directory discovery (T1083) and data collection from local system (T1005), and access to unsecured credentials in files including private SSH keys (T1552.001, T1552.004).
CVEs Like This One
Affected Assets
Mitigating Controls
Mitigating Controls (NIST 800-53 r5) AI
Directly validates inputs to block path traversal attacks that enable arbitrary file reads in this local file inclusion vulnerability.
Remediates the specific flaw in netease-youdao/qanything v2.0.0 by identifying, reporting, and correcting the LFI vulnerability through timely patching.
Enforces approved access authorizations to system resources, preventing unauthorized reads of sensitive files like SSH keys exploited via this LFI vulnerability.