CVE-2025-2000CWE-502

Qiskit SDK code execution

Critical · published March 14, 2025

CVSS v3.1
9.8
EPSS
1%
Percentile
56.2
In the wild
Unconfirmed
What it is

🔥 A crafty QPY file could run arbitrary code, escaping privilege checks like a magician slipping out of handcuffs! Think of deserializing a QPY file like opening a mysterious package; if you don’t check the contents closely, you might find a surprise that could wreak havoc inside your system, just like unboxing a gift that explodes glitter everywhere! This vulnerability allows an attacker to execute any arbitrary Python code within the context of your running application, potentially leading to complete compromise of your system. Picture an uninvited guest taking over your computer while you’re not looking, changing things around, deleting files, or even stealing sensitive information!

Put simply

Think of deserializing a QPY file like opening a mysterious package; if you don’t check the contents closely, you might find a surprise that could wreak havoc inside your system, just like unboxing a gift that explodes glitter everywhere! CVE-2025-2000 arises from a flaw in the Qiskit framework, where a specially crafted QPY file used in the `qiskit.qpy.load()` function can run malicious Python code without needing elevated privileges, posing a severe risk especially in versions 0.18.0 and 1.4.1.

What to do

This vulnerability allows an attacker to execute any arbitrary Python code within the context of your running application, potentially leading to complete compromise of your system. Picture an uninvited guest taking over your computer while you’re not looking, changing things around, deleting files, or even stealing sensitive information! To protect yourself, immediately update Qiskit to the latest version, as patches are likely to be available. Additionally, avoid loading QPY files from untrusted sources, and implement strict file validation processes to ensure only safe content is executed. Regularly audit your systems to catch any potential threats early! You've got this! By following these steps, you'll be the hero keeping your systems safe and sound! 🛡️

The record
Technical detail
CVSS v3.1
9.8 · CRITICAL
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
CVSS v4.0
Not supplied
EPSS
0.00810 · 56.2th percentile
Weakness
CWE-502 · Deserialization of Untrusted Data
Published
2025-03-14T13:04Z
EPSS history
Timeline
  • 14 MAR 13:04Z
    Qiskit SDK code execution
    cvelistv5