Quick answers
- Is CVE-2022-47950 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2022-47950 being exploited in the wild.
- How severe is CVE-2022-47950?
- Low severity, with a CVSS score of 3.1, published 7 July 2026.
- Which products and versions are affected?
- OpenStack Swift before 2.28.1, 2.29.0–2.29.1, 2.30.0; swift (PyPI) ECOSYSTEM:introduced=0,fixed=2.28.1,introduced=2.29.0,fixed=2.29.2,introduced=2.30.0,fixed=2.30.1.
- Is there a fix for CVE-2022-47950?
- Yes. swift (PyPI): upgrade to 2.30.1 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2022-47950 attacked?
- It is attacked over the network, in a hosted service.
- Am I affected by CVE-2022-47950?
- Check whether you run OpenStack Swift or swift (PyPI) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- swift (PyPI): upgrade to 2.30.1 or later
pip install "swift>=2.30.1"
Technical details
OpenStack Swift versions before 2.28.1, 2.29.x before 2.29.2, and 2.30.0 fail to disable XML external entity (XXE) resolution in the S3 API middleware. An authenticated attacker can supply crafted XML in S3 API requests to trigger entity resolution, allowing arbitrary file read from the server's filesystem. The vulnerability affects both s3api (Rocky and later) and swift3 (Queens and earlier) deployments. The fix disables entity resolution, replacing unknown entities with empty strings. Patches are available in versions 2.28.1, 2.29.2, and 2.30.1 and later.
Affected products
- OpenStack Swift before 2.28.1, 2.29.0–2.29.1, 2.30.0
Identifiers
- CVE-2022-47950
- GHSA-274c-rx2j-2v3x
- PYSEC-2026-927
Timeline
- 2023-01-18: disclosed
- 2023-01-18: patched: Patches released for versions 2.28.1, 2.29.2, and 2.30.1