GitHub Advisoryadvisory · Maven
GHSA-p2rf-wpxj-mx2g Jenkins Credentials Binding Plugin has a path traversal vulnerability
HIGH
Official page ↗
- Aliases
- CVE-2026-42520
- Ecosystem
- Maven
- Packages
- org.jenkins-ci.plugins:credentials-binding
- Severity
- High
- CVSS vector
- CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H
- Weaknesses
- CWE-22
- Reviewed
- 2026-05-06
Affected packages
• Maven org.jenkins-ci.plugins:credentials-binding: < 720.v3f6decef43ea → fixed in 720.v3f6decef43ea
Description
Jenkins Credentials Binding Plugin versions 719.v80e905ef14eb_ and earlier do not sanitize file names for file and zip file credentials.
This allows attackers able to provide credentials to a job to write files to arbitrary locations on the node filesystem. If Jenkins is configured to allow a low-privileged user to configure file or zip file credentials used for a job running on the built-in node, this can lead to remote code execution.
Credentials Binding Plugin 720.v3f6decef43ea_ sanitizes the file name provided for file and zip file credentials, preventing path traversal.
Related
Alias · CVE (1)
- CVE-2026-42520 Jenkins Credentials Binding Plugin 719.v80e905ef14eb_ and earlier does not sanitize file names for file and zip file credentials, allowing… vulnerability
Weakness · CWE (1)
- CWE-22 Improper Limitation of a Pathname to a Restricted Directory weakness