CVE-2017-5992Python Openpyxl
High 8.2
Follow: this CVE · Python · Python Openpyxl We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Openpyxl.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| python | openpyxl | 2.4.1 |
Official sources
References
Links published by the sources. Open them with care.
- www.openwall.com Mailing List Third Party Advisory
- bitbucket.org Issue Tracking Third Party Advisory
- bitbucket.org Issue Tracking Third Party Advisory
- bugs.debian.org Issue Tracking Third Party Advisory