Live threats

All CVEs / Apple-swift-format Project

CVE-2021-28789Apple-swift-format Project Apple-swift-format

High 7.8

Priority
47
CVSS 3.1
7.8
EPSS
1.7%
probability of exploitation in 30 days · percentile 78
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 apple/swift-format extension before 1.1.2 for Visual Studio Code allows remote attackers to execute arbitrary code by constructing a malicious workspace with a crafted apple-swift-format.path configuration value that triggers execution upon opening the workspace.

Original NVD text.

What to do

  1. Apply the vendor's security update for Apple-swift-format.

Affected products (CPE)

VendorProductVersions
apple-swift-format_projectapple-swift-format< 1.1.2

Official sources

References

Links published by the sources. Open them with care.