Live threats

All CVEs / Jenkins

CVE-2021-21694Jenkins

Critical 9.8 No auth needed

Priority
74
CVSS 3.1
9.8
EPSS
1.6%
probability of exploitation in 30 days · percentile 76
Auth required
No
Published
Nov 4, 2021
Updated
Jun 17, 2026
Category
Server · Cross-platform
Weakness (CWE)
CWE-862
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

What happens

FilePath#toURI, FilePath#hasSymlink, FilePath#absolutize, FilePath#isDescendant, and FilePath#get*DiskSpace do not check any permissions in Jenkins 2.318 and earlier, LTS 2.303.2 and earlier.

Original NVD text.

What to do

  1. Apply the vendor's security update for Jenkins.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
Maven org.jenkins-ci.main:jenkins-core < 2.303.3 2.303.3 —
Maven org.jenkins-ci.main:jenkins-core ≥ 2.304 < 2.319 2.319 —

Per OSV / GitHub Advisories (GHSA-pgj6-jmj5-wqfx). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
jenkinsjenkins< 2.303.3
jenkinsjenkins< 2.319

Official sources

References

Links published by the sources. Open them with care.