# CVE-2025-0185: Pandas Query Injection in langgenius/dify

- Severity: High 8.8 (CVSS:3.0, scored by @huntr_ai) `CVSS:3.0/AV:N/AC:L/PR:L/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): 1.10%, higher than 66% of CVEs (2026-12-02)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-03-20T10:09:11.882Z
- Modified: 2026-06-17T08:26:02.150Z
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact total
- Assigned by: @huntr_ai

## Description

A vulnerability in the Dify Tools' Vanna module of the langgenius/dify repository allows for a Pandas Query Injection in the latest version. The vulnerability occurs in the function `vn.get_training_plan_generic(df_information_schema)`, which does not properly sanitize user inputs before executing queries using the Pandas library. This can potentially lead to Remote Code Execution (RCE) if exploited.

(As written by CVE List.)

## Affected

- langgenius langgenius/dify: from unspecified up to latest
- dify dify: no versions given

## Every score

- @huntr_ai: CVSS:3.0 8.8 High `CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e> (exploit, issue-tracking, third-party-advisory)

## Sources

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

---

Page: https://cve.day/CVE-2025-0185 · Whole record: https://cve.day/CVE-2025-0185.json · Rebuilt by cve.day 2026-11-25T22:58:55.375Z
