Live threats

All CVEs / Python

CVE-2017-5992Python Openpyxl

High 8.2

Priority
49
CVSS 3.0
8.2
EPSS
1.4%
probability of exploitation in 30 days · percentile 73
Auth required
Yes
Published
Feb 15, 2017
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-611
Vector
CVSS:3.0/AV:L/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:H

What happens

Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.

Original NVD text.

What to do

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

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI openpyxl < 2.4.2 2.4.2 pip install "openpyxl>=2.4.2"
PyPI openpyxl < 2.4.1 2.4.1 pip install "openpyxl>=2.4.1"

Per OSV / GitHub Advisories (GHSA-chqf-hx79-gxc6, PYSEC-2017-48). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
pythonopenpyxl2.4.1

Official sources

References

Links published by the sources. Open them with care.