CVE-2026-140083: pylxd: Improper certificate validation by default in HTTPS session creation

Published Dec 1, 2026
·
Updated

Improper certificate validation in HTTPS session creation in Canonical pylxd before 2.4.3 allows an active network attacker to impersonate the LXD endpoint and read and alter API requests and responses, including credentials, secrets, and instance data, via man-in-the-middle interception of HTTPS traffic whose server certificate verification is disabled by default.

Affected Software

1 affected component
pypi/pylxd<2.4.3

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade canonical/pylxd to a version that resolves this vulnerability.

    Fixed in 2.4.3

Event History

Dec 1, 2026
CVE Published
via MITRE·09:01 PM
Data Sourced
via MITRE·09:01 PM
DescriptionWeakness
Data Sourced
via OSV·09:01 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are exposed?

pylxd installations before 2.4.3 that create HTTPS sessions with the default server certificate verification behavior are exposed. The affected package is pypi/pylxd.

2

What does an attacker need to exploit this?

An attacker needs an active man-in-the-middle position on the HTTPS connection between pylxd and the LXD endpoint. They can then impersonate the endpoint because server certificate verification is disabled by default.

3

What could an attacker access or change?

An attacker intercepting the traffic can read and alter API requests and responses. This can include credentials, secrets, and instance data.

4

What should be done if upgrading is not immediately possible?

Enable server certificate verification for HTTPS sessions rather than relying on the affected default behavior. This reduces the ability of a network attacker to impersonate the LXD endpoint.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203