CVE-2026-42520

Jenkins Credentials Binding Plugin Allows Arbitrary File Write Leading to Remote Code Execution

Published Apr 29, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
Description
Jenkins Credentials Binding Plugin 719.v80e905ef14eb_ and earlier does not sanitize file names for file and zip file credentials, allowing attackers able to provide credentials to a job to write files to arbitrary locations on the node filesystem, which can lead to remote code execution 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.

Analysis

AI-generated

Technical impact

The vulnerability is caused by the Jenkins Credentials Binding Plugin not sanitizing file names supplied in file and zip file credentials. This omission allows an attacker who can provide credentials to a job to write arbitrary files to any location on the node file system. By writing malicious files, the attacker can achieve remote code execution if Jenkins is configured so that a low‑privileged user can set file or zip file credentials for a job running on the built‑in node.

Affected Systems

Jenkins Project – Jenkins Credentials Binding Plugin versions 719.v80e905ef14eb_ and earlier are affected. Any installation using the vulnerable plugin on a node where low‑privileged users can configure job credentials is susceptible.

Risk and Exploitability

Based on the description, the likely attack vector is attacker‑authenticated with permissions to create or modify jobs that use file or zip file credentials on the built‑in node. The absence of a sanitization check gives the attacker full write access to the node file system, leading to arbitrary code execution. The EPSS score of <1% indicates a very low but non‑zero likelihood of exploitation, and the CVSS score of 7.5 indicates high severity, making it a risk that should be mitigated promptly.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Jenkins Credentials Binding Plugin to the latest released version that includes input validation for file names.
  • Ensure that Jenkins is running the latest stable release, which incorporates the patched plugin.
  • Restrict users who can configure file or zip file credentials for jobs to high‑privileged accounts, or disable job credential configuration for low‑privileged users.

Generated by OpenCVE AI on June 18, 2026 at 08:38 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-p2rf-wpxj-mx2g Jenkins Credentials Binding Plugin has a path traversal vulnerability
History
Type Values Removed Values Added
Title Jenkins Credentials Binding Plugin Allows Arbitrary File Write Leading to Remote Code Execution
Type Values Removed Values Added
Title Jenkins Credentials Binding Plugin Arbitrary File Write Leading to Remote Code Execution
Type Values Removed Values Added
Title Jenkins Credentials Binding Plugin Arbitrary File Write Leading to Remote Code Execution
Type Values Removed Values Added
Title Unsanitized File Names in Jenkins Credentials Binding Plugin Allow Arbitrary File Write Leading to Remote Code Execution
Type Values Removed Values Added
First Time appeared Jenkins
Jenkins credentials Binding
CPEs cpe:2.3:a:jenkins:credentials_binding:*:*:*:*:*:jenkins:*:*
Vendors & Products Jenkins
Jenkins credentials Binding
Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins Credentials Binding Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins Credentials Binding Plugin
Type Values Removed Values Added
Title Unsanitized File Names in Jenkins Credentials Binding Plugin Allow Arbitrary File Write Leading to Remote Code Execution
Type Values Removed Values Added
Weaknesses CWE-22
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Jenkins Credentials Binding Plugin 719.v80e905ef14eb_ and earlier does not sanitize file names for file and zip file credentials, allowing attackers able to provide credentials to a job to write files to arbitrary locations on the node filesystem, which can lead to remote code execution 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.
References
Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Apr 29, 2026, 2:02 PM
Reserved
Apr 28, 2026, 9:24 AM
Status
Analyzed
Published
Apr 29, 2026, 2:16 PM
Modified
Oct 26, 2026, 8:10 PM