ghsa-vvw2-h478-xwr3
Vulnerability from github
Published
2025-11-04 15:31
Modified
2025-11-04 17:05
Severity ?
VLAI Severity ?
Summary
DSPy does not properly restrict file reads
Details
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.
{
"affected": [
{
"package": {
"ecosystem": "PyPI",
"name": "dspy"
},
"ranges": [
{
"events": [
{
"introduced": "0"
},
{
"last_affected": "3.0.3"
}
],
"type": "ECOSYSTEM"
}
]
}
],
"aliases": [
"CVE-2025-12695"
],
"database_specific": {
"cwe_ids": [
"CWE-653"
],
"github_reviewed": true,
"github_reviewed_at": "2025-11-04T17:05:45Z",
"nvd_published_at": "2025-11-04T14:15:34Z",
"severity": "MODERATE"
},
"details": "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 \u201cPythonInterpreter\u201d class.",
"id": "GHSA-vvw2-h478-xwr3",
"modified": "2025-11-04T17:05:45Z",
"published": "2025-11-04T15:31:35Z",
"references": [
{
"type": "ADVISORY",
"url": "https://nvd.nist.gov/vuln/detail/CVE-2025-12695"
},
{
"type": "PACKAGE",
"url": "https://github.com/stanfordnlp/dspy"
},
{
"type": "WEB",
"url": "https://research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652"
}
],
"schema_version": "1.4.0",
"severity": [
{
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"type": "CVSS_V3"
}
],
"summary": "DSPy does not properly restrict file reads"
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…