CVE-2025-12695
Full vulnerability record from the local CVENow database.
Description
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.
Severity
MEDIUM
CVSS score
5.9
(v3.1)
Vulnerability status
Deferred
Source identifier
Published
2025-11-04 14:15:34.087000
Last modified
2026-11-05 14:10:00.273000
View original CVE JSON
{
"id": "CVE-2025-12695",
"sourceIdentifier": "[email protected]",
"published": "2025-11-04T14:15:34.087",
"lastModified": "2026-11-05T14:10:00.273",
"vulnStatus": "Deferred",
"cveTags": [],
"descriptions": [
{
"lang": "en",
"value": "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."
},
{
"lang": "es",
"value": "La configuración excesivamente permisiva de la sandbox en DSPy permite a los atacantes robar archivos sensibles en casos en que los usuarios construyen un agente de IA que consume la entrada del usuario y utiliza la clase “PythonInterpreter”."
}
],
"affected": [
{
"source": "[email protected]",
"affectedData": [
{
"collectionURL": "https://pypi.org/project/pip",
"packageName": "dspy",
"versions": [
{
"version": "0",
"versionType": "python",
"status": "affected"
}
]
}
]
}
],
"metrics": {
"cvssMetricV31": [
{
"source": "[email protected]",
"type": "Secondary",
"cvssData": {
"version": "3.1",
"vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N",
"baseScore": 5.9,
"baseSeverity": "MEDIUM",
"attackVector": "NETWORK",
"attackComplexity": "HIGH",
"privilegesRequired": "NONE",
"userInteraction": "NONE",
"scope": "UNCHANGED",
"confidentialityImpact": "HIGH",
"integrityImpact": "NONE",
"availabilityImpact": "NONE"
},
"exploitabilityScore": 2.2,
"impactScore": 3.6
}
],
"ssvcV203": [
{
"source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"ssvcData": {
"timestamp": "2025-11-04T14:19:21.124251Z",
"id": "CVE-2025-12695",
"options": [
{
"exploitation": "poc"
},
{
"automatable": "yes"
},
{
"technicalImpact": "partial"
}
],
"role": "CISA Coordinator",
"version": "2.0.3"
}
}
]
},
"weaknesses": [
{
"source": "[email protected]",
"type": "Secondary",
"description": [
{
"lang": "en",
"value": "CWE-653"
}
]
}
],
"references": [
{
"url": "https://research.jfrog.com/vulnerabilities/dspy-sandbox-escape-arbitrary-file-read-jfsa-2025-001495652/",
"source": "[email protected]"
}
]
}