High
Security advisory
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2021-21638
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 07:48 UTC · Revision 1
Source evidence
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.
osv:CVE-2021-21638
Complete source record
{
"id": "f0973679e0b178f2058e3abfc6924c335f601248de1e3598c1ef7c82bc652fb2",
"url": "https://osv.dev/vulnerability/CVE-2021-21638",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2021-21638",
"summary": "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.",
"evidence": "osv:CVE-2021-21638",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2021-21638",
"aliases": [
"CVE-2021-21638",
"GHSA-263q-5pj7-j6hj"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jenkinsci/tfs-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "0ebfc2acee98227d4938fd2fc4764ac4a840e12c"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jenkins:team_foundation_server:*:*:*:*:*:jenkins:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "5.157.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"tfs-5.157.1",
"tfs-5.157.0",
"tfs-5.142.0",
"tfs-5.139.2",
"tfs-5.133.0",
"tfs-5.126.0",
"tfs-5.121.0",
"tfs-5.3.4",
"tfs-5.3.2",
"tfs-5.3.3",
"tfs-5.3.1",
"tfs-5.3.0",
"tfs-5.2.1",
"tfs-5.2.0",
"tfs-5.1.0",
"tfs-5.0.0",
"tfs-4.1.0",
"tfs-4.0.0",
"tfs-3.2.0",
"tfs-3.1.1",
"tfs-3.0.1",
"tfs-3.0.0",
"tfs-2.0",
"tfs-1.20",
"tfs-1.19",
"tfs-1.18",
"tfs-1.17",
"tfs-1.16",
"tfs-1.15",
"tfs-1.14",
"tfs-1.13",
"tfs-1.12"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2021-21638.json"
}
}
],
"modified": "2026-10-24T10:30:58.702343218Z",
"provider": "osv",
"references": [
"https://www.jenkins.io/security/advisory/2021-03-30/#SECURITY-2283%20%282%29"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2021-21638",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 439143,
"published_at": "2021-03-30T12:16:10.987+00:00"
}