Read the docs
TI-2021-18973 Aliases CVE-2021-42771GHSA-h4m5-qpfp-3mpv

Babel.Locale in Babel before 2.9.1 allows attackers to load arbitrary locale .dat files…

Priority LOW 35CWE-22Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
None
Attack complexity
Low
Impact type
—
Confidentiality · integrity · availability
High · High · High
Fix status
Partial Red Hat: 5 fixed, 6 without a fix

Attack profile from CVSS 3.1 · NVD. Fix status from CNA, GitHub and Red Hat.

Summary

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.

Why it matters now

EPSS 0.0077 55th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial babel (PyPI): 2.9.1Red Hat: 5 advisoriesRed Hat: 5 fixed, 6 without a fix

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
——all versions—No fix listedCNA
—babel (PyPI)before 2.9.12.9.1Patch availableGHSA-h4m5-qpfp-3mpv
  • — Vendor— Affected all versions Fixed in — No fix listed CNA
  • babel (PyPI) Vendor— Affected before 2.9.1 Fixed in 2.9.1 Patch available GHSA-h4m5-qpfp-3mpv

CPE configurations NVD · 2

CPEVersionsRoleVendor
cpe:2.3:a:pocoo:babel:*:*:*:*:*:*:*:*before 2.9.1VulnerablePocoo
cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:*10.0VulnerableDebian
  • cpe:2.3:a:pocoo:babel:*:*:*:*:*:*:*:* Versions before 2.9.1 Vulnerable ·Pocoo
  • cpe:2.3:o:debian:debian_linux:10.0:*:*:*:*:*:*:* Versions 10.0 Vulnerable ·Debian

Remediation

  • Fix · GHSA-h4m5-qpfp-3mpv babel (PyPI) Fixed in 2.9.1 Advisory →

Red Hat 5 advisories

  • RHSA-2021:4201 Released 2021-11-09 · Red Hat rating Moderate
    babel security and bug fix update
    • Red Hat Enterprise Linux AppStream (v. 8) babel-2.5.1-7.el8, python3-babel-2.5.1-7.el8
  • RHSA-2021:4162 Released 2021-11-09 · Red Hat rating Moderate
    python38:3.8 and python38-devel:3.8 security update
    • Red Hat CodeReady Linux Builder (v. 8) pytest-4.6.6-3.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8, python-atomicwrites-1.3.0-8.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8, python-attrs-19.3.0-3.module+el8.4.0+8888+89bc7e79.src::python38-devel:3.8 +15
    • Red Hat Enterprise Linux AppStream (v. 8) Cython-0.29.14-4.module+el8.4.0+8888+89bc7e79.src::python38:3.8, PyYAML-5.4.1-1.module+el8.5.0+10721+14d8e0d5.src::python38:3.8, babel-2.7.0-11.module+el8.5.0+11015+9c1c7c42.src::python38:3.8 +47
  • RHSA-2021:4151 Released 2021-11-09 · Red Hat rating Moderate
    python27:2.7 security update
    • Red Hat Enterprise Linux AppStream (v. 8) Cython-0.28.1-7.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, PyYAML-3.12-16.module+el8.1.0+3111+de3f2d8e.src::python27:2.7, babel-2.5.1-10.module+el8.5.0+11014+88fc0d0b.noarch::python27:2.7 +47
Show 2 more Red Hat advisories
  • RHSA-2021:3252 Released 2021-08-24 · Red Hat rating Moderate
    python27 security update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) python27-babel-0.9.6-10.el7, python27-python-2.7.18-3.el7, python27-python-babel-0.9.6-10.el7 +8
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) python27-babel-0.9.6-10.el7, python27-python-2.7.18-3.el7, python27-python-babel-0.9.6-10.el7 +8
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) python27-babel-0.9.6-10.el7, python27-python-2.7.18-3.el7, python27-python-babel-0.9.6-10.el7 +8
  • RHSA-2021:3254 Released 2021-08-24 · Red Hat rating Moderate
    rh-python38 security, bug fix, and enhancement update
    • Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
    • Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14
    • Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7) rh-python38-babel-2.7.0-12.el7, rh-python38-python-3.8.11-2.el7, rh-python38-python-babel-2.7.0-12.el7 +14

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat Enterprise Linux 6AffectedNo fix planned: Out of support scope
Red Hat Enterprise Linux 7AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 10 (Newton)AffectedNo fix planned: Out of support scope
Red Hat OpenStack Platform 13 (Queens)AffectedNo fix planned: Out of support scope
Red Hat Quay 3AffectedNo fix yet
Red Hat Storage 3AffectedNo fix planned: Will not fix
Red Hat CodeReady Linux Builder (v. 8)Fixed RHSA-2021:4162
Red Hat Enterprise Linux AppStream (v. 8)Fixed RHSA-2021:4151, RHSA-2021:4162, RHSA-2021:4201
Red Hat Software Collections for Red Hat Enterprise Linux Server (v. 7)Fixed RHSA-2021:3252, RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux Server EUS (v. 7.7)Fixed RHSA-2021:3252, RHSA-2021:3254
Red Hat Software Collections for Red Hat Enterprise Linux Workstation (v. 7)Fixed RHSA-2021:3252, RHSA-2021:3254
Not affected: 1 product
  • Red Hat Enterprise Linux 9

Timeline

  1. 2026-10-02 Threatist record created from CVE-2021-42771
  2. 2026-10-03 Alias added: GHSA-h4m5-qpfp-3mpv

References

Sources