CVE-2026-63298 (GCVE-0-2026-63298)

Vulnerability from cvelistv5 – Published: 2026-08-12 19:22 – Updated: 2026-08-13 14:33
VLAI
Title
LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration
Summary
An improper neutralization of special elements vulnerability in LXD's NVIDIA instance configuration handling allows an authenticated attacker to inject arbitrary configuration directives. By supplying newline characters within the 'nvidia.driver.capabilities' or 'nvidia.require.*' configuration values, an attacker can manipulate the generated lxc.conf file. This flaw enables the attacker to execute arbitrary code on the host system with the privileges of the LXD daemon.
SSVC
Exploitation: poc Automatable: no Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-13 14:33 UTC
CWE
  • CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
Assigner
References
URL Tags
https://github.com/canonical/lxd/security/advisor… vdb-entryvendor-advisory
Impacted products
Vendor Product Version
Canonical LXD Affected: 5.0.0 , < 5.0.8 (semver)
Affected: 5.21.0 , < 5.21.6 (semver)
Affected: 4.0.0 , < 4.0.12 (semver)
Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-63298",
                "options": [
                  {
                    "Exploitation": "poc"
                  },
                  {
                    "Automatable": "no"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-13T14:33:35.469940Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-13T14:33:57.467Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "references": [
          {
            "tags": [
              "exploit"
            ],
            "url": "https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2"
          }
        ],
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "defaultStatus": "unaffected",
          "packageName": "LXD",
          "platforms": [
            "Linux"
          ],
          "product": "LXD",
          "repo": "https://github.com/canonical/lxd",
          "vendor": "Canonical",
          "versions": [
            {
              "lessThan": "5.0.8",
              "status": "affected",
              "version": "5.0.0",
              "versionType": "semver"
            },
            {
              "lessThan": "5.21.6",
              "status": "affected",
              "version": "5.21.0",
              "versionType": "semver"
            },
            {
              "lessThan": "4.0.12",
              "status": "affected",
              "version": "4.0.0",
              "versionType": "semver"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "An improper neutralization of special elements vulnerability in LXD\u0027s NVIDIA instance configuration handling allows an authenticated attacker to inject arbitrary configuration directives. By supplying newline characters within the \u0027nvidia.driver.capabilities\u0027 or \u0027nvidia.require.*\u0027 configuration values, an attacker can manipulate the generated lxc.conf file. This flaw enables the attacker to execute arbitrary code on the host system with the privileges of the LXD daemon."
        }
      ],
      "impacts": [
        {
          "capecId": "CAPEC-81",
          "descriptions": [
            {
              "lang": "en",
              "value": "Input Data Manipulation"
            }
          ]
        },
        {
          "capecId": "CAPEC-233",
          "descriptions": [
            {
              "lang": "en",
              "value": "Privilege Escalation"
            }
          ]
        }
      ],
      "metrics": [
        {
          "cvssV3_1": {
            "attackComplexity": "LOW",
            "attackVector": "NETWORK",
            "availabilityImpact": "NONE",
            "baseScore": 8.7,
            "baseSeverity": "HIGH",
            "confidentialityImpact": "HIGH",
            "integrityImpact": "HIGH",
            "privilegesRequired": "LOW",
            "scope": "CHANGED",
            "userInteraction": "NONE",
            "vectorString": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H",
            "version": "3.1"
          },
          "format": "CVSS",
          "scenarios": [
            {
              "lang": "en",
              "value": "GENERAL"
            }
          ]
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-78",
              "description": "CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-12T19:22:07.286Z",
        "orgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
        "shortName": "canonical"
      },
      "references": [
        {
          "tags": [
            "vdb-entry",
            "vendor-advisory"
          ],
          "url": "https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2"
        }
      ],
      "solutions": [
        {
          "lang": "en",
          "value": "Upgrade to LXD version 4.0.12 or later, 5.0.8 or later, or 5.12.6 or later."
        }
      ],
      "source": {
        "discovery": "EXTERNAL"
      },
      "title": "LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "cc1ad9ee-3454-478d-9317-d3e869d708bc",
    "assignerShortName": "canonical",
    "cveId": "CVE-2026-63298",
    "datePublished": "2026-08-12T19:22:07.286Z",
    "dateReserved": "2026-07-16T09:49:29.911Z",
    "dateUpdated": "2026-08-13T14:33:57.467Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "epss": {
      "cve": "CVE-2026-63298",
      "date": "2026-08-13",
      "epss": "0.00355",
      "percentile": "0.28439"
    },
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-63298\",\"sourceIdentifier\":\"security@ubuntu.com\",\"published\":\"2026-08-12T20:17:47.713\",\"lastModified\":\"2026-08-13T15:19:54.960\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"An improper neutralization of special elements vulnerability in LXD\u0027s NVIDIA instance configuration handling allows an authenticated attacker to inject arbitrary configuration directives. By supplying newline characters within the \u0027nvidia.driver.capabilities\u0027 or \u0027nvidia.require.*\u0027 configuration values, an attacker can manipulate the generated lxc.conf file. This flaw enables the attacker to execute arbitrary code on the host system with the privileges of the LXD daemon.\"}],\"affected\":[{\"source\":\"security@ubuntu.com\",\"affectedData\":[{\"vendor\":\"Canonical\",\"product\":\"LXD\",\"defaultStatus\":\"unaffected\",\"packageName\":\"LXD\",\"platforms\":[\"Linux\"],\"repo\":\"https://github.com/canonical/lxd\",\"versions\":[{\"version\":\"5.0.0\",\"lessThan\":\"5.0.8\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"5.21.0\",\"lessThan\":\"5.21.6\",\"versionType\":\"semver\",\"status\":\"affected\"},{\"version\":\"4.0.0\",\"lessThan\":\"4.0.12\",\"versionType\":\"semver\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV31\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"3.1\",\"vectorString\":\"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\",\"baseScore\":9.9,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"privilegesRequired\":\"LOW\",\"userInteraction\":\"NONE\",\"scope\":\"CHANGED\",\"confidentialityImpact\":\"HIGH\",\"integrityImpact\":\"HIGH\",\"availabilityImpact\":\"HIGH\"},\"exploitabilityScore\":3.1,\"impactScore\":6.0}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-13T14:33:35.469940Z\",\"id\":\"CVE-2026-63298\",\"options\":[{\"exploitation\":\"poc\"},{\"automatable\":\"no\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security@ubuntu.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-78\"}]}],\"references\":[{\"url\":\"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2\",\"source\":\"security@ubuntu.com\"},{\"url\":\"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2\",\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\"}]}}",
    "vulnrichment": {
      "containers": "{\"cna\": {\"title\": \"LXD arbitrary lxc.conf directive injection via NVIDIA instance configuration\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"An improper neutralization of special elements vulnerability in LXD\u0027s NVIDIA instance configuration handling allows an authenticated attacker to inject arbitrary configuration directives. By supplying newline characters within the \u0027nvidia.driver.capabilities\u0027 or \u0027nvidia.require.*\u0027 configuration values, an attacker can manipulate the generated lxc.conf file. This flaw enables the attacker to execute arbitrary code on the host system with the privileges of the LXD daemon.\"}], \"affected\": [{\"vendor\": \"Canonical\", \"product\": \"LXD\", \"packageName\": \"LXD\", \"platforms\": [\"Linux\"], \"repo\": \"https://github.com/canonical/lxd\", \"defaultStatus\": \"unaffected\", \"versions\": [{\"version\": \"5.0.0\", \"status\": \"affected\", \"versionType\": \"semver\", \"lessThan\": \"5.0.8\"}, {\"version\": \"5.21.0\", \"status\": \"affected\", \"versionType\": \"semver\", \"lessThan\": \"5.21.6\"}, {\"version\": \"4.0.0\", \"status\": \"affected\", \"versionType\": \"semver\", \"lessThan\": \"4.0.12\"}]}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"description\": \"CWE-78 Improper Neutralization of Special Elements used in an OS Command (\u0027OS Command Injection\u0027)\", \"cweId\": \"CWE-78\", \"type\": \"CWE\"}]}], \"impacts\": [{\"capecId\": \"CAPEC-81\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"Input Data Manipulation\"}]}, {\"capecId\": \"CAPEC-233\", \"descriptions\": [{\"lang\": \"en\", \"value\": \"Privilege Escalation\"}]}], \"references\": [{\"url\": \"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2\", \"tags\": [\"vdb-entry\", \"vendor-advisory\"]}], \"metrics\": [{\"format\": \"CVSS\", \"scenarios\": [{\"lang\": \"en\", \"value\": \"GENERAL\"}], \"cvssV3_1\": {\"version\": \"3.1\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\", \"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"privilegesRequired\": \"LOW\", \"userInteraction\": \"NONE\", \"scope\": \"CHANGED\", \"confidentialityImpact\": \"HIGH\", \"integrityImpact\": \"HIGH\", \"availabilityImpact\": \"NONE\", \"baseScore\": 8.7, \"baseSeverity\": \"HIGH\"}}], \"source\": {\"discovery\": \"EXTERNAL\"}, \"solutions\": [{\"lang\": \"en\", \"value\": \"Upgrade to LXD version 4.0.12 or later, 5.0.8 or later, or 5.12.6 or later.\"}], \"providerMetadata\": {\"orgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"shortName\": \"canonical\", \"dateUpdated\": \"2026-08-12T19:22:07.286Z\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-63298\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"poc\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-13T14:33:35.469940Z\"}}}], \"references\": [{\"url\": \"https://github.com/canonical/lxd/security/advisories/GHSA-vfh7-q59q-54v2\", \"tags\": [\"exploit\"]}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-13T14:33:53.228Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-63298\", \"assignerOrgId\": \"cc1ad9ee-3454-478d-9317-d3e869d708bc\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"canonical\", \"dateReserved\": \"2026-07-16T09:49:29.911Z\", \"datePublished\": \"2026-08-12T19:22:07.286Z\", \"dateUpdated\": \"2026-08-13T14:33:57.467Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…