VDB
Sign up
MEDIUM5.8

PYSEC-2026-814

OpenStack Glance Server-Side Request Forgery (SSRF)

Quick fix

PYSEC-2026-814 — glance: upgrade to the fixed version with the command below.

pip install --upgrade 'glance>=11.0.0a0'

Details

An SSRF issue was discovered in OpenStack Glance before Newton. The 'copy_from' feature in the Image Service API v1 allowed an attacker to perform masked network port scans. With v1, it is possible to create images with a URL such as 'http://localhost:22'. This could then allow an attacker to enumerate internal network details while appearing masked, since the scan would appear to originate from the Glance Image service.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/glance
Introduced in: 0Fixed in: 11.0.0a0
Fixpip install --upgrade 'glance>=11.0.0a0'

References