« Volver al listado

CVE-2026-23953

Estado: AnalizadaAlta (8.7)—

Incus is a system container and virtual machine manager. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YAML configuration (e.g a member of the ‘incus’ group) can create an environment variable containing newlines, which can be used to add additional configuration items in the container’s lxc.conf due to newline injection. This can allow adding arbitrary lifecycle hooks, ultimately resulting in arbitrary command execution on the host.

Leer descripción completaMostrar menos

Exploiting this issue on IncusOS requires a slight modification of the payload to change to a different writable directory for the validation step (e.g /tmp). This can be confirmed with a second container with /tmp mounted from the host (A privileged action for validation only). A fix is planned for versions 6.0.6 and 6.21.0, but they have not been released at the time of publication.

CVSS

Probabilidad de explotación (EPSS)

EPSS (Exploit Prediction Scoring System, de FIRST) estima la probabilidad de que una vulnerabilidad sea explotada en 30 días. Complementa a CVSS (impacto) y a CISA KEV (explotación confirmada).

🎯 Técnicas ATT&CK

Cómo se explota esta vulnerabilidad y qué consigue el atacante, en el lenguaje de MITRE ATT&CK.

Acceso local con PR:L en red adyacente (AV:A) permite inyección de newlines en lxc.conf para ejecutar hooks arbitrarios en el host. Requiere ser miembro del grupo 'incus' (privilegios locales previos).

Inferido por nuestro agente de análisis a partir de la descripción oficial, el vector CVSS y la CWE, y comprobado por un supervisor. Puede contener errores.

🛡️ Mitigaciones ATT&CK que cubren estas técnicas

Tecnologías afectadas (1)

CWE

Referencias

JSON original (NVD)

Mostrar
{
  "id": "CVE-2026-23953",
  "cveTags": [],
  "metrics": {
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "id": "CVE-2026-23953",
          "role": "CISA Coordinator",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "version": "2.0.3",
          "timestamp": "2026-01-26T21:00:32.625486Z"
        }
      }
    ],
    "cvssMetricV31": [
      {
        "type": "Secondary",
        "source": "security-advisories@github.com",
        "cvssData": {
          "scope": "CHANGED",
          "version": "3.1",
          "baseScore": 8.7,
          "attackVector": "ADJACENT_NETWORK",
          "baseSeverity": "HIGH",
          "vectorString": "CVSS:3.1/AV:A/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:N",
          "integrityImpact": "HIGH",
          "userInteraction": "NONE",
          "attackComplexity": "LOW",
          "availabilityImpact": "NONE",
          "privilegesRequired": "LOW",
          "confidentialityImpact": "HIGH"
        },
        "impactScore": 5.8,
        "exploitabilityScore": 2.3
      }
    ]
  },
  "affected": [
    {
      "source": "security-advisories@github.com",
      "affectedData": [
        {
          "vendor": "lxc",
          "product": "incus",
          "versions": [
            {
              "status": "affected",
              "version": ">= 6.1.0, <= 6.20.0"
            },
            {
              "status": "affected",
              "version": "<= 6.0.5"
            }
          ]
        }
      ]
    }
  ],
  "published": "2026-01-22T22:16:20.673",
  "references": [
    {
      "url": "https://github.com/lxc/incus/blob/HEAD/internal/server/instance/drivers/driver_lxc.go#L1081",
      "tags": [
        "Product"
      ],
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/lxc/incus/security/advisories/GHSA-x6jc-phwx-hp32",
      "tags": [
        "Exploit",
        "Vendor Advisory"
      ],
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/user-attachments/files/24473682/environment_newline_injection.sh",
      "tags": [
        "Exploit"
      ],
      "source": "security-advisories@github.com"
    },
    {
      "url": "https://github.com/user-attachments/files/24473685/environment_newline_injection.patch",
      "tags": [
        "Patch"
      ],
      "source": "security-advisories@github.com"
    }
  ],
  "vulnStatus": "Analyzed",
  "weaknesses": [
    {
      "type": "Secondary",
      "source": "security-advisories@github.com",
      "description": [
        {
          "lang": "en",
          "value": "CWE-93"
        }
      ]
    }
  ],
  "descriptions": [
    {
      "lang": "en",
      "value": "Incus is a system container and virtual machine manager. In versions 6.20.0 and below, a user with the ability to launch a container with a custom YAML configuration (e.g a member of the ‘incus’ group) can create an environment variable containing newlines, which can be used to add additional configuration items in the container’s lxc.conf due to newline injection. This can allow adding arbitrary lifecycle hooks, ultimately resulting in arbitrary command execution on the host. Exploiting this issue on IncusOS requires a slight modification of the payload to change to a different writable directory for the validation step (e.g /tmp). This can be confirmed with a second container with /tmp mounted from the host (A privileged action for validation only). A fix is planned for versions 6.0.6\nand 6.21.0, but they have not been released at the time of publication."
    },
    {
      "lang": "es",
      "value": "Incus es un gestor de contenedores de sistema y máquinas virtuales. En las versiones 6.20.0 e inferiores, un usuario con la capacidad de lanzar un contenedor con una configuración YAML personalizada (por ejemplo, un miembro del grupo 'incus') puede crear una variable de entorno que contiene saltos de línea, la cual puede usarse para añadir elementos de configuración adicionales en el lxc.conf del contenedor debido a la inyección de saltos de línea. Esto puede permitir añadir ganchos de ciclo de vida arbitrarios, lo que en última instancia resulta en la ejecución arbitraria de comandos en el anfitrión. Explotar este problema en IncusOS requiere una ligera modificación de la carga útil para cambiar a un directorio diferente con permisos de escritura para el paso de validación (por ejemplo, /tmp). Esto puede confirmarse con un segundo contenedor con /tmp montado desde el anfitrión (Una acción privilegiada solo para validación). Se planea una solución para las versiones 6.0.6 y 6.21.0, pero no han sido lanzadas en el momento de la publicación."
    }
  ],
  "lastModified": "2026-06-17T10:22:20.643",
  "configurations": [
    {
      "nodes": [
        {
          "negate": false,
          "cpeMatch": [
            {
              "criteria": "cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "0DF87DBE-86FF-4E74-8086-AE3360A94C71",
              "versionEndIncluding": "6.0.5"
            },
            {
              "criteria": "cpe:2.3:a:linuxcontainers:incus:*:*:*:*:*:*:*:*",
              "vulnerable": true,
              "matchCriteriaId": "47AA575C-385C-4C34-8CC0-F370EC4ED7B4",
              "versionEndExcluding": "6.21.0",
              "versionStartIncluding": "6.1.0"
            }
          ],
          "operator": "OR"
        }
      ]
    }
  ],
  "sourceIdentifier": "security-advisories@github.com"
}