CVE-2025-12695
DSPy does not properly restrict file reads
5.9
MEDIUM
CVSS 3.1
EPSS 0.01%
描述
The overly permissive sandbox configuration in DSPy allows attackers to steal sensitive files in cases when users build an AI agent which consumes user input and uses the “PythonInterpreter” class.
如何修補 CVE-2025-12695
目前尚未發布修補版本。可考慮移除受影響套件,或參考下方連結中的上游建議。
- PyPI/dspy—未列出修補版本
CVE-2025-12695 正在被利用嗎?
低 — EPSS 為 0.0%,目前沒有觀察到大規模利用活動。
受影響套件(1)
- from 0, <= 3.0.3
CVSS 分數
| 來源 | 版本 | 嚴重程度 | 向量 |
|---|---|---|---|
| osv | CVSS 3.1 | MEDIUM5.9 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N |