CVE-2020-2181: Jenkins Credentials Binding Plugin Secrets Disclosure

Summary

24/05/2022
Yes i
Moderate
5.3

CVE-2020-2181: Secrets are not masked by Jenkins Credentials Binding Plugin in builds without build steps. Affects org.jenkins-ci.plugins:credentials-binding versions < 1.23. Fixed in 1.23. How to fix ↓

Free scan

Check if this vulnerability affects your application

Upload a manifest or SBOM and we'll show whether you're affected, plus every other risky package in the same scan.

Check my app free

No signup required · Results in about 60 seconds

Upload your dependency manifest or SBOM

Drag & drop your file here or

Java Javascript PHP Python Go Rust Ruby Dart C/C++ Elixir CycloneDX SPDX

Upload a supported dependency manifest or SBOM. No installation or source-code access required.

See supported files and SBOM formats
SBOM sbom.json · bom.json · bom.xml · *.spdx.json · *.cdx.json · *.cdx.xml
Java pom.xml · gradle.lockfile · buildscript-gradle.lockfile
Javascript package-lock.json · yarn.lock · pnpm-lock.yaml
PHP composer.lock
Python poetry.lock · requirements.txt · Pipfile.lock
Go go.mod
Rust Cargo.lock
Ruby Gemfile.lock
Dart pubspec.lock
C/C++ conan.lock
Elixir mix.lock
Enter your work email to receive your report link.

Verify your email to view the full report and start 30 days of continuous monitoring. No credit card required.

Sponsored Devnack Mobile apps built by Devnack Design, build and launch iOS and Android apps with a senior product team. From idea to store release Start a project

Background

The Jenkins Credentials Binding Plugin is a Maven package that provides a secure way to manage and use credentials in Jenkins builds. It allows users to bind credentials to environment variables and files, ensuring sensitive information is protected. However, versions 1.22 and earlier of the plugin have a vulnerability that exposes secrets in the build log when the build contains no build steps. This can lead to unauthorized access to sensitive information.

Vulnerability Detail

The vulnerability (CVE-2020-2181) in the Jenkins Credentials Binding Plugin allows secrets to be disclosed in the build log when there are no build steps. This means that if a build is configured without any build steps, any secrets bound using the plugin will be visible in plain text in the build log. This can be a serious security issue as it exposes sensitive information, such as passwords or API keys, to anyone with access to the build log. The vulnerability has a CVSS score of 5.3, indicating a moderate severity level.

How To Fix

Latest published version: 728.v902a_273b_8947 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.23

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Workaround

If upgrading to the latest version of the plugin is not immediately possible, a workaround is to ensure that every build includes at least one build step. This will trigger the masking of secrets in the build log. For example, a simple workaround can be adding a dummy build step that does nothing, such as an 'echo' command.

Conclusion

The Jenkins Credentials Binding Plugin versions 1.22 and earlier have a vulnerability that exposes secrets in the build log when there are no build steps. To mitigate this issue, users should upgrade to version 1.23 or later of the plugin. Alternatively, they can ensure that every build includes at least one build step. For further assistance or support in vulnerability remediation, please contact DevNack.com.

See every vulnerability recorded for org.jenkins-ci.plugins:credentials-binding →

Share this vulnerability

FAQ

The vulnerability allows secrets to be exposed in the build log, potentially leading to unauthorized access to sensitive information.

You can use the Vulert Playground (https://vulert.com/scanner) to check if your Jenkins instance is affected by this vulnerability. Simply provide your pom.xml file, and Vulert will analyze it for any known vulnerabilities.

Yes, a workaround is to ensure that every build includes at least one build step. This will mask secrets in the build log.

The CVSS score of this vulnerability is 5.3, indicating a moderate severity level.

To update the plugin, follow the standard update process for Jenkins plugins. Go to the Jenkins dashboard, navigate to the 'Manage Jenkins' section, and select 'Manage Plugins'. From there, you can search for the Credentials Binding Plugin and update it to the latest version.

Related vulnerabilities

Recent vulnerabilities recorded for org.jenkins-ci.plugins:credentials-binding.

How To Fix

Latest published version: 728.v902a_273b_8947 as of 22 Oct 2026

Upgrading to it may include breaking changes; the version below is the minimum fixed release for this vulnerability.

If you need the minimum change

1.23

This is the first release that contains the fix.

Tip — Not sure which version your app runs? Vulert can match this fix to it. Scan free →

Subscribe to Vulert on Telegram
Daily digest of new CVEs, critical and high severity, affected packages and fixes — plus a weekly roundup.
Join the channel →
Help improve this record
Report an issue or send feedback