Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to…
Priority LOW 39CWE-611Published · Updated
Key facts
- Attack vector
- Local
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- —
- Confidentiality · integrity · availability
- High · None · High
- Fix status
- Fixed
Attack profile from CVSS 3.0 · NVD. Fix status from CNA and GitHub.
Summary
Openpyxl 2.4.1 resolves external entities by default, which allows remote attackers to conduct XXE attacks via a crafted .xlsx document.
Why it matters now
EPSS 0.01411 72nd percentileScored 2026-11-07
Fix Fixed openpyxl (PyPI): 2.4.2
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | — | all versions | — | No fix listed | CNA |
| — | openpyxl (PyPI) | before 2.4.2 | 2.4.2 | Patch available | GHSA-chqf-hx79-gxc6 |
- — Vendor— Affected all versions Fixed in — No fix listed CNA
- openpyxl (PyPI) Vendor— Affected before 2.4.2 Fixed in 2.4.2 Patch available GHSA-chqf-hx79-gxc6
CPE configurations NVD · 1
| CPE | Versions | Role | Vendor |
|---|---|---|---|
| cpe:2.3:a:python:openpyxl:2.4.1:*:*:*:*:*:*:* | 2.4.1 | Vulnerable | python-pillow |
- cpe:2.3:a:python:openpyxl:2.4.1:*:*:*:*:*:*:* Versions 2.4.1 Vulnerable ·python-pillow
Remediation
- Fix · GHSA-chqf-hx79-gxc6 openpyxl (PyPI) Fixed in 2.4.2 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2017-5992
- 2026-10-03 Alias added: GHSA-chqf-hx79-gxc6
References
Advisory 6
- https://bitbucket.org/openpyxl/openpyxl/issues/749
- https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=854442
- https://bitbucket.org/openpyxl/openpyxl/commits/3b4905f428e1
- http://www.openwall.com/lists/oss-security/2017/02/07/5
- https://nvd.nist.gov/vuln/detail/CVE-2017-5992
- https://github.com/advisories/GHSA-chqf-hx79-gxc6
Sources
- CVE-2017-5992 · CVE Program
- CVE-2017-5992 · NVD
- FIRST EPSS
- GHSA-chqf-hx79-gxc6 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences