{"id":"CVE-2022-47950","aliases":["CVE-2022-47950","GHSA-274c-rx2j-2v3x","PYSEC-2026-927"],"related":[],"kind":"vulnerability","state":"published","title":"OpenStack Swift XML external entities (XXE) Injection","summary":"An issue was discovered in OpenStack Swift before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. By supplying crafted XML files, an authenticated user may coerce the S3 API into returning arbitrary file contents from the host server, resulting in unauthorized read access to potentially sensitive data. This impacts both s3api deployments (Rocky or later), and swift3 deployments (Queens and earlier, no longer actively developed).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"An issue was discovered in OpenStack Swift before 2.28.1, 2.29.x before 2.29.2, and 2.30.0. By supplying crafted XML files, an authenticated user may coerce the S3 API into returning arbitrary file contents from the host server, resulting in unauthorized read access to potentially sensitive data. This impacts both s3api deployments (Rocky or later), and swift3 deployments (Queens and earlier, no longer actively developed).","source":"cvelist"},{"lang":"es","text":"Se descubrió un problema en OpenStack Swift anterior a 2.28.1, 2.29.x anterior a 2.29.2 y 2.30.0. Al proporcionar archivos XML manipulados, un usuario autenticado puede obligar a la API de S3 a devolver contenidos de archivos arbitrarios desde el servidor host, lo que resulta en un acceso de lectura no autorizado a datos potencialmente confidenciales. Esto afecta tanto a las implementaciones de s3api (Rocky o posterior) como a las implementaciones de swift3 (Queens y anteriores, que ya no se desarrollan activamente).","source":"nvd"}],"published":"2023-01-18T00:00:00.000Z","modified":"2026-07-07T11:56:33.587Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N","score":6.5,"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:H/I:N/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-552","CWE-611"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.28.1"}],"ecosystem":"PyPI","package":"swift","purl":"pkg:pypi/swift","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.29.0","status":"affected","fixed":"2.29.2"}],"ecosystem":"PyPI","package":"swift","purl":"pkg:pypi/swift","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"2.30.0","status":"affected","fixed":"2.30.1"}],"ecosystem":"PyPI","package":"swift","purl":"pkg:pypi/swift","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"2.28.1"},{"status":"affected","introduced":"2.29.0","fixed":"2.29.2"},{"status":"affected","version":"2.30.0"}],"vendor":"openstack","product":"swift","cpe":"cpe:2.3:a:openstack:swift:*:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"status":"affected","version":"10.0"}],"vendor":"debian","product":"debian_linux","cpe":"cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*","source":"nvd"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"2.28.1"},{"type":"ecosystem","introduced":"2.29.0","status":"affected","fixed":"2.29.2"},{"type":"ecosystem","introduced":"2.30.0","status":"affected","fixed":"2.30.1"}],"ecosystem":"PyPI","package":"swift","purl":"pkg:pypi/swift","source":"pysec"}],"references":[{"url":"https://launchpad.net/bugs/1998625","tags":["exploit","issue-tracking","patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://security.openstack.org/ossa/OSSA-2023-001.html","tags":["patch","vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://lists.debian.org/debian-lts-announce/2023/01/msg00021.html","tags":["mailing-list","third-party-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://www.debian.org/security/2023/dsa-5327","tags":["vendor-advisory","web","x-transferred"],"sources":["cvelist","ghsa","nvd","pysec"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47950","tags":["advisory"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/12e54391861e7d182d58f89fb88b027e65842640","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/7d13d1a82e1f5d01205a13184907501b4fcbe2b0","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/8dd96470a859dc7b189404fb67bd3899ae9c617f","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/b8467e190f6fc67fd8fb6a8c5e32b2aa6a10fd8e","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/baa98848451b5c234443a068691e12841a5a8383","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/c834e7a53d5a33a3fd13ffd954e6f4f4ee953dfc","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/d8d04ef43c90079d436b2e49617b4425ba39c28e","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift/commit/f10672514217adadfc776d9ea2ffb20a37ce073b","tags":["web"],"sources":["ghsa","pysec"]},{"url":"https://github.com/openstack/swift","tags":["package"],"sources":["ghsa","pysec"]},{"url":"https://pypi.org/project/swift","tags":["package"],"sources":["pysec"]},{"url":"https://github.com/advisories/GHSA-274c-rx2j-2v3x","tags":["advisory"],"sources":["pysec"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2025-04-04T15:46:54.712Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2022-47950","url":"https://www.cve.org/CVERecord?id=CVE-2022-47950","licence":"CVE Terms of Use","modified":"2025-04-04T15:48:20.285Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-274c-rx2j-2v3x","url":"https://github.com/advisories/GHSA-274c-rx2j-2v3x","licence":"CC-BY-4.0","modified":"2026-07-07T11:56:33.587Z"},{"source":"nvd","name":"NVD","id":"CVE-2022-47950","url":"https://nvd.nist.gov/vuln/detail/CVE-2022-47950","licence":"Public domain","modified":"2026-06-17T05:14:30.620Z"},{"source":"pysec","name":"PyPA Advisory Database","id":"PYSEC-2026-927","url":"https://osv.dev/vulnerability/PYSEC-2026-927","licence":"CC-BY-4.0","modified":"2026-07-07T11:45:51.175Z"}],"updatedAt":"2026-11-25T22:58:18.245Z","epss":{"score":0.01058,"percentile":0.65417,"date":"2026-12-01T12:00:22.000Z"}}