CVE-2026-34881: Glance OpenStack Glance Is Affected By Vulnerability
MODERATECVE-2026-34881 is a MODERATE (CVSS 5.0) openstack glance is affected by vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Glance libraries in the PyPI ecosystem. The issue involves openstack glance is affected by server-side request forgery (ssrf). Remediation is available by upgrading affected packages to version 29.2.0, 30.2.0, 31.1.0.
CVE-2026-34881 at a Glance
Security Impact
CVSS: 5.0
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N).
How to Fix CVE-2026-34881
To remediate this vulnerability, upgrade all affected Glance dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install glance>=29.2.0
pip install glance>=30.2.0
pip install glance>=31.1.0
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show glance
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-34881, inspect your installed packages using pip:
pip show glance
Analyze the terminal output to locate any version of Glance in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 29.2.0), your application is affected.
Note: The pip show glance command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Glance, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-34881 Affected Glance Versions
3 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
glance
|
PyPI |
< 29.2.0
|
29.2.0
|
|
glance
|
PyPI |
≥ 30.0.0
< 30.2.0
|
30.2.0
|
|
glance
|
PyPI |
≥ 31.0.0
< 31.1.0
All 1 versions
31.0.0
|
31.1.0
|
References
Frequently Asked Questions
What is CVE-2026-34881?
Which Glance versions are affected?
What version fixes CVE-2026-34881?
Is glance affected?
What is the CVSS score of CVE-2026-34881?
What CWE is associated with CVE-2026-34881?
How can I check PyPI dependencies for CVE-2026-34881?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-mc26-q38v-83gv",
"modified" : "2026-04-01T23:16:39Z",
"published" : "2026-03-31T06:31:44Z",
"aliases" : [ "CVE-2026-34881" ],
"summary" : "OpenStack Glance is affected by Server-Side Request Forgery (SSRF)",
"details" : "OpenStack Glance versions < 29.1.1, >= 30.0.0 < 30.1.1, == 31.0.0 are affected by Server-Side Request Forgery (SSRF). By use of HTTP redirects, an authenticated user can bypass URL validation checks and redirect to internal services. Only the glance image import functionality is affected. In particular, the web-download and glance-download import methods are subject to this vulnerability, as is the optional (not enabled by default) ovf_process image import plugin.",
"severity" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "glance"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "29.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "glance"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "30.0.0"
}, {
"fixed" : "30.2.0"
} ]
} ]
}, {
"package" : {
"ecosystem" : "PyPI",
"name" : "glance"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "31.0.0"
}, {
"fixed" : "31.1.0"
} ]
} ],
"versions" : [ "31.0.0" ]
} ],
"references" : [ {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-34881"
}, {
"type" : "WEB",
"url" : "https://bugs.launchpad.net/glance/+bug/2138602"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/openstack/glance"
}, {
"type" : "WEB",
"url" : "https://security.openstack.org/ossa/OSSA-2026-004.html"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-04-01T23:16:39Z",
"nvd_published_at" : "2026-03-31T06:16:01Z"
}
}