Advisory

PYSEC-2026-545

Also known as: CVE-2012-4406, GHSA-v7mh-3jgf-r26c

Summary

OpenStack Object Storage (swift) Code Injection vulnerability

Details

OpenStack Object Storage (swift) before 1.7.0 uses the loads function in the pickle Python module unsafely when storing and loading metadata in memcached, which allows remote attackers to execute arbitrary code via a crafted pickle object.

Severity

Critical Basis: CVSS v3 score 9.8, vector CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Dates

Published
2026-06-29 11:50 UTC
Modified
2026-07-01 20:23 UTC

Affected packages and fixes

swift

PyPI · All systems

Affected

  • introduced 0, fixed 1.7.0 (ecosystem)

Fixed versions

1.7.0

Fix

  • Fixed version 1.7.0
    pip install --upgrade swift==1.7.0

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences