Qiskit allows arbitrary code execution decoding QPY format versions < 13
GHSA-6m2c-76ff-6vrf · CVE-2025-2000 · PYSEC-2026-510 · PYSEC-2026-511
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
Description
Impact
A maliciously crafted QPY file can potentially execute arbitrary-code embedded in the payload without privilege escalation when deserializing QPY formats < 13. A python process calling Qiskit's qiskit.qpy.load() function could potentially execute any arbitrary Python code embedded in the correct place in the binary file as part of a specially constructed payload.
Patches
Fixed in Qiskit 1.4.2 and in Qiskit 2.0.0rc2
References
- WEB https://github.com/Qiskit/qiskit/security/advisories/GHSA-6m2c-76ff-6vrf
- ADVISORY https://nvd.nist.gov/vuln/detail/CVE-2025-2000
- PACKAGE https://github.com/Qiskit/qiskit
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/qiskit-terra/PYSEC-2026-511.yaml
- WEB https://github.com/pypa/advisory-database/tree/main/vulns/qiskit/PYSEC-2026-510.yaml
- WEB https://pypi.org/project/qiskit
- WEB https://pypi.org/project/qiskit-terra
- WEB https://www.ibm.com/support/pages/node/7185949
Ready to move
Start Securing
Free, no credit card | First findings in minutes