Vulnerabilities · 2017 · Python
CVE-2017-5992
Python Openpyxl vulnerability
Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.
Affected products
Openpyxl. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Python Openpyxl runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- www.openwall.com/lists/oss-security/2017/02/07/5 · Third Party Advisory
- bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1 · Third Party Advisory
- bitbucket.org/openpyxl/openpyxl/issues/749 · Third Party Advisory
- bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442 · Third Party Advisory
- nvd.nist.gov/vuln/detail/CVE-2017-5992
- foss.heptapod.net/openpyxl/openpyxl/-/commit/7fe678fd89fd
- foss.heptapod.net/openpyxl/openpyxl/-/issues/749
- github.com/advisories/GHSA-chqf-hx79-gxc6
- nvd.nist.gov/vuln/detail/CVE-2017-5992
- cve.org/CVERecord?id=CVE-2017-5992
More vulnerabilities in Python products
CVE-2026-21441CVE-2025-66471CVE-2025-66418CVE-2025-50182CVE-2025-50181CVE-2025-48379CVE-2025-47273CVE-2025-13837All 231
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.