Security mailing lists by PureSourceCode

CVE-2025-12695

MEDIUM 5.9CVSS 3.1

DSPy does not properly restrict file reads

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.

Published
4 Nov 2025
Last modified
5 Nov 2026
Assigned by
reefs@jfrog.com
NVD status
Deferred
Weakness
CWE-653
Also known as
GHSA-vvw2-h478-xwr3PYSEC-2026-1318
Sources
NVDJSONOSV GHSA-vvw2-h478-xwr3JSONOSV PYSEC-2026-1318JSON

Scores

SourceScored byVersionScoreVector / decision
NVD reefs@jfrog.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV PyPI dspy <= 3.0.3

References

History

  • 25 Nov 2026 20:59 UTC · NVD: first stored (published 4 Nov 2025)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 4 Nov 2025)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.