{"id":"CVE-2025-0185","aliases":["CVE-2025-0185"],"related":[],"kind":"vulnerability","state":"published","title":"Pandas Query Injection in langgenius/dify","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"es","text":"Una vulnerabilidad en el módulo Vanna de Dify Tools del repositorio langgenius/dify permite la inyección de consultas de Pandas en la última versión. La vulnerabilidad se produce en la función `vn.get_training_plan_generic(df_information_schema)`, que no depura correctamente las entradas del usuario antes de ejecutar consultas con la librería de Pandas. Esto podría provocar la ejecución remota de código (RCE) si se explota.","source":"nvd"}],"published":"2025-03-20T10:09:11.882Z","modified":"2026-06-17T08:26:02.150Z","severity":{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},"severities":[{"scorer":"@huntr_ai","scheme":"CVSS:3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H","score":8.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"custom","introduced":"unspecified","lastAffected":"latest","status":"affected"}],"vendor":"langgenius","product":"langgenius/dify","source":"cvelist"},{"ranges":[],"vendor":"dify","product":"dify","cpe":"cpe:2.3:a:dify:dify:-:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e","tags":["exploit","issue-tracking","third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":[],"assigner":"@huntr_ai","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"total","date":"2025-03-20T14:07:34.863Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-0185","url":"https://www.cve.org/CVERecord?id=CVE-2025-0185","licence":"CVE Terms of Use","modified":"2025-03-20T14:24:59.572Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-0185","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-0185","licence":"Public domain","modified":"2026-06-17T08:26:02.150Z"}],"updatedAt":"2026-11-25T22:58:55.375Z","epss":{"score":0.011,"percentile":0.66629,"date":"2026-12-02T12:00:21.000Z"}}