CVE-2026-75486

Synk Sweater Comb < 3.8.8 Command Injection via .vervet.yaml Branch Name

Published Aug 28, 2026 CVSS 4.0 · 8.5 High EPSS 2.3% KEV · Not listed
Description
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.

Analysis

AI-generated

Technical impact

Synk Sweater Comb releases before 3.8.8 contain a vulnerability that allows a user with control over the .vervet.yaml configuration file to inject and execute arbitrary operating system commands. The flaw arises when the expectGitBranch() function in src/lint.ts uses an unsanitized branch name directly in an unescaped template literal passed to child_process.exec(). When a linter command is run, the malicious input in the linters.<key>.optic‑ci.original branch name field is executed, giving the attacker full command‑execution privileges on the host where the linting process runs. This weakness is categorized as CWE‑78.

Affected Systems

Affected systems are projects that use any pre‑3.8.8 version of the Snyk Sweater Comb tool. According to the CNA product list, the vulnerability applies to the snyk:sweater‑comb package. The impacted releases are all versions earlier than 3.8.8; no specific sub‑version range is listed beyond the general cutoff.

Risk and Exploitability

Risk and exploitability assessment indicates a CVSS score of 8.5, denoting high severity. The EPSS score is 2%, indicating a low but nonzero likelihood of exploitation, and the vulnerability is not currently listed in the CISA KEV catalog, suggesting limited known exploitation. Nonetheless, the attack vector requires controlled modification of the .vervet.yaml file and execution of the lint command, which may be possible for contributors with write access to repository configuration. The lack of input validation in expectGitBranch() directly leads to the ability to run arbitrary commands on behalf of the process executing the lint check.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Sweater Comb to version 3.8.8 or later, which removes the unsanitized branch name usage.
  • If an upgrade is delayed, review the .vervet.yaml file and ensure only trusted users can modify it; restrict write permissions to the configuration folder.
  • Before running lint commands, validate or sanitize any branch name fields used by the tool or run the tool in a contained environment to isolate potential command execution.

Generated by OpenCVE AI on September 25, 2026 at 00:06 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Snyk
Snyk sweater-comb
Vendors & Products Snyk
Snyk sweater-comb
Type Values Removed Values Added
Description 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.
Title Synk Sweater Comb < 3.8.8 Command Injection via .vervet.yaml Branch Name
Weaknesses CWE-78
References
Metrics cvssV3_1

{'score': 8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H'}

cvssV4_0

{'score': 8.5, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-78

    Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Aug 31, 2026, 7:11 PM
Reserved
Aug 17, 2026, 8:07 PM
Status
Deferred
Published
Aug 28, 2026, 8:19 PM
Modified
Sep 8, 2026, 8:23 PM