Medium

Jenkins Credentials Binding Plugin has Insufficiently Protected Credentials

  • Disclosed: 13.05.2022
  • Updated: 11.10.2026 11:22

Jenkins Credentials Binding plugin allows specifying passwords and other secrets as environment variables, and will hide them from console output in builds.

However, since Jenkins will try to resolve references to other environment variables in environment variables passed to a build, this can result in values other than the one specified being provided to a build. For example, the value p4$$w0rd would result in Jenkins passing on p4$w0rd, as $$ is the escape sequence for a single $.

Credentials Binding plugin does not prevent such a transformed value (e.g. p4$w0rd) from being shown on the build log, allowing users to reconstruct the actual password value from the transformed one.

Credentials Binding plugin will now escape any $ characters in password values so they are correctly passed to the build.

This issue did apply to freestyle and other classic job types, but does not apply to Pipelines.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
Java / Kotlin (Maven) org.jenkins-ci.plugins:credentials-binding < 1.15 1.15

References

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

Sources and licenses

OSV / GitHub Advisory Database - GHSA-38xm-xhvj-q2qf - CC BY 4.0

Vulnerability history: org.jenkins-ci.plugins:credentials-binding

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
8
First → latest
01.2022 05.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • High 2
  • Medium 5
  • Low 1

Disclosures per year

  1. 2022: 5
  2. 2023: 0
  3. 2024: 0
  4. 2025: 1
  5. 2026: 2
  1. High · 7.5 CVE-2026-42520 < 720.v3f6decef43ea 720.v3f6decef43ea
  2. Jenkins Credentials Binding Plugin has Insufficiently Protected Credentials this entry
    Medium · 4.3 CVE-2018-1000057 < 1.15 1.15
  3. Medium · 4.3 CVE-2022-20616 >= 1.25, < 1.27.1, < 1.24.1 1.27.1, 1.24.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.