CVE-2026-75486: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in snyk sweater-comb
Description
CVE-2026-75486 is a command injection vulnerability in snyk sweater-comb versions before 3.8.8. It allows an attacker who can control 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 vulnerability arises because the expectGitBranch() function passes unsanitized branch names directly into child_process.exec() using an unescaped template literal.
CVSS v4.0
Score 8.5high
Affected software
snyk
sweater-comb
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability exists in snyk sweater-comb prior to version 3.8.8. An attacker with control over the .vervet.yaml configuration file can exploit improper neutralization of special elements in the linters.<key>.optic-ci.original branch name field. The expectGitBranch() function in src/lint.ts uses the unsanitized branch name directly in a child_process.exec() call via an unescaped template literal, enabling arbitrary OS command execution when the lint command is run against the repository.
Potential Impact
Successful exploitation allows an attacker with limited privileges (PR:L) and requiring user interaction (UI:A) to execute arbitrary OS commands with high impact on confidentiality, integrity, and availability of the affected system. This can lead to full system compromise or unauthorized actions on the host running the vulnerable software.
Mitigation Recommendations
A fix is available in snyk sweater-comb version 3.8.8 and later. Users should upgrade to version 3.8.8 or newer to remediate this vulnerability. Since no official remediation level or patch link is provided, users should consult the vendor's advisory or release notes for the official patch. Until upgraded, avoid running lint commands on repositories with untrusted .vervet.yaml configuration files or untrusted branch names.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-08-17T20:07:25.282Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6a91e412acd9273b4942e895
Added to database: 08/28/2026, 19:40:02 UTC
Last enriched: 09/07/2026, 15:20:00 UTC
Last updated: 10/11/2026, 06:48:18 UTC
Views: 52
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.