CVE-2024-12866 Local File Inclusion in netease-youdao/qanything
Attackers can read arbitrary files via local file inclusion, potentially leading to remote code execution by accessing sensitive keys and configurations.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2024-12866?
CVE-2024-12866 is a high-severity path traversal vulnerability in netease-youdao/qanything, published on 20 Mar 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
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, and configuration files.
Weakness: CWE-22
Which versions are affected by CVE-2024-12866?
It affects 1 product.
Products include Youdao Qanything.
How do I fix CVE-2024-12866?
No fix has been published for CVE-2024-12866 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2024-12866 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-12866 exists.
Other vulnerabilities in netease-youdao/qanything
- CVE-2024-10264 HTTP Request Smuggling in netease-youdao/qanything
- CVE-2024-12864 Unauthenticated DoS by Sending Large Filename at File Upload Endpoint in netease-youdao/qanything
- CVE-2024-8024 CORS Misconfiguration in netease-youdao/qanything
- CVE-2024-8027 Stored Cross-Site Scripting (XSS) in netease-youdao/QAnything
Sources
Also known as GHSA-6ch3-c5vc-j2r6.