All reports
High

Session fixation vulnerability in Jenkins

Affected versions

Affected versions
>= 2.292, <= 2.299
Fixed version
2.300
Affected versions
<= 2.289.1
Fixed version
2.289.2
Affected versions
Unknown
Fixed version
Not reported

Exploitation

CVE-2021-21671

Probability of exploitation in the next 30 days: 1.75%

FIRST EPSS · 2026-11-20

Description

Jenkins 2.299 and earlier, LTS 2.289.1 and earlier does not invalidate the previous session on login. This allows attackers to use social engineering techniques to gain administrator access to Jenkins.

This vulnerability was introduced in Jenkins 2.266 and LTS 2.277.1.

Jenkins 2.300, LTS 2.289.2 invalidates the previous session on login.

In case of problems, administrators can choose a different implementation by setting the Java system property hudson.security.SecurityRealm.sessionFixationProtectionMode to 2, or disable the fix entirely by setting that system property to 0.

Links

Credits

  • NotMyFault