Security mailing lists by PureSourceCode

CVE-2026-41066

HIGH 7.5CVSS 3.1

lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files

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.

Published
24 Apr 2026
Last modified
11 Nov 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-611
Also known as
GHSA-vfmq-68hx-4jfwPYSEC-2026-87
Sources
NVDJSONOSV GHSA-vfmq-68hx-4jfwJSONOSV PYSEC-2026-87JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV PyPA CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD lxml lxml
cpe:2.3:a:lxml:lxml:*:*:*:*:*:*:*:*
< 6.1.0 6.1.0
OSV PyPI lxml < 6.1.0 6.1.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 24 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 Apr 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 21 Apr 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.