Live threats

All CVEs / Swift Development Environment Project

CVE-2021-28792Swift Development Environment Project Swift Development Environment

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 77
Auth required
Yes
Published
Mar 18, 2021
Updated
Jun 17, 2026
Category
Application · Cross-platform
Vector
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Swift Development Environment.

Affected products (CPE)

VendorProductVersions
swift_development_environment_projectswift_development_environment< 2.12.1

Official sources

References

Links published by the sources. Open them with care.