Medium
Security advisory
A missing permission check in Jenkins SSH Plugin 2.6.1 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified SSH server 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-2022-30959
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 1 Nov 2026, 04:46 UTC · Revision 1
Source evidence
A missing permission check in Jenkins SSH Plugin 2.6.1 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified SSH server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.
osv:CVE-2022-30959
Complete source record
{
"id": "9298c8b05aa2931702bf06d7293addf84c4eea9a69900b26099a4cabc441accd",
"url": "https://osv.dev/vulnerability/CVE-2022-30959",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "CVE-2022-30959",
"summary": "A missing permission check in Jenkins SSH Plugin 2.6.1 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified SSH server using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.",
"evidence": "osv:CVE-2022-30959",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2022-30959",
"aliases": [
"CVE-2022-30959",
"GHSA-7h2j-h5xp-h3gh"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/jenkinsci/ssh-plugin",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"last_affected": "009b7c0735ccc42c16fdb6e12a335f97868e0fa2"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:jenkins:ssh:*:*:*:*:*:jenkins:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.6.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"ssh-2.6.1",
"ssh-2.6",
"ssh-2.5",
"ssh-2.4",
"ssh-2.3",
"ssh-2.2",
"ssh-2.1",
"ssh-2.0",
"ssh-1.7",
"ssh-1.6",
"ssh-1.5",
"ssh-1.4",
"ssh-1.3"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2022-30959.json"
}
}
],
"modified": "2026-10-24T10:30:21.870280693Z",
"provider": "osv",
"references": [
"https://www.jenkins.io/security/advisory/2022-05-17/#SECURITY-2093"
],
"provider_metadata": {}
},
"related_cves": [
{
"value": "CVE-2022-30959",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 430572,
"published_at": "2022-05-17T15:15:10.117+00:00"
}