{"id":"CVE-2026-50221","aliases":["CVE-2026-50221","GHSA-h8rc-w822-q8vq","PYSEC-2026-4173"],"related":[],"kind":"vulnerability","state":"published","title":"OpenStack Swift vulnerable to authenticated server-side request forgery","summary":"In OpenStack Swift before 2.37.2, proxy-server does not strip internal update headers (X-Container-Host, X-Container-Device, X-Delete-At-Host, X-Delete-At-Device) from client requests before forwarding them to object-servers. An authenticated user with write access can inject these headers to redirect container update requests to an attacker-controlled server, enabling server-side request forgery. The SSRF requests expose internal cluster metadata including storage policy indexes, partition mappings, device names, and when at rest encryption is enabled, cipher text and initialization vectors for the container-level encryption key. The attacker can also cause \"ghost listings\" in arbitrary containers via the shard-range redirect mechanism.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"In OpenStack Swift before 2.37.2, proxy-server does not strip internal update headers (X-Container-Host, X-Container-Device, X-Delete-At-Host, X-Delete-At-Device) from client requests before forwarding them to object-servers. An authenticated user with write access can inject these headers to redirect container update requests to an attacker-controlled server, enabling server-side request forgery. The SSRF requests expose internal cluster metadata including storage policy indexes, partition mappings, device names, and when at rest encryption is enabled, cipher text and initialization vectors for the container-level encryption key. The attacker can also cause \"ghost listings\" in arbitrary containers via the shard-range redirect mechanism.","source":"cvelist"},{"lang":"es","text":"En OpenStack Swift anterior a 2.37.2, proxy-server no elimina las cabeceras de actualización internas (X-Container-Host, X-Container-Device, X-Delete-At-Host, X-Delete-At-Device) de las peticiones del cliente antes de reenviarlas a los servidores de objetos. Un usuario autenticado con acceso de escritura puede inyectar estas cabeceras para redirigir las peticiones de actualización del contenedor a un servidor controlado por el atacante, lo que permite la falsificación de petición del lado del servidor. Las peticiones SSRF exponen metadatos internos del clúster, incluyendo índices de políticas de almacenamiento, mapeos de particiones, nombres de dispositivos y, cuando el cifrado en reposo está habilitado, texto cifrado y vectores de inicialización para la clave de cifrado a nivel de contenedor. El atacante también puede causar ’listados fantasma’ en contenedores arbitrarios a través del mecanismo de redirección de rango de fragmentos.","source":"nvd"}],"published":"2026-06-23T17:03:32.971Z","modified":"2026-10-25T23:10:00.167Z","severity":{"scorer":"mitre","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"mitre","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N","score":5.3,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N","rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N","score":5.4,"rating":"MEDIUM"},{"scorer":"PyPA Advisory Database","scheme":"CVSS:4.0","vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:L/SI:L/SA:N"}],"cwes":["CWE-918"],"affected":[{"ranges":[{"type":"semver","introduced":"2.0.0","fixed":"2.35.3","status":"affected"},{"type":"semver","introduced":"2.36.0","fixed":"2.36.2","status":"affected"},{"type":"semver","introduced":"2.37.0","fixed":"2.37.2","status":"affected"}],"vendor":"OpenStack","product":"Swift","repo":"https://opendev.org/openstack/swift","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.37.2"}],"ecosystem":"PyPI","package":"swift","purl":"pkg:pypi/swift","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"2.0.0","fixed":"2.35.3"},{"status":"affected","introduced":"2.36.0","fixed":"2.36.2"},{"status":"affected","introduced":"2.37.0","fixed":"2.37.2"}],"vendor":"openstack","product":"swift","cpe":"cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.37.2"}],"ecosystem":"PyPI","package":"swift","purl":"pkg:pypi/swift","source":"pysec"}],"references":[{"url":"https://launchpad.net/bugs/2150261","tags":["exploit","issue-tracking","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.openwall.com/lists/oss-security/2026/06/23/5","tags":["mailing-list","patch","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.openstack.org/ossa/OSSA-2026-024.html","tags":["patch","vendor-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/23/5","tags":["mailing-list","patch","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50221","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/75b050fdb1d1a6096f3765faa3b2059e28065d13","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://opendev.org/openstack/swift/commit/75b050fdb1d1a6096f3765faa3b2059e28065d13","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/swift","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-h8rc-w822-q8vq","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-06-23T17:38:21.427Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50221","url":"https://www.cve.org/CVERecord?id=CVE-2026-50221","licence":"CVE Terms of Use","modified":"2026-06-23T17:38:26.623Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-h8rc-w822-q8vq","url":"https://github.com/advisories/GHSA-h8rc-w822-q8vq","licence":"CC-BY-4.0","modified":"2026-10-01T17:56:18.652Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50221","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50221","licence":"Public domain","modified":"2026-10-25T23:10:00.167Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-4173","url":"https://osv.dev/vulnerability/PYSEC-2026-4173","licence":"CC-BY-4.0","modified":"2026-10-21T10:00:31.755Z"}],"updatedAt":"2026-11-25T22:59:25.502Z","epss":{"score":0.00144,"percentile":0.03908,"date":"2026-12-01T12:00:22.000Z"}}