# CVE-2024-7099: SQL Injection in netease-youdao/qanything

- Severity: Critical 9.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.63%, higher than 51% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2024-10-13T21:09:53.816Z
- Modified: 2026-06-17T08:19:21.590Z
- Weaknesses: CWE-89
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: @huntr_ai

## Description

netease-youdao/qanything version 1.4.1 contains a vulnerability where unsafe data obtained from user input is concatenated in SQL queries, leading to SQL injection. The affected functions include `get_knowledge_base_name`, `from_status_to_status`, `delete_files`, and `get_file_by_status`. An attacker can exploit this vulnerability to execute arbitrary SQL queries, potentially stealing information from the database. The issue is fixed in version 1.4.2.

(As written by CVE List.)

## Affected

- netease-youdao netease-youdao/qanything: from unspecified before 1.4.2
- netease qanything: before 1.4.2
- qanything qanything: 1.4.1

## References

- <https://huntr.com/bounties/bc98983e-06cc-4a4b-be01-67e5010cb2c1> (exploit, third-party-advisory)
- <https://github.com/netease-youdao/qanything/commit/a87354f09d93e95350fb45eb343dc75454387554> (patch)

## Sources

- CVE List: [CVE-2024-7099](https://www.cve.org/CVERecord?id=CVE-2024-7099), CVE Terms of Use, modified 2024-10-15
- NVD: [CVE-2024-7099](https://nvd.nist.gov/vuln/detail/CVE-2024-7099), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-7099 · Whole record: https://cve.day/CVE-2024-7099.json · Rebuilt by cve.day 2026-11-25T22:58:46.713Z
