cve.bz

CVE-2026-135379 lxd: Improper control of code generation in container configuration and restriction checks

6.5 medium

Medium (6.5) in canonical lxd.

On this page
Improper control of code generation and project restriction enforcement in container configuration handling in Canonical LXD before 4.0.16, 5.0.12, 5.21.10, 6.10.2 allows an authenticated user with restricted project access to execute arbitrary commands as root on the host, crash the daemon, and alter shared bridge DHCP assignments via image-supplied LXC configuration, concurrent rename races during updates, and unvalidated syscall or hardware address settings.

Severity

CVSS 4.0

6.5 medium
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:N/VA:N/SC:H/SI:H/SA:H
CWE
CWE-94 Improper Control of Generation of Code (Code Injection)
OWASP Top 10
A05:2025 Injection
Published
Assigned by
canonical (CNA)
NVD analysis
Not in the NVD yet
Record from
the CVE List, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-135379 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-135379?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-135379?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-135379 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Canonical LXDfrom 4.0 before 4.0.16
Canonical LXDfrom 4.0 before 5.0.12
Canonical LXDfrom 4.0 before 5.21.10
Canonical LXDfrom 4.0 before 6.10.2

Attack patterns (CAPEC)

  • CAPEC-35 Leverage Executable Code in Non-Executable Files Likelihood: High · Severity: Very High
  • CAPEC-77 Manipulating User-Controlled Variables Likelihood: High · Severity: Very High
  • CAPEC-242 Code Injection Likelihood: High · Severity: High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON