CVE-2025-0185

HIGH

Dify - Remote Code Execution via Pandas Query Injection in Vanna Module

Title source: llm
STIX 2.1

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.

References (1)

Core 1
Core References
Exploit, Issue Tracking, Third Party Advisory
https://huntr.com/bounties/7d9eb9b2-7b86-45ed-89bd-276c1350db7e

Scores

CVSS v3 8.8
EPSS 0.0098
EPSS Percentile 57.8%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact total

Details

CWE
CWE-94
Status published
Products (1)
dify/dify
Published Mar 20, 2025
Tracked Since Feb 18, 2026