VDB
Sign up
MEDIUM5.5

PYSEC-2026-931

OpenStack Swift Unauthorized delete of versioned Swift object

Quick fix

PYSEC-2026-931 — swift: upgrade to the fixed version with the command below.

pip install --upgrade 'swift>=2.3.0'

Details

OpenStack Object Storage (Swift) before 2.3.0, when allow_version is configured, allows remote authenticated users to delete the latest version of an object by leveraging listing access to the x-versions-location container.

Are you affected?

Enter the version of the package you're using.

Affected packages

PyPI/swift
Introduced in: 0Fixed in: 2.3.0
Fixpip install --upgrade 'swift>=2.3.0'

References

Check it before you install it

One call answers whether to add this package: known advisories, CISA KEV, and whether the name is a hallucinated or freshly squatted one. No key needed to try it.

curl -s https://vdb.ai.kr/v1/ai/check-packages \
  -H 'Content-Type: application/json' \
  -d '{"packages":["pkg:pypi/swift"]}'