Advisory

PYSEC-2026-2685

Also known as: CVE-2026-24708, GHSA-m4f3-qp2w-gwh6

Summary

OpenStack Nova calls qemu-img without format restrictions for resize

Details

An issue was discovered in OpenStack Nova before 30.2.2, 31 before 31.2.1, and 32 before 32.1.1. By writing a malicious QCOW header to a root or ephemeral disk and then triggering a resize, a user may convince Nova's Flat image backend to call qemu-img without a format restriction, resulting in an unsafe image resize operation that could destroy data on the host system. Only compute nodes using the Flat image backend (usually configured with use_cow_images=False) are affected.

Severity

High Basis: CVSS v3 score 8.2, vector CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:N/I:H/A:H

Dates

Published
2026-07-13 14:36 UTC
Modified
2026-07-13 16:32 UTC

Affected packages and fixes

nova

PyPI · All systems

Affected

  • introduced 0, last affected 30.2.1, introduced 31.0.0.0rc1, last affected 31.2.0, introduced 32.0.0.0rc1, last affected 32.1.0 (ecosystem)

Fixed versions

None listed

Fix

No fixed version is listed.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences