# CVE-2021-21638: CSRF vulnerability in Jenkins Team Foundation Server Plugin allow capturing credentials

- 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.84%, higher than 58% of CVEs (2026-12-01)
- Published: 2021-03-30T11:10:41.000Z
- Modified: 2026-06-17T03:35:54.910Z
- Also known as: GHSA-263q-5pj7-j6hj
- Weaknesses: CWE-352
- Assigned by: jenkins

## Description

A cross-site request forgery (CSRF) vulnerability in Jenkins Team Foundation Server Plugin 5.157.1 and earlier allows attackers to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

(As written by CVE List.)

## Affected

- Jenkins project Jenkins Team Foundation Server Plugin: from unspecified up to 5.157.1; from next of 5.157.1 before unspecified
- org.jenkins-ci.plugins:tfs (Maven): up to 5.157.1
- jenkins team_foundation_server: up to 5.157.1

## 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-03-30/#SECURITY-2283%20%282%29> (vendor-advisory)
- <http://www.openwall.com/lists/oss-security/2021/03/30/1> (mailing-list, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2021-21638> (advisory)
- <https://github.com/jenkinsci/tfs-plugin> (package)
- <https://www.jenkins.io/security/advisory/2021-03-30/#SECURITY-2283%20(2)> (web)

## Sources

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

---

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