Skip to content

High Severity Vulnerability: lxml in agent 7.78.2 or less have vulnerability CVE: CVE-2026-41066 #50116

@ghimire

Description

@ghimire

Agent version

7.78.2

Bug Report

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

The python library lxml version 6.0.1 in /opt/datadog-agent/embedded/lib/python3.13/site-packages/lxml-6.0.1.dist-info/METADATA is vulnerable to CVE-2026-41066, which exists in versions < 6.1.0.

This can be fixed by updating the lxml package to version 6.1.0 or higher.

Related resources:

A public exploit for this vulnerability in lxml is available as well.

Reproduction Steps

No response

Agent configuration

No response

Operating System

No response

Other environment details

No response

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions