Medium

OpenStack Swift XML external entities (XXE) Injection

  • Disclosed: 18.01.2023
  • Updated: 11.10.2026 13:18

An issue was discovered in OpenStack Swift before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. By supplying crafted XML files, an authenticated user may coerce the S3 API into returning arbitrary file contents from the host server, resulting in unauthorized read access to potentially sensitive data. This impacts both s3api deployments (Rocky or later), and swift3 deployments (Queens and earlier, no longer actively developed).

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Python (PyPI) swift < 2.28.1, >= 2.29.0, < 2.29.2, >= 2.30.0, < 2.30.1 2.28.1, 2.29.2, 2.30.1

References

CVSS score 6.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weakness (CWE)
CWE-552, CWE-611
Platform
Python (PyPI)
Package
swift
Disclosed
18.01.2023
Updated
11.10.2026 13:18

Sources and licenses

OSV / GitHub Advisory Database - PYSEC-2026-927 - PyPA Advisory Database; CC BY 4.0

OSV / GitHub Advisory Database - GHSA-274c-rx2j-2v3x - CC BY 4.0

Vulnerability history: swift

All published vulnerabilities of this package (Python (PyPI)), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (14) in the archive
Total entries
14
First → latest
01.2014 06.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 1
  • High 5
  • Medium 7
  • Low 1

Disclosures per year

  1. 2017: 0
  2. 2018: 0
  3. 2019: 0
  4. 2020: 0
  5. 2021: 1
  6. 2022: 9
  7. 2023: 1
  8. 2024: 0
  9. 2025: 0
  10. 2026: 2

earlier: 1

Severity:
  1. OpenStack Swift XML external entities (XXE) Injection this entry
    Medium · 6.5 CVE-2022-47950 < 2.28.1, >= 2.29.0, < 2.29.2, >= 2.30.0, < 2.30.1 2.28.1, 2.29.2, 2.30.1
  2. High · 7.5 CVE-2016-0738 < 2.3.1, >= 2.4.0, < 2.5.1 2.3.1, 2.5.1
  3. Critical · 9.8 CVE-2012-4406 < 1.7.0 1.7.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.