← Back to CVE Explorer

CVE-2026-6442

Full vulnerability record from the local CVENow database.

Description

Improper validation of bash commands in Snowflake Cortex Code CLI versions prior to 1.0.25 allowed subsequent commands to execute outside the sandbox. An attacker could exploit this by embedding specially crafted commands in untrusted content, such as a malicious repository, causing the CLI agent to execute arbitrary code on the local device without user consent. Exploitation is non-deterministic and model-dependent. The fix is automatically applied upon relaunch with no user action required.

Severity
HIGH
CVSS score
8.3 (v3.1)
Vulnerability status
Awaiting Analysis
Source identifier
412d305a-227d-44f9-a262-a31ba44f2aea
Published
2026-04-16 19:16:35.560000
Last modified
2026-10-25 23:10:00.167000
View original CVE JSON
{
  "id": "CVE-2026-6442",
  "sourceIdentifier": "412d305a-227d-44f9-a262-a31ba44f2aea",
  "published": "2026-04-16T19:16:35.560",
  "lastModified": "2026-10-25T23:10:00.167",
  "vulnStatus": "Awaiting Analysis",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "Improper validation of bash commands in Snowflake Cortex Code CLI versions prior to 1.0.25 allowed subsequent commands to execute outside the sandbox. An attacker could exploit this by embedding specially crafted commands in untrusted content, such as a malicious repository, causing the CLI agent to execute arbitrary code on the local device without user consent. Exploitation is non-deterministic and model-dependent. The fix is automatically applied upon relaunch with no user action required."
    },
    {
      "lang": "es",
      "value": "La validación incorrecta de comandos bash en versiones de Snowflake Cortex Code CLI anteriores a la 1.0.25 permitía que comandos subsiguientes se ejecutaran fuera de la sandbox. Un atacante podría explotar esto incrustando comandos especialmente diseñados en contenido no confiable, como un repositorio malicioso, haciendo que el agente de la CLI ejecutara código arbitrario en el dispositivo local sin el consentimiento del usuario. La explotación no es determinista y depende del modelo. La corrección se aplica automáticamente al reiniciar sin que se requiera ninguna acción del usuario."
    }
  ],
  "affected": [
    {
      "source": "412d305a-227d-44f9-a262-a31ba44f2aea",
      "affectedData": [
        {
          "vendor": "Snowflake",
          "product": "Cortex Code CLI",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "<1.0.25",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "412d305a-227d-44f9-a262-a31ba44f2aea",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:H",
          "baseScore": 8.3,
          "baseSeverity": "HIGH",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "CHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.6,
        "impactScore": 6.0
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-04-16T18:54:18.323183Z",
          "id": "CVE-2026-6442",
          "options": [
            {
              "exploitation": "none"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "412d305a-227d-44f9-a262-a31ba44f2aea",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-1286"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://community.snowflake.com/s/article/PromptArmor-Report---Snowflake-Response",
      "source": "412d305a-227d-44f9-a262-a31ba44f2aea"
    },
    {
      "url": "https://www.promptarmor.com/",
      "source": "412d305a-227d-44f9-a262-a31ba44f2aea"
    }
  ]
}