{"id":"UBUNTU-CVE-2026-71198","details":"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 import_filtering_opts 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 show_multiple_locations is enabled. Deployments with the HTTP store backend enabled are affected.","modified":"2026-09-16T14:01:43.610790322Z","published":"2026-09-14T07:17:00Z","upstream":["CVE-2026-71198"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-71198"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-71198"},{"type":"REPORT","url":"https://security.openstack.org/ossa/OSSA-2026-038.html"}],"affected":[{"package":{"name":"glance","ecosystem":"Ubuntu:Pro:16.04:LTS","purl":"pkg:deb/ubuntu/glance?arch=source&distro=esm-infra%2Fxenial"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:11.0.0-0ubuntu1","2:12.0.0~b1-0ubuntu1","2:12.0.0~b2-0ubuntu1","2:12.0.0~b3-0ubuntu1","2:12.0.0~rc1-0ubuntu1","2:12.0.0-0ubuntu1","2:12.0.0-0ubuntu2","2:12.0.0-0ubuntu2+esm1"],"ecosystem_specific":{"binaries":[{"binary_name":"glance","binary_version":"2:12.0.0-0ubuntu2+esm1"},{"binary_version":"2:12.0.0-0ubuntu2+esm1","binary_name":"glance-api"},{"binary_name":"glance-common","binary_version":"2:12.0.0-0ubuntu2+esm1"},{"binary_name":"glance-glare","binary_version":"2:12.0.0-0ubuntu2+esm1"},{"binary_name":"glance-registry","binary_version":"2:12.0.0-0ubuntu2+esm1"},{"binary_name":"python-glance","binary_version":"2:12.0.0-0ubuntu2+esm1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71198.json"}},{"package":{"name":"glance","ecosystem":"Ubuntu:Pro:18.04:LTS","purl":"pkg:deb/ubuntu/glance?arch=source&distro=esm-infra%2Fbionic"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:15.0.0-0ubuntu1","2:16.0.0~b2-0ubuntu2","2:16.0.0~rc1-0ubuntu1","2:16.0.0~rc2-0ubuntu1","2:16.0.0~rc3-0ubuntu1","2:16.0.0-0ubuntu1","2:16.0.1-0ubuntu1.1","2:16.0.1-0ubuntu1.1+esm2"],"ecosystem_specific":{"binaries":[{"binary_name":"glance","binary_version":"2:16.0.1-0ubuntu1.1+esm2"},{"binary_name":"glance-api","binary_version":"2:16.0.1-0ubuntu1.1+esm2"},{"binary_name":"glance-common","binary_version":"2:16.0.1-0ubuntu1.1+esm2"},{"binary_name":"glance-registry","binary_version":"2:16.0.1-0ubuntu1.1+esm2"},{"binary_version":"2:16.0.1-0ubuntu1.1+esm2","binary_name":"python-glance"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71198.json"}},{"package":{"name":"glance","ecosystem":"Ubuntu:Pro:20.04:LTS","purl":"pkg:deb/ubuntu/glance?arch=source&distro=esm-infra%2Ffocal"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:19.0.0-0ubuntu1","2:20.0.0~b1~git2019121610.0c6dd98d-0ubuntu1","2:20.0.0~b2~git2020020509.8649fdc2-0ubuntu1","2:20.0.0~b3~git2020032414.30ece7aa-0ubuntu2","2:20.0.0~b3~git2020041012.d5a0ce18-0ubuntu1","2:20.0.0-0ubuntu0.20.04.1","2:20.0.1-0ubuntu1","2:20.1.0-0ubuntu1","2:20.2.0-0ubuntu1","2:20.2.0-0ubuntu1.1","2:20.2.0-0ubuntu1.2","2:20.2.0-0ubuntu1.2+esm2"],"ecosystem_specific":{"binaries":[{"binary_version":"2:20.2.0-0ubuntu1.2+esm2","binary_name":"glance"},{"binary_name":"glance-api","binary_version":"2:20.2.0-0ubuntu1.2+esm2"},{"binary_version":"2:20.2.0-0ubuntu1.2+esm2","binary_name":"glance-common"},{"binary_name":"python3-glance","binary_version":"2:20.2.0-0ubuntu1.2+esm2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71198.json"}},{"package":{"name":"glance","ecosystem":"Ubuntu:22.04:LTS","purl":"pkg:deb/ubuntu/glance?arch=source&distro=jammy"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:23.0.0-0ubuntu1","2:23.0.0+git2021120811.4ee7799aa-0ubuntu1","2:23.0.0+git2022011216.502fa0ffc-0ubuntu1","2:24.0.0~rc1+git2022030311.d4119be05-0ubuntu1","2:24.0.0-0ubuntu1","2:24.1.0-0ubuntu1","2:24.1.0-0ubuntu1.1","2:24.2.0-0ubuntu1","2:24.2.1-0ubuntu1","2:24.2.1-0ubuntu1.2","2:24.2.1-0ubuntu1.4"],"ecosystem_specific":{"binaries":[{"binary_name":"glance","binary_version":"2:24.2.1-0ubuntu1.4"},{"binary_name":"glance-api","binary_version":"2:24.2.1-0ubuntu1.4"},{"binary_name":"glance-common","binary_version":"2:24.2.1-0ubuntu1.4"},{"binary_name":"python3-glance","binary_version":"2:24.2.1-0ubuntu1.4"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71198.json"}},{"package":{"name":"glance","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/glance?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:27.0.0-0ubuntu1","2:28.0.0~b2+git2024011916.f429b53e-0ubuntu1","2:28.0.0~rc1-0ubuntu1","2:28.0.1-0ubuntu1","2:28.0.1-0ubuntu1.2","2:28.1.0-0ubuntu1","2:28.1.0-0ubuntu1.2"],"ecosystem_specific":{"binaries":[{"binary_name":"glance","binary_version":"2:28.1.0-0ubuntu1.2"},{"binary_name":"glance-api","binary_version":"2:28.1.0-0ubuntu1.2"},{"binary_name":"glance-common","binary_version":"2:28.1.0-0ubuntu1.2"},{"binary_name":"python3-glance","binary_version":"2:28.1.0-0ubuntu1.2"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71198.json"}},{"package":{"name":"glance","ecosystem":"Ubuntu:26.04:LTS","purl":"pkg:deb/ubuntu/glance?arch=source&distro=resolute"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2:31.0.0-0ubuntu1","2:31.0.0+git2026012615.9f4165f77-0ubuntu1","2:32.0.0~rc1-0ubuntu1","2:32.0.0~rc2-0ubuntu1","2:32.0.0-0ubuntu1"],"ecosystem_specific":{"binaries":[{"binary_name":"glance","binary_version":"2:32.0.0-0ubuntu1"},{"binary_name":"glance-api","binary_version":"2:32.0.0-0ubuntu1"},{"binary_name":"glance-common","binary_version":"2:32.0.0-0ubuntu1"},{"binary_name":"python3-glance","binary_version":"2:32.0.0-0ubuntu1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-71198.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V4","score":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N"},{"type":"Ubuntu","score":"medium"}]}