# CVE-2021-21678: Jenkins SAML Plugin allows bypassing CSRF protection for any URL

- Severity: High 8.8 (CVSS:3.1, scored by NVD) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.81%, higher than 58% of CVEs (2026-12-01)
- Published: 2021-08-31T13:50:15.000Z
- Modified: 2026-06-17T03:35:58.957Z
- Also known as: GHSA-r5w3-pfq8-3r82
- Weaknesses: CWE-352, CWE-693
- Assigned by: jenkins

## Description

Jenkins SAML Plugin 2.0.7 and earlier allows attackers to craft URLs that would bypass the CSRF protection of any target URL in Jenkins.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins SAML Plugin: from 1.1.3 before unspecified; from unspecified up to 2.0.7 (not affected: 1.1.8; 2.0.3.1)
- org.jenkins-ci.plugins:saml (Maven): before 2.0.8
- jenkins saml: from 1.1.3 up to 2.0.7

## Every score

- GitHub: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:2.0 6.8 Medium `AV:N/AC:M/Au:N/C:P/I:P/A:P`

## References

- <https://www.jenkins.io/security/advisory/2021-08-31/#SECURITY-2469> (vendor-advisory, web)
- <http://www.openwall.com/lists/oss-security/2021/08/31/1> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21678> (advisory)
- <https://github.com/jenkinsci/saml-plugin/commit/e063317ee7e1c64a096e0ac323c7155b786c8b9d> (web)
- <https://github.com/jenkinsci/saml-plugin> (package)

## Sources

- CVE List: [CVE-2021-21678](https://www.cve.org/CVERecord?id=CVE-2021-21678), CVE Terms of Use, modified 2024-08-03
- GitHub Advisory Database: [GHSA-r5w3-pfq8-3r82](https://github.com/advisories/GHSA-r5w3-pfq8-3r82), CC-BY-4.0, modified 2024-02-16
- NVD: [CVE-2021-21678](https://nvd.nist.gov/vuln/detail/CVE-2021-21678), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2021-21678 · Whole record: https://cve.day/CVE-2021-21678.json · Rebuilt by cve.day 2026-11-25T22:58:03.572Z
