{"answers":{"affected":"3 open source packages ship an affected version, including lxml. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-41066 in the wild and no public exploit code.","fix":"Upgrade lxml to 6.1.0 or later.","what":"CVE-2026-41066 is a high-severity vulnerability in lxml, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41066 and fix it if it is affected.\n\nWhat it is: CVE-2026-41066 is a high-severity vulnerability in lxml, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41066 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- lxml (PyPI): affected all versions; fixed in 6.1.0\n- lxml (PyPI): affected all versions; fixed in 6.1.0\n- lxml (PyPI): affected all versions; fixed in 6.1.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41066/ (Markdown: https://insights.sbomify.com/CVE-2026-41066/index.md)","id":"CVE-2026-41066","markdown":"https://insights.sbomify.com/CVE-2026-41066/index.md","name":"CVE-2026-41066","record":{"aliases":["ALPINE-CVE-2026-41066","AZL-84038","BELL-CVE-2026-41066","CLEANSTART-2026-CH74669","CLEANSTART-2026-EH50321","CLSA-2026-1779151640","CLSA-2026-1779238041","CLSA-2026-1791195897","DEBIAN-CVE-2026-41066","ECHO-e83f-9e30-4171","GHSA-vfmq-68hx-4jfw","MINI-3wph-h6r9-hg7h","MINI-52x3-2745-68v2","MINI-66x7-xfrp-v35r","MINI-6pm3-5459-g446","MINI-9w24-g92g-2wf7","MINI-cmf6-7x29-6j4h","MINI-m6qw-86xc-qgp7","MINI-vwh3-w5xp-h793","OESA-2026-2008","OESA-2026-2009","OESA-2026-2010","OESA-2026-2011","OESA-2026-2012","PYSEC-2026-87","ROOT-APP-PYPI-CVE-2026-41066","SUSE-SU-2026:21587-1","SUSE-SU-2026:21603-1","SUSE-SU-2026:21731-1","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","UBUNTU-CVE-2026-41066","openSUSE-SU-2026:10596-1","openSUSE-SU-2026:20737-1"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read"],"network_reachable":"yes","non_default_config":false,"product_category":"Python XML library","requires_auth":"none","summary":"Attackers can read local files via XML External Entity injection when using lxml parsers with default settings.","user_interaction":"not_required","vuln_class":"xxe"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"lxml","vendor":"lxml"}],"cvss":{"score":7.5,"severity":"high","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"cwes":[{"id":"CWE-611","name":"Improper Restriction of XML External Entity Reference"}],"description":"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.","ecosystems":["PyPI","SUSE:Linux Enterprise Micro 5.3","SUSE:Linux Enterprise Micro 5.4","SUSE:Linux Enterprise Micro 5.5","SUSE:Linux Enterprise Module for Basesystem 15 SP7","SUSE:Linux Enterprise Module for Python 3 15 SP7","SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","openSUSE:Tumbleweed"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"lxml: Default configuration of iterparse() and ETCompatXMLParser() allows XXE to local files","id":"CVE-2026-41066","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"xxe","year":"2026"},"n_packages":11,"n_references":2,"next":{"headline":"Astro: XSS via incomplete `\u003c/script\u003e` sanitization in `define:vars` allows case-insensitive and whitespace-based bypass","id":"CVE-2026-41067"},"packages":[{"ecosystem":"PyPI","fixed":["6.1.0"],"introduced":["0"],"last_affected":[],"package":"lxml","purl":null,"source":"GHSA-vfmq-68hx-4jfw"},{"ecosystem":"PyPI","fixed":["6.1.0"],"introduced":["0"],"last_affected":[],"package":"lxml","purl":"pkg:pypi/lxml","source":"GHSA-vfmq-68hx-4jfw"},{"ecosystem":"PyPI","fixed":["6.1.0"],"introduced":["0"],"last_affected":[],"package":"lxml","purl":"pkg:pypi/lxml","source":"PYSEC-2026-87"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.3","fixed":["4.7.1-150200.3.15.1"],"introduced":["0"],"last_affected":[],"package":"python-lxml","purl":"pkg:rpm/suse/python-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.3","source":"SUSE-SU-2026:2488-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.4","fixed":["4.7.1-150200.3.15.1"],"introduced":["0"],"last_affected":[],"package":"python-lxml","purl":"pkg:rpm/suse/python-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.4","source":"SUSE-SU-2026:2488-1"},{"ecosystem":"SUSE:Linux Enterprise Micro 5.5","fixed":["4.9.1-150500.3.7.1"],"introduced":["0"],"last_affected":[],"package":"python3-lxml","purl":"pkg:rpm/suse/python3-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Micro%205.5","source":"SUSE-SU-2026:2754-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Basesystem 15 SP7","fixed":["4.9.1-150500.3.7.1"],"introduced":["0"],"last_affected":[],"package":"python3-lxml","purl":"pkg:rpm/suse/python3-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Basesystem%2015%20SP7","source":"SUSE-SU-2026:2754-1"},{"ecosystem":"SUSE:Linux Enterprise Module for Python 3 15 SP7","fixed":["4.9.3-150400.8.11.1"],"introduced":["0"],"last_affected":[],"package":"python-lxml","purl":"pkg:rpm/suse/python-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Module%20for%20Python%203%2015%20SP7","source":"SUSE-SU-2026:2729-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["3.6.1-8.8.1"],"introduced":["0"],"last_affected":[],"package":"python-lxml","purl":"pkg:rpm/suse/python-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:2728-1"},{"ecosystem":"SUSE:Linux Enterprise Server LTSS Extended Security 12 SP5","fixed":["3.6.1-3.9.1"],"introduced":["0"],"last_affected":[],"package":"python3-lxml","purl":"pkg:rpm/suse/python3-lxml\u0026distro=SUSE%20Linux%20Enterprise%20Server%20LTSS%20Extended%20Security%2012%20SP5","source":"SUSE-SU-2026:2752-1"},{"ecosystem":"openSUSE:Tumbleweed","fixed":["6.1.0-1.1"],"introduced":["0"],"last_affected":[],"package":"python-lxml","purl":"pkg:rpm/opensuse/python-lxml\u0026distro=openSUSE%20Tumbleweed","source":"openSUSE-SU-2026:10596-1"}],"prev":{"headline":"Tautulli Vulnerable to Unauthenticated/Authenticated Remote Code Execution via Newsletter Custom Template Directory","id":"CVE-2026-41065"},"products":["lxml"],"published":"2026-04-24","related":[{"cvss_score":6.1,"headline":"lxml Cross-site Scripting Via Control Characters","id":"CVE-2014-3146","kev_date_added":null,"published":"2014-05-14"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CC BY 4.0","name":"PyPA Advisory Database","prefix":"PYSEC"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"SUSE"},{"class":"attribution","licence":"CC BY 4.0","name":"SUSE","prefix":"openSUSE"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"yes","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-04-24","vendors":["lxml"]},"summary":"Attackers can read local files via XML External Entity injection when using lxml parsers with default settings.","url":"https://insights.sbomify.com/CVE-2026-41066/"}