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.