CVE-2026-71196: [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

[Unknown description]

Other sources

OpenStack Glance is the image service for OpenStack. The web-download import method allows authenticated users to supply a URI from which Glance fetches image data server-side. The validateimporturi() function in glance/common/utils.py (line 225) validates the URI against configurable allow/deny lists for schemes, hosts, and ports. However, the default configuration shipped with Glance has empty allowedhosts and disallowedhosts lists, meaning no host filtering is applied. Only scheme filtering (http/https) and port filtering (80/443) are active by default.

The port check in validateimporturi() (line 270) is bypassed when no explicit port is specified in the URL, because urllib.parse.urlparse returns port=None for URLs using default ports (for example http://169.254.169.254/path), and the check short-circuits on the falsy None value.

This allows any authenticated user with the member role to make Glance issue HTTP/HTTPS requests to arbitrary internal hosts, including the cloud metadata service at 169.254.169.254. Because the fetched bytes become the image payload and are retrievable via GET /v2/images/{imageid}/file, this is a full-read SSRF that can exfiltrate internal service responses including cloud instance credentials.

The vulnerability exists in all versions of Glance that implement the web-download import method with the default importfilteringopts configuration. The web-download method is enabled by default via enabledimportmethods. Fix is not yet available (coordinating with upstream).

Affected code: - glance/common/utils.py: validateimporturi() (lines 225-274) - glance/async/flows/internalplugins/init.py: importfilteringopts defaults - glance/async/flows/internalplugins/webdownload.py: WebDownload.execute() - glance/api/v2/images.py: importimage() entry point

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

— Red Hat

Affected Software

12 affected componentsFixes available
Openstack Glance
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 3, 2026
CVE Published
via OSV·08:47 PM
Data Sourced
via OSV·08:47 PM
DescriptionAffected Software
Nov 21, 2026
Updated
via OSV·01:00 PM
Affected Software
Nov 24, 2026
Data Sourced
via OSV·02:56 PM
Severity

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