Is babel 2.9 vulnerable?

PyPI · 2 releases from 2.9.0 to 2.9.1 · latest babel is 2.18.0 · checked 18 Nov 2026

No known advisories in the last release

babel 2.9.1, the last 2.9 release, has no known advisories. 1 advisory affects earlier 2.9.x releases, so update to 2.9.1.

Update within 2.9:pip install 'babel>=2.9.1'

Is your project on an affected babel?

Private repo? Upload its lockfile instead, or connect GitHub to check every repo.

Look after several Python apps? Indie watches up to 15 repos, private ones too, for $5 a month. See Indie

Fixed within 2.9.x, affecting earlier releases

  • HighCVE-2021-42771GHSA-h4m5-qpfp-3mpv21 Oct 2021

    Directory Traversal in Babel

    Affected
    <2.9.1
    Fixed in
    2.9.1

Every babel 2.9.x release

Affected: 2.9.0. 2.9.1 is not affected. Latest babel: 2.18.0.

VersionKnown advisories
babel 2.9.1None
babel 2.9.0CVE-2021-42771

Which of your client projects are still on babel 2.9?

NPMscan reads the lockfiles in every GitHub repo you pick, finds the exact babel version each one installs, and checks it against these advisories. Each finding comes with the command that fixes it.

Other babel versions

Advisory data from OSV.dev (opens OSV.dev in a new tab), which includes the GitHub Advisory Database. Release list from the PyPI registry. Refreshed daily.