Low

Jenkins SSH Agent Plugin exposes SSH private key password to users with permission to read the build log

  • Disclosed: 13.05.2022
  • Updated: 11.10.2026 11:22

An exposure of sensitive information vulnerability exists in Jenkins SSH Agent Plugin 1.15 and earlier in SSHAgentStepExecution.java that exposes the SSH private key password to users with permission to read the build log. As of version 1.16, the plugin no longer logs the ssh-add invocation that would reveal the passphrase.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:ssh-agent < 1.16 1.16

References

CVSS score 3.1/10
CVSS vector
CVSS:3.0/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:N/A:N
Weakness (CWE)
CWE-532
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:ssh-agent
Disclosed
13.05.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-wwgx-94v6-fc2p - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:ssh-agent

All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
2
First → latest
01.2022 05.2022
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Medium 1
  • Low 1

Disclosures per year

  1. 2022: 2
  2. 2023: 0
  3. 2024: 0
  4. 2025: 0
  5. 2026: 0
  1. Jenkins SSH Agent Plugin exposes SSH private key password to users with permission to read the build log this entry
    Low · 3.1 CVE-2018-1999036 < 1.16 1.16
  2. Medium · 4.3 CVE-2022-20620 >= 1.23, < 1.23.2, < 1.22.1 1.23.2, 1.22.1

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.