CVE-2025-0185

Pandas Query Injection in langgenius/dify

State
Published
Severity
8.8 High
Published
Mar 20, 2025
Updated
Mar 20, 2025
Reserved
Jan 2, 2025

Read the record on cve.org

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.

Scores

CVSSScoreVectorSource
3.08.8 HighCVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H@huntr_ai

Weaknesses

  • CWE-94 Improper Control of Generation of Code

Affected Products

ProductVersions
langgenius/difylanggenius
  • latest and earlierAffected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.