swift — security advisory
In OpenStack Swift before 2.38.2, the tempurl middleware does not reject the X-Copy-From header on PUT requests. A TempURL signature only covers the method, expiry, and path, and thus the list of disallowed headers is the only defense against a signed PUT request changing what the request does. An attacker holding a PUT TempURL for a single object can add an X-Copy-From header naming any object in the same account; the copy middleware copies that object to the destination, and the attacker then reads the victim's data back with a GET TempURL for the destination object. Copies across account boundaries are rejected. Only deployments using the shipped default proxy pipeline (tempurl and copy middleware) with account-level TempURL keys are affected.
- Products
- swift
- Affected versions
- 2.30.0-4, 2.30.1-0+deb12u1, 2.30.1-0+deb12u2, 2.35.0-4, 2.35.1-0+deb13u1, 2.35.1-0+deb13u2, 2.35.1-0+deb13u3, 2.35.1-1, 2.35.1-2, 2.36.0-1, 2.36.0-2, 2.36.0-3, 2.36.0-4, 2.36.0-5, 2.36.0-6, 2.36.0-7, 2.36.0-8, 2.37.0-1, 2.37.1-1, 2.37.1-2, 2.37.1-3, 2.37.1-4, 2.37.1-5, 2.37.1-6, 2.38.1-1, 2.38.1-2
- Fixed versions
- 2.30.1-0+deb12u3, 2.35.1-0+deb13u4, 2.38.1-3
- CVEs
- CVE-2026-97149
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 28 Oct 2026, 03:40 UTC · Revision 1
Source evidence
In OpenStack Swift before 2.38.2, the tempurl middleware does not reject the X-Copy-From header on PUT requests. A TempURL signature only covers the method, expiry, and path, and thus the list of disallowed headers is the only defense against a signed PUT request changing what the request does. An attacker holding a PUT TempURL for a single object can add an X-Copy-From header naming any object in the same account; the copy middleware copies that object to the destination, and the attacker then reads the victim's data back with a GET TempURL for the destination object. Copies across account boundaries are rejected. Only deployments using the shipped default proxy pipeline (tempurl and copy middleware) with account-level TempURL keys are affected.
osv:DEBIAN-CVE-2026-97149
swift
Fixed versions: 2.30.1-0+deb12u3
swift
Fixed versions: 2.35.1-0+deb13u4
swift
Fixed versions: 2.38.1-3
Complete source record
{
"id": "aa8eb9fc284f4b4ea2094072a49874a5531f72523a8a045096af2a9948eaef92",
"url": "https://osv.dev/vulnerability/DEBIAN-CVE-2026-97149",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "DEBIAN-CVE-2026-97149",
"summary": "In OpenStack Swift before 2.38.2, the tempurl middleware does not reject the X-Copy-From header on PUT requests. A TempURL signature only covers the method, expiry, and path, and thus the list of disallowed headers is the only defense against a signed PUT request changing what the request does. An attacker holding a PUT TempURL for a single object can add an X-Copy-From header naming any object in the same account; the copy middleware copies that object to the destination, and the attacker then reads the victim's data back with a GET TempURL for the destination object. Copies across account boundaries are rejected. Only deployments using the shipped default proxy pipeline (tempurl and copy middleware) with account-level TempURL keys are affected.",
"evidence": "osv:DEBIAN-CVE-2026-97149",
"products": [
{
"name": {
"value": "swift",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.30.1-0+deb12u3",
"evidence": "/affected/0/ranges"
}
],
"affected_versions": [
{
"value": "2.30.0-4",
"evidence": "/affected/0/versions"
},
{
"value": "2.30.1-0+deb12u1",
"evidence": "/affected/0/versions"
},
{
"value": "2.30.1-0+deb12u2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "swift",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.35.1-0+deb13u4",
"evidence": "/affected/1/ranges"
}
],
"affected_versions": [
{
"value": "2.35.0-4",
"evidence": "/affected/1/versions"
},
{
"value": "2.35.1-0+deb13u1",
"evidence": "/affected/1/versions"
},
{
"value": "2.35.1-0+deb13u2",
"evidence": "/affected/1/versions"
},
{
"value": "2.35.1-0+deb13u3",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "swift",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [
{
"value": "2.38.1-3",
"evidence": "/affected/2/ranges"
}
],
"affected_versions": [
{
"value": "2.35.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "2.35.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.35.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-5",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-6",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-7",
"evidence": "/affected/2/versions"
},
{
"value": "2.36.0-8",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.0-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.1-2",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.1-3",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.1-4",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.1-5",
"evidence": "/affected/2/versions"
},
{
"value": "2.37.1-6",
"evidence": "/affected/2/versions"
},
{
"value": "2.38.1-1",
"evidence": "/affected/2/versions"
},
{
"value": "2.38.1-2",
"evidence": "/affected/2/versions"
}
]
}
],
"severity": "medium",
"structured": {
"id": "DEBIAN-CVE-2026-97149",
"aliases": [
"DEBIAN-CVE-2026-97149"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.30.1-0+deb12u3"
}
]
}
],
"package": {
"name": "swift",
"purl": "pkg:deb/debian/swift?arch=source&distro=bookworm",
"ecosystem": "Debian:12"
},
"versions": [
"2.30.0-4",
"2.30.1-0+deb12u1",
"2.30.1-0+deb12u2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-97149.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.35.1-0+deb13u4"
}
]
}
],
"package": {
"name": "swift",
"purl": "pkg:deb/debian/swift?arch=source&distro=trixie",
"ecosystem": "Debian:13"
},
"versions": [
"2.35.0-4",
"2.35.1-0+deb13u1",
"2.35.1-0+deb13u2",
"2.35.1-0+deb13u3"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-97149.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
},
{
"fixed": "2.38.1-3"
}
]
}
],
"package": {
"name": "swift",
"purl": "pkg:deb/debian/swift?arch=source&distro=forky",
"ecosystem": "Debian:14"
},
"versions": [
"2.35.0-4",
"2.35.1-1",
"2.35.1-2",
"2.36.0-1",
"2.36.0-2",
"2.36.0-3",
"2.36.0-4",
"2.36.0-5",
"2.36.0-6",
"2.36.0-7",
"2.36.0-8",
"2.37.0-1",
"2.37.1-1",
"2.37.1-2",
"2.37.1-3",
"2.37.1-4",
"2.37.1-5",
"2.37.1-6",
"2.38.1-1",
"2.38.1-2"
],
"database_specific": {
"source": "https://storage.googleapis.com/debian-osv/debian-cve-osv/DEBIAN-CVE-2026-97149.json"
},
"ecosystem_specific": {
"urgency": "not yet assigned"
}
}
],
"modified": "2026-10-07T09:47:29.073531176Z",
"provider": "osv",
"upstream": [
"CVE-2026-97149"
],
"references": [
"https://security-tracker.debian.org/tracker/CVE-2026-97149"
]
},
"related_cves": [
{
"value": "CVE-2026-97149",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 94644,
"published_at": "2026-09-24T03:16:59.133+00:00"
}