CVE-2026-34881: Glance OpenStack Glance Is Affected By Vulnerability

MODERATE
Advisory Identifier: GHSA-mc26-q38v-83gv
CVSS 5.0
CWE-918
Published
Advisory Summary

CVE-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

CVE Identifier CVE-2026-34881
GHSA Identifier GHSA-mc26-q38v-83gv
Severity MODERATE
CVSS v3.1 Base Score 5.0
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Glance
Package Ecosystem PyPI
Published Date
Last Updated

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).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality None (C:N)
Integrity Low (I:L)
Availability None (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.

glance fixed: 29.2.0
pip install glance>=29.2.0
glance fixed: 30.2.0
pip install glance>=30.2.0
glance fixed: 31.1.0
pip install glance>=31.1.0
Verify Direct and Transitive Dependencies

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

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.

CVE-2026-34881 Affected Glance Versions

3 component(s)
Fixed Versions:
29.2.030.2.031.1.0
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?
CVE-2026-34881 is a security vulnerability in Glance involving OpenStack Glance is affected by Server-Side Request Forgery (SSRF) under CWE-918: Server-Side Request Forgery (SSRF).
Which Glance versions are affected?
Affected versions include releases prior to 29.2.0, 30.2.0, 31.1.0 across affected packages: glance.
What version fixes CVE-2026-34881?
Upgrading to 29.2.0, 30.2.0, 31.1.0 (or the latest patched release for your respective branch) resolves the vulnerability.
Is glance affected?
Yes, glance is affected in releases prior to 29.2.0, 30.2.0, 31.1.0. Upgrade your dependency to 29.2.0, 30.2.0, 31.1.0 or later.
What is the CVSS score of CVE-2026-34881?
CVE-2026-34881 has a CVSS v3.1 base score of 5.0 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:N/I:L/A:N.
What CWE is associated with CVE-2026-34881?
CVE-2026-34881 is classified under CWE-918: Server-Side Request Forgery (SSRF) (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.).
How can I check PyPI dependencies for CVE-2026-34881?
Run the dependency tree command: 'pip show glance'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "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"
  }
}