CVE-2020-2181 Secrets are not masked by Jenkins Credentials Binding Plugin in builds without build steps
Attackers can view unmasked secrets in build logs when builds contain no steps, exposing sensitive credentials to anyone with log access.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2020-2181?
CVE-2020-2181 is a medium-severity vulnerability in Jenkins Credentials Binding Plugin, published on 6 May 2020. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Credentials Binding Plugin 1.22 and earlier does not mask (i.e., replace with asterisks) secrets in the build log when the build contains no build steps.
Weakness: CWE-522
Which versions are affected by CVE-2020-2181?
2 open source packages ship an affected version, including org.jenkins-ci.plugins:credentials-binding. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
org.jenkins-ci.plugins:credentials-binding Maven | All versions | 1.23 |
org.jenkins-ci.plugins:credentials-binding Maven | All versions | 1.23 |
Products include Jenkins Credentials Binding.
How do I fix CVE-2020-2181?
Upgrade org.jenkins-ci.plugins:credentials-binding to 1.23 or later.
Is CVE-2020-2181 being exploited?
There is no known exploitation of CVE-2020-2181 in the wild and no public exploit code.
Other vulnerabilities in Jenkins Credentials Binding Plugin
- CVE-2026-48922 Jenkins Credentials Binding Plugin does not properly sanitize file names for file and zip file credentials
- CVE-2026-42520 Jenkins Credentials Binding Plugin has a path traversal vulnerability
- CVE-2025-53650 Jenkins Credentials Binding Plugin vulnerability can expose sensitive information in logger messages
- CVE-2019-1010241 Jenkins Credentials Binding Plugin Stores Passwords in a Recoverable Format
- CVE-2022-20616 Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin
Sources
Also known as GHSA-43j2-r4v3-m8jp.