{"id":"CVE-2021-42771","aliases":["GHSA-h4m5-qpfp-3mpv","PYSEC-2021-421"],"url":"https://o3.security/vulnerability/CVE-2021-42771","summary":"Directory Traversal in Babel","details":"Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files (containing serialized Python objects) via directory traversal, leading to code execution.","published":"2021-10-20T21:15:07.930Z","modified":"2026-07-08T06:00:31.405217522Z","cvss":{"score":7.8,"severity":"HIGH","vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"},"epss":{"score":0.0077,"percentile":0.52493,"asOf":"2026-08-23"},"cisaKev":null,"exploitsKnown":1,"affectedPackages":[{"ecosystem":"PyPI","name":"babel","fixedVersion":"2.9.1"}],"fix":{"url":"https://github.com/python-babel/babel/pull/782","label":"python-babel/babel#782"},"references":[{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts-announce/2021/10/msg00018.html"},{"type":"ADVISORY","url":"https://lists.debian.org/debian-lts/2021/10/msg00040.html"},{"type":"ADVISORY","url":"https://www.debian.org/security/2021/dsa-5018"},{"type":"FIX","url":"https://github.com/python-babel/babel/pull/782"},{"type":"EVIDENCE","url":"https://www.tenable.com/security/research/tra-2021-14"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-07-08T06:00:31.405217522Z"}}