CVE-2022-20616 Incorrect Permission Assignment for Critical Resource in Jenkins Credentials Binding Plugin
Attackers with read access can validate credential IDs and file types due to missing permission checks in form validation.
- 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-2022-20616?
CVE-2022-20616 is a medium-severity missing authorization vulnerability in Jenkins Credentials Binding Plugin, published on 12 Jan 2022. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Jenkins Credentials Binding Plugin 1.27 and earlier does not perform a permission check in a method implementing form validation, allowing attackers with Overall/Read access to validate if a credential ID refers to a secret file credential and whether it's a zip file.
Weakness: CWE-862
Which versions are affected by CVE-2022-20616?
4 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.24.1 |
org.jenkins-ci.plugins:credentials-binding Maven | All versions | 1.24.1 |
org.jenkins-ci.plugins:credentials-binding Maven | From 1.25 | 1.27.1 |
org.jenkins-ci.plugins:credentials-binding Maven | From 1.25 | 1.27.1 |
Products include Jenkins Credentials Binding.
How do I fix CVE-2022-20616?
Upgrade org.jenkins-ci.plugins:credentials-binding to a fixed version for your release line: 1.24.1 or 1.27.1.
Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.
Is CVE-2022-20616 being exploited?
There is no known exploitation of CVE-2022-20616 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-2020-2181 Secrets are not masked by Jenkins Credentials Binding Plugin in builds without build steps
- CVE-2019-1010241 Jenkins Credentials Binding Plugin Stores Passwords in a Recoverable Format
Sources
Also known as GHSA-gqm2-2gcx-p88w.