Security mailing lists by PureSourceCode

CVE-2021-21686

HIGH 8.1CVSS 3.1

Multiple vulnerabilities allow bypassing path filtering of agent-to-controller access control in Jenkins

File path filters in the agent-to-controller security subsystem of Jenkins 2.318 and earlier, LTS 2.303.2 and earlier do not canonicalize paths, allowing operations to follow symbolic links to outside allowed directories.

Published
4 Nov 2021
Last modified
17 Jun 2026
Assigned by
jenkinsci-cert@googlegroups.com
NVD status
Modified
Weakness
CWE-22CWE-59
Also known as
BIT-jenkins-2021-21686GHSA-4g38-hrm4-rg94
Sources
NVDJSONOSV GHSA-4g38-hrm4-rg94JSON

Scores

SourceScored byVersionScoreVector / decision
OSV GitHub CVSS 3.1 CRITICAL 9.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 8.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
NVD nvd@nist.gov (Primary) CVSS 2.0 MEDIUM 5.8 AV:N/AC:M/Au:N/C:P/I:P/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD jenkins jenkins
cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
< 2.303.3 2.303.3
NVD jenkins jenkins
cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*
< 2.319 2.319
OSV Maven org.jenkins-ci.main:jenkins-core < 2.303.3 2.303.3
OSV Maven org.jenkins-ci.main:jenkins-core >= 2.304, < 2.319 2.319

References

History

  • 25 Nov 2026 20:33 UTC · NVD: first stored (published 4 Nov 2021)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 24 May 2022)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.