Canonical pylxd Fixes WebSocket TLS Verification For Exec Streams
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.
Last verified: 2026-11-27 UTC. Recheck the authoritative advisory and supported distribution channel before changing production.
Scope And Authority
| Product scope | pylxd |
|---|---|
| Advisory | GHSA-3wgp-hmvf-xj8h |
| CVE | CVE-2026-127163 |
| Authoritative release date | 2026-11-26T23:43:52Z — latest addition to this grouped notice; individual first-party publication times are retained separately. |
| Authority revision date | No separate revision is stated. |
| Affected versions | pylxd 2.4.2 and earlier when remote HTTPS exec streams rely on configured server verification and an attacker has an active network position. |
| Fixed version | pylxd 2.4.3. |
| CVSS base score | 7.4 (CVSS 3.1 base score published by Canonical) |
| CVSS severity | High |
| Exploitation status | The cited authority does not confirm exploitation in the wild.; no exploitation claim is inferred. |
Canonical Issue And Branch Matrix
| Canonical advisory / CVE | Issue | Reported affected range | Fixed versions | Official component rating |
|---|---|---|---|---|
| GHSA-3wgp-hmvf-xj8h / CVE-2026-127163 | WebSocket exec streams bypass configured TLS server verification | <=2.4.2; exclude the branch corrections in the next column | 2.4.3 | 7.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
- Inventory. Record pylxd package and active runtime versions, application images, HTTPS client verification settings, trust material and remote exec consumers.
- Establish applicability. Review remote HTTPS exec workflows and network attacker prerequisites. Ordinary REST client verification does not establish that the WebSocket path is protected.
- 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.
- 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.
- 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.

