What’s Vulnerable › Vulnerabilities
CVE-2021-28790
- Severity: high (CVSS 7.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 1.7% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2021-03-18 · updated 2026-06-17
Description
The unofficial SwiftLint extension before 1.4.5 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted swiftlint.path configuration value that triggers execution upon opening the workspace.
Affected products
- Swiftlint Project Swiftlint: before 1.4.5 — fixed in 1.4.5
How to fix
Upgrade to a fixed version: Swiftlint Project Swiftlint 1.4.5. Check the vendor advisory for mitigations.
References
- https://github.com/vknabel/vscode-swiftlint/releases/tag/1.4.5
- https://vuln.ryotak.me/advisories/12
- https://github.com/vknabel/vscode-swiftlint/releases/tag/1.4.5
- https://vuln.ryotak.me/advisories/12
Get alerted when CVE-2021-28790 or the next vulnerability affects your stack