CVE-2021-28792: Swift Development Environment Project Swift Development Environment
High severity, CVSS 7.8. EPSS: 1.7% chance of exploitation in the next 30 days.
The unofficial Swift Development Environment extension before 2.12.1 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted sourcekit-lsp.serverPath, swift.languageServerPath, swift.path.sourcekite, swift.path.sourcekiteDockerMode, swift.path.swift_driver_bin, or swift.path.shell configuration value that triggers execution upon opening the workspace.
Affected products
- Swift Development Environment Project Swift Development Environment: before 2.12.1 (fixed in 2.12.1)
Published 2021-03-18. Last modified 2026-06-17.