Live threats

All CVEs / Pocoo

CVE-2021-42771Pocoo Babel

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
0.8%
probability of exploitation in 30 days · percentile 52
Auth required
Yes
Published
Oct 20, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-22
Vector
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Babel.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI babel < 2.9.1 2.9.1 pip install "babel>=2.9.1"
PyPI babel < 2.9.1 2.9.1 pip install "babel>=2.9.1"

Per OSV / GitHub Advisories (GHSA-h4m5-qpfp-3mpv, PYSEC-2021-421). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pocoobabel< 2.9.1
debiandebian_linux10.0

Official advisories

Vendor, CERT and distribution advisories that name this CVE. Original titles.

Official sources

References

Links published by the sources. Open them with care.