# CVE-2026-41066: lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

- Priority: **Prioritise**
- Reason: Public exploit (reference, Date unknown)
- Next step: Check applicability: affected before 6.1.0 (CNA); fix release not confirmed
- Status: published
- Published: 2026-04-24 · Modified: 2026-04-24
- Aliases: ALPINE-CVE-2026-41066, SUSE-SU-2026:2488-1, SUSE-SU-2026:2728-1, SUSE-SU-2026:2729-1, SUSE-SU-2026:2752-1, SUSE-SU-2026:2754-1, GHSA-vfmq-68hx-4jfw, PYSEC-2026-87, UBUNTU-CVE-2026-41066, DEBIAN-CVE-2026-41066, CGA-25m7-89cv-36hq, CGA-3rr6-rc55-p7fr, CGA-3rvf-7gc4-j52j, CGA-6pwp-cjv4-f889, CGA-7ch9-55mg-5hj5, CGA-96j2-877j-5f8p, CGA-9q38-r8c2-28mw, CGA-cwc2-rg5w-m54h, CGA-ff7h-j55x-g2mp, CGA-hf3r-9f33-q8x5, CGA-hfq9-5jc7-64qv, CGA-m26f-w5p3-m773, CGA-mrw4-3wq5-jc3x, CGA-p45g-7867-374r, CGA-p9gv-46w5-76rf, CGA-qhgx-hq7g-5v3w, CGA-r5xx-4rp4-25wx, openSUSE-SU-2026:10596-1, CGA-3wj4-3m6r-6v9c, CGA-3x89-qpm2-qxp9, CGA-4866-449p-qx32, CGA-53pj-m59h-f6q3, CGA-5gpj-7qcp-g52g, CGA-5vg5-fjcf-8wph, CGA-6xfv-3wfw-9gj4, CGA-79cm-m784-m63p, CGA-7hfh-43wr-63hc, CGA-7w9v-4662-mqhp, CGA-854v-wfmf-pm3q, CGA-87m7-329x-9f79, CGA-8cv8-63gv-fp89, CGA-95g9-vgqw-6595, CGA-c2v6-ccmr-vr22, CGA-fm6p-q3c7-wqwp, CGA-g979-m4cx-g5x5, CGA-gcjw-x6gw-6vq6, CGA-hq69-whgj-fc7r, CGA-mcj3-8r9g-72cw, CGA-mv8q-fhjc-fmmx, CGA-pg9h-frr9-f8w9, CGA-ppjv-c3rh-g447, CGA-q986-849c-j899, CGA-qmp2-55wv-q4h2, CGA-rrhj-j6fw-h4r5, CGA-vh9x-6543-7c3x, CGA-wc22-7mfm-vrg7, CGA-wqq2-46w8-g825, CGA-ww83-vwv3-v87c, CGA-xg9v-w856-69xc, CGA-xrxr-p3gm-9fg7
- Record: https://cvemate.com/vulnerability/CVE-2026-41066 · JSON: https://cvemate.com/vulnerability/CVE-2026-41066/json

## Description

```text
lxml is a library for processing XML and HTML in the Python language. Prior to 6.1.0, using either of the two parsers in the default configuration (with resolve_entities=True) allows untrusted XML input to read local files. Setting the resolve_entities option explicitly to resolve_entities='internal' or resolve_entities=False disables the local file access. This vulnerability is fixed in 6.1.0.
```

## Signals

- CVSS: 7.5 high (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.326%, percentile 27.742%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (reference)

## Affected (first 20 of 51)

- alpine py3-lxml (Alpine Linux): \< 6.1.0-r0
- chainguard airflow-2 (Chainguard): All versions (No fix recorded)
- chainguard airflow-3 (Chainguard): \< 3.2.1-r1
- chainguard authentik-2025.12 (Chainguard): \< 2025.12.4-r5
- chainguard authentik-fips-2025.12 (Chainguard): \< 2025.12.4-r4
- chainguard awx (Chainguard): \< 24.6.1-r49
- chainguard datadog-agent-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.73-core-integrations (Chainguard): \< 7.73.3-r23
- chainguard datadog-agent-7.74-core-integrations (Chainguard): \< 7.74.1-r24
- chainguard datadog-agent-7.75-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-7.76 (Chainguard): All versions (No fix recorded) \| \< 7.76.3-r41
- chainguard datadog-agent-7.76-core-integrations (Chainguard): \< 7.76.3-r15
- chainguard datadog-agent-7.77-core-integrations (Chainguard): \< 7.77.3-r6
- chainguard datadog-agent-fips-7.71-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.72-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.73-core-integrations (Chainguard): \< 7.73.3-r10
- chainguard datadog-agent-fips-7.74-core-integrations (Chainguard): \< 7.74.1-r9
- chainguard datadog-agent-fips-7.75-core-integrations (Chainguard): All versions (No fix recorded)
- chainguard datadog-agent-fips-7.76-core-integrations (Chainguard): \< 7.76.3-r13

## References

- <https://github.com/lxml/lxml/security/advisories/GHSA-vfmq-68hx-4jfw>
- <https://bugs.launchpad.net/lxml/+bug/2146291>
- <https://security.alpinelinux.org/vuln/CVE-2026-41066>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262488-1/>
- <https://bugzilla.suse.com/1263254>
- <https://www.suse.com/security/cve/CVE-2026-41066>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262728-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262729-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262752-1/>
- <https://www.suse.com/support/update/announcement/2026/suse-su-20262754-1/>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-41066>
- <https://github.com/lxml/lxml>
- <https://github.com/lxml/lxml/releases/tag/lxml-6.1.0>
- <https://github.com/pypa/advisory-database/tree/main/vulns/lxml/PYSEC-2026-87.yaml>
- <https://ubuntu.com/security/CVE-2026-41066>
- <https://www.cve.org/CVERecord?id=CVE-2026-41066>
- <https://ubuntu.com/security/notices/USN-8897-1>
- <https://security-tracker.debian.org/tracker/CVE-2026-41066>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/41xxx/CVE-2026-41066.json>

---

Data as of 2026-12-05T06:33:33.427Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
