Live threats

All CVEs / Jenkins

CVE-2021-21685Jenkins

Critical 9.1 No auth needed

Priority
70
CVSS 3.1
9.1
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:N

What happens

Jenkins 2.318 and earlier, LTS 2.303.2 and earlier does not check agent-to-controller access to create parent directories in FilePath#mkdirs.

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-58xm-mxjf-254g). 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.