Canonical pylxd Fixes WebSocket TLS Verification For Exec Streams

P1 — VALIDATE AND UPDATEHigh · 7.4 (CVSS 3.1 base score published by Canonical)EXPLOITATION: NOT STATED

Quick Answer

Update pylxd to 2.4.3 and verify that exec WebSockets reject an untrusted server while approved commands and output handling still work.

Confirm Scope And Apply The Supported Remediation

What to do now: Record pylxd package and active runtime versions, application images, HTTPS client verification settings, trust material and remote exec consumers. Review remote HTTPS exec workflows and network attacker prerequisites. Ordinary REST client verification does not establish that the WebSocket path is protected. Upgrade the application dependency to pylxd 2.4.3 through its supported package process, rebuild deployment images and replace active Python consumers. Preserve the intended CA/trust configuration. Test trusted and untrusted certificates on exec streams and verify stdin/stdout/stderr behavior with non-sensitive approved inputs. Retain dependency locks, image digests, TLS test outcomes and application/network records relevant to suspected interception.

Open the authoritative advisory

Last verified: 2026-11-27 UTC. Recheck the authoritative advisory and supported distribution channel before changing production.

Scope And Authority

Product scopepylxd
AdvisoryGHSA-3wgp-hmvf-xj8h
CVECVE-2026-127163
Authoritative release date2026-11-26T23:43:52Z — latest addition to this grouped notice; individual first-party publication times are retained separately.
Authority revision dateNo separate revision is stated.
Affected versionspylxd 2.4.2 and earlier when remote HTTPS exec streams rely on configured server verification and an attacker has an active network position.
Fixed versionpylxd 2.4.3.
CVSS base score7.4 (CVSS 3.1 base score published by Canonical)
CVSS severityHigh
Exploitation statusThe cited authority does not confirm exploitation in the wild.; no exploitation claim is inferred.

Canonical Issue And Branch Matrix

Canonical advisory / CVEIssueReported affected rangeFixed versionsOfficial component rating
GHSA-3wgp-hmvf-xj8h / CVE-2026-127163WebSocket exec streams bypass configured TLS server verification<=2.4.2; exclude the branch corrections in the next column2.4.37.4 High (CVSS 3.1)

What Changed

The pylxd WebSocket execution path can bypass the HTTPS client TLS server verification setting. An active network attacker can receive command stdin and replace stdout or stderr without a stolen client key; the advisory does not claim unconditional server code execution.

What To Validate Now

  1. Inventory. Record pylxd package and active runtime versions, application images, HTTPS client verification settings, trust material and remote exec consumers.
  2. Establish applicability. Review remote HTTPS exec workflows and network attacker prerequisites. Ordinary REST client verification does not establish that the WebSocket path is protected.
  3. Remediate. Upgrade the application dependency to pylxd 2.4.3 through its supported package process, rebuild deployment images and replace active Python consumers. Preserve the intended CA/trust configuration.
  4. Validate. Test trusted and untrusted certificates on exec streams and verify stdin/stdout/stderr behavior with non-sensitive approved inputs. Retain dependency locks, image digests, TLS test outcomes and application/network records relevant to suspected interception.
  5. Retain evidence. Preserve asset and owner identifiers, the applicability decision, before-and-after versions, change approval, installation output, validation results, and any exception or rollback record.

Operational Cautions

The attack requires active network interception and selective handling of the WebSocket connection. The authority does not claim theft of the client private key or arbitrary authenticated REST access. Canonical does not confirm exploitation in the cited advisories.

Evidence To Retain

  • Exact product, release stream, package or application version, enabled feature, environment, and accountable owner.
  • UTC timestamps, authority revision, approved change record, installer or package-manager output, and resulting version.
  • Relevant logs and monitoring evidence, test results, exceptions, compensating controls, and rollback decisions.

Related TechGeeks Resources

Authoritative References

Correction policy: If the authority changes affected versions, fixed versions, severity, exploitation information, mitigations, or required action, TechGeeks will update this notice and its verification date.