← Back to CVE Explorer

CVE-2026-54555

Full vulnerability record from the local CVENow database.

Description

rtk filters and compresses command outputs before they reach your LLM context. Prior to 0.42.2, the permission splitter did not conservatively split or reject several shell constructs that Bash treats as command execution boundaries or nested execution. As a result, a command beginning with an allowed prefix such as git could hide a second command behind one of these constructs. rtk rewrite returned exit code 0, causing the Claude hook to emit permissionDecision: "allow". The rewritten command still contained the hidden command, so it ran without the user confirmation or denial that the permission rules were intended to enforce. This vulnerability is fixed in 0.42.2.

Severity
HIGH
CVSS score
7.8 (v3.1)
Vulnerability status
Deferred
Source identifier
Published
2026-06-23 20:16:49.737000
Last modified
2026-10-25 23:10:00.167000
View original CVE JSON
{
  "id": "CVE-2026-54555",
  "sourceIdentifier": "[email protected]",
  "published": "2026-06-23T20:16:49.737",
  "lastModified": "2026-10-25T23:10:00.167",
  "vulnStatus": "Deferred",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "rtk filters and compresses command outputs before they reach your LLM context. Prior to 0.42.2, the permission splitter did not conservatively split or reject several shell constructs that Bash treats as command execution boundaries or nested execution. As a result, a command beginning with an allowed prefix such as git could hide a second command behind one of these constructs. rtk rewrite returned exit code 0, causing the Claude hook to emit permissionDecision: \"allow\". The rewritten command still contained the hidden command, so it ran without the user confirmation or denial that the permission rules were intended to enforce. This vulnerability is fixed in 0.42.2."
    },
    {
      "lang": "es",
      "value": "rtk filtra y comprime las salidas de comandos antes de que lleguen a su contexto de LLM. Antes de la versión 0.42.2, el divisor de permisos no dividía ni rechazaba de forma conservadora varias construcciones de shell que Bash trata como límites de ejecución de comandos o ejecución anidada. Como resultado, un comando que comenzaba con un prefijo permitido como git podía ocultar un segundo comando detrás de una de estas construcciones. rtk rewrite devolvió el código de salida 0, lo que provocó que el hook de Claude emitiera permissionDecision: ’allow’. El comando reescrito aún contenía el comando oculto, por lo que se ejecutó sin la confirmación o denegación del usuario que las reglas de permisos estaban destinadas a aplicar. Esta vulnerabilidad está corregida en la versión 0.42.2."
    }
  ],
  "affected": [
    {
      "source": "[email protected]",
      "affectedData": [
        {
          "vendor": "rtk-ai",
          "product": "rtk",
          "versions": [
            {
              "version": "< 0.42.2",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "[email protected]",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
          "baseScore": 7.8,
          "baseSeverity": "HIGH",
          "attackVector": "LOCAL",
          "attackComplexity": "LOW",
          "privilegesRequired": "NONE",
          "userInteraction": "REQUIRED",
          "scope": "UNCHANGED",
          "confidentialityImpact": "HIGH",
          "integrityImpact": "HIGH",
          "availabilityImpact": "HIGH"
        },
        "exploitabilityScore": 1.8,
        "impactScore": 5.9
      }
    ],
    "ssvcV203": [
      {
        "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
        "ssvcData": {
          "timestamp": "2026-06-24T14:29:21.375030Z",
          "id": "CVE-2026-54555",
          "options": [
            {
              "exploitation": "poc"
            },
            {
              "automatable": "no"
            },
            {
              "technicalImpact": "total"
            }
          ],
          "role": "CISA Coordinator",
          "version": "2.0.3"
        }
      }
    ]
  },
  "weaknesses": [
    {
      "source": "[email protected]",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-863"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327",
      "source": "[email protected]"
    },
    {
      "url": "https://github.com/rtk-ai/rtk/security/advisories/GHSA-7gxq-fvfc-g327",
      "source": "134c704f-9b21-4f2e-91b3-4a467353bcc0"
    }
  ]
}