Low

Improper masking of some secrets in Jenkins Credentials Binding Plugin

  • Disclosed: 24.05.2022
  • Updated: 11.10.2026 11:22

Credentials Binding Plugin allows specifying passwords and other secrets as environment variables, and will hide them from console output in builds. As a side effect of the fix for SECURITY-698, $ characters in secrets are escaped to $$. This will then be expanded to $ again once the secret is passed to (post) build steps.

Credentials Binding Plugin 1.22 and earlier does not mask the escaped form of the secret (containing $$). This occurs for example in the "Execute Maven top-level targets" build step included in Jenkins.\n\nCredentials Binding Plugin 1.23 now masks secrets both in their original form and with escaped $ characters, so they will be masked even if printed before value expansion.

Affected software

Click a technology to see all vulnerabilities affecting it.

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

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-522
Platform
Java / Kotlin (Maven)
Package
org.jenkins-ci.plugins:credentials-binding
Disclosed
24.05.2022
Updated
11.10.2026 11:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-7ff8-qfwx-8gx5 - 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. Improper masking of some secrets in Jenkins Credentials Binding Plugin this entry
    Low · 3.1 CVE-2020-2182 < 1.23 1.23
  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.