CVE-2021-42771Pocoo Babel
High 7.8
Follow: this CVE · Pocoo · Pocoo Babel We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Babel.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| pocoo | babel | < 2.9.1 |
| debian | debian_linux | 10.0 |
Official advisories
- python313-Babel-2.18.0-1.4 on GA media · SUSE · openSUSE-SU-2026:11986-1 · Oct 4, 2026 High
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- lists.debian.org Mailing List Third Party Advisory
- www.debian.org Third Party Advisory
- www.tenable.com Exploit Third Party Advisory