Cyber Resilience

CVE-2024-12866

HighPublic PoC

Published: 20 March 2025

Published
20 March 2025
Modified
01 August 2025
KEV Added
Patch
CVSS Score v3.1 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
EPSS Score 0.0047 65.1th percentile
Risk Priority 15 60% EPSS · 20% KEV · 20% CVSS

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

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

T1005 Data from Local System Collection
Adversaries may search local system sources, such as file systems, configuration files, local databases, virtual machine files, or process memory, to find files of interest and sensitive data prior to Exfiltration.
T1083 File and Directory Discovery Discovery
Adversaries may enumerate files and directories or may search in specific locations of a host or network share for certain information within a file system.
T1190 Exploit Public-Facing Application Initial Access
Adversaries may attempt to exploit a weakness in an Internet-facing host or system to initially access a network.
T1552.001 Credentials In Files Credential Access
Adversaries may search local file systems and remote file shares for files containing insecurely stored credentials.
T1552.004 Private Keys Credential Access
Adversaries may search for private key certificate files on compromised systems for insecurely stored credentials.
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

CVE-2024-10264Same product: Youdao Qanything
CVE-2025-62353Shared CWE-22
CVE-2025-2294Shared CWE-22
CVE-2024-10361Shared CWE-22
CVE-2024-7034Shared CWE-22
CVE-2022-50992Shared CWE-22
CVE-2026-32847Shared CWE-22
CVE-2026-30869Shared CWE-22
CVE-2026-35615Shared CWE-22
CVE-2026-33077Shared CWE-22

Affected Assets

youdao
qanything
2.0.0

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

Directly validates inputs to block path traversal attacks that enable arbitrary file reads in this local file inclusion vulnerability.

prevent

Remediates the specific flaw in netease-youdao/qanything v2.0.0 by identifying, reporting, and correcting the LFI vulnerability through timely patching.

prevent

Enforces approved access authorizations to system resources, preventing unauthorized reads of sensitive files like SSH keys exploited via this LFI vulnerability.

References