---
id: CVE-2026-75486
title: >-
  Synk Sweater Comb before 3.8.8 contains a command injection vulnerability that
  allows an attacker who controls the .vervet.yaml configuration file to execute
  arbitrary OS commands by injecting malicious input into the
  linters.<key>.optic…
summary: >-
  Synk Sweater Comb before 3.8.8 contains a command injection vulnerability that
  allows an attacker who controls the .vervet.yaml configuration file to execute
  arbitrary OS commands by injecting malicious input into the
  linters.<key>.optic…
severity: high
cvss: 8
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'
cwe:
  - CWE-78
published: '2026-08-28'
updated: '2026-09-08'
sourceUpdated: '2026-09-08T20:23:49.880'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-75486'
references:
  - url: >-
      https://github.com/snyk/sweater-comb/commit/05a0eec4f2acb9ce6d4814016b475504fc64eab2
    label: disclosure@vulncheck.com
  - url: 'https://github.com/snyk/sweater-comb/pull/743'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/snyk/sweater-comb/releases/tag/v3.8.8'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/synk-sweater-comb-command-injection-via-vervet-yaml-branch-name
    label: disclosure@vulncheck.com
  - url: 'https://github.com/snyk/sweater-comb/pull/743'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
epss: 0.01251
epssPercentile: 0.68113
ingestedAt: '2026-09-08T21:11:12.287Z'
---

## Overview

Synk Sweater Comb before 3.8.8 contains a command injection vulnerability that allows an attacker who controls the .vervet.yaml configuration file to execute arbitrary OS commands by injecting malicious input into the linters.<key>.optic-ci.original branch name field. The expectGitBranch() function in src/lint.ts passes the unsanitized branch name directly into child_process.exec() via an unescaped template literal, enabling arbitrary command execution when the lint command is run against the repository.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
