CVE-2026-71198: [OSSA-2026-038] OpenStack Glance: Multiple SSRF vulnerabilities in web-download and HTTP image APIs (CVE-2026-71196, CVE-2026-71197, CVE-2026-71198)

Published Aug 26, 2026
·
Updated

In OpenStack Glance before 32.0.1, the location API does not validate destination hosts when adding an HTTP location to an image. Unlike the web-download import path, the location API only checks the URL scheme and does not apply the importfilteringopts host restrictions. An authenticated user can add a location pointing to internal endpoints such as the cloud metadata service (169.254.169.254), and retrieve the response by downloading the image data. This affects both the new POST /v2/images/{id}/locations API and the old PATCH API when showmultiplelocations is enabled. Deployments with the HTTP store backend enabled are affected.

Other sources

OpenStack Glance is the image service for OpenStack. A Server-Side Request Forgery (SSRF) vulnerability exists in the image location APIs (POST /v2/images/{id}/locations and PATCH /v2/images/{id} with location JSON-patch). When the HTTP store backend is enabled, an authenticated project member can add an image location URL pointing to internal network services (for example http://169.254.169.254/). Glance-api validates only the URL scheme via validateexternallocation() in glance/common/storeutils.py (blocking file://, filesystem://, swift+config://) but performs no host, IP, or port filtering.

In contrast, the web-download import path (fixed by OSSA-2026-004 / CVE-2026-34881) correctly calls validateimporturi() in glance/common/utils.py, which checks allowed/disallowed hosts and ports via importfilteringopts. The location API code paths bypass this filtering entirely. When a location is added, glancestore makes HTTP HEAD (size check) and GET (hash calculation) requests to the attacker-supplied URL. The response body becomes the image data and can be read via GET /v2/images/{id}/file.

The new POST /locations API requires only the addimagelocation policy (SERVICEORPROJECTMEMBER) and does not require showmultiplelocations. The old PATCH API requires showmultiplelocations=True and the setimagelocation policy. Fix is not yet available (coordinating with upstream).

Reporter: Cyril Roelandt (OpenStack Glance PTL, Glance Core Security Team) Upstream: https://bugs.launchpad.net/glance/+bug/2161330 PSIRT Ticket: PSIRTSUPT-22366 Downstream tracker: OSPRH-34480

— Red Hat

Affected Software

12 affected componentsFixes available
Openstack Glance<32.0.1
debian/glance<2:25.1.0-2+deb12u5
2:25.1.0-2+deb12u5
debian/glance<2:30.0.0-3+deb13u4
2:30.0.0-3+deb13u4
debian/glance<2:32.0.0-4
2:32.0.0-4
debian/glance<=2:25.1.0-2+deb12u3
2:25.1.0-2+deb12u52:30.0.0-3+deb13u42:32.0.0-4
ubuntu/glance*
ubuntu/glance*
ubuntu/glance*
ubuntu/glance*
ubuntu/glance*
ubuntu/glance*
ubuntu/glance*

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade debian/glance to a version that resolves this vulnerability.

    Fixed in 2:25.1.0-2+deb12u5
  2. Upgrade

    Upgrade debian/glance to a version that resolves this vulnerability.

    Fixed in 2:30.0.0-3+deb13u4
  3. Upgrade

    Upgrade debian/glance to a version that resolves this vulnerability.

    Fixed in 2:32.0.0-4
  4. Upgrade

    Upgrade debian/glance to a version that resolves this vulnerability.

    Fixed in 2:25.1.0-2+deb12u5Fixed in 2:30.0.0-3+deb13u4Fixed in 2:32.0.0-4

Event History

Aug 26, 2026
Data Sourced
via Red Hat·03:06 PM
DescriptionSeverityAffected Software
Sep 14, 2026
CVE Published
via MITRE·06:54 AM
Data Sourced
via MITRE·06:54 AM
DescriptionWeakness
Data Sourced
via OSV·07:17 AM
DescriptionSeverityAffected Software
Data Sourced
via NVD·07:17 AM
DescriptionSeverityWeakness
Nov 21, 2026
Updated
via OSV·01:00 PM
Affected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203