CVE-2026-117616

jenkins: Jenkins: Arbitrary code execution via path traversal in agent names

Published Oct 28, 2026 CVSS 3.1 · 8.8 High EPSS < 1% KEV · Not listed
Description
Jenkins 2.587 and earlier, LTS 2.580.1 and earlier provides an HTTP endpoint that loads agents by name without validating the name, allowing attackers with Overall/Read permission to load any config.xml file on the controller file system as an agent configuration, and to overwrite an arbitrary config.xml file when that agent is saved, potentially resulting in arbitrary code execution.

Analysis

AI-generated

Technical impact

The vulnerability allows an attacker with overall/read permission on a Jenkins instance to load any config.xml file from the controller file system by exploiting an HTTP endpoint that does not validate the agent name. This omission lets the attacker provide an arbitrary agents’ configuration or overwrite existing config.xml files during a save operation, thereby enabling the execution of attacker-supplied code on the Jenkins controller. The likely attack vector is a web request to the vulnerable agent‑loading endpoint, where the attacker supplies a crafted agent name. Because the request is authenticated only with overall/read rights, the attacker requires a user account that has at least read access to the controller. The impact is critical: a successful exploit results in full code execution on the Jenkins controller, compromising confidentiality, integrity, and availability of the entire CI/CD environment.

Affected Systems

This flaw affects the Jenkins Project’s Jenkins product. Specifically, Jenkins releases 2.587 and all earlier versions, as well as Long‑Term Support releases 2.580.1 and all earlier LTS versions are vulnerable.

Risk and Exploitability

The CVSS score is 8.8, indicating a high severity, with an EPSS score of < 1%. The vulnerability is not listed in the CISA KEV catalog, suggesting that public exploitation is not widely reported. Nonetheless, the requirement of only Overall/Read permission means that attackers with access to the Jenkins web console, or who can create a user with read rights, can potentially exploit the flaw. The risk is high for any organization that runs unpatched Jenkins versions.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Jenkins to a release newer than 2.587 (for the main line) or LTS 2.580.1 (for long‑term support), which removes the vulnerable endpoint
  • If an upgrade cannot be performed immediately, limit or disable the HTTP agent‑loading endpoint and revoke Overall/Read permission from users who should not be able to load agents
  • Enforce file‑system permissions that deny write access to Jenkins‑controlled config.xml files except for the Jenkins service account, mitigating accidental overwrites

Generated by OpenCVE AI on November 2, 2026 at 18:52 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

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

Type Values Removed Values Added
Title Remote Code Execution via Unsanitized Agent Configuration Endpoint in Jenkins jenkins: Jenkins: Arbitrary code execution via path traversal in agent names
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title Remote Code Execution via Unsanitized Agent Configuration Endpoint in Jenkins
Type Values Removed Values Added
Title Arbitrary Agent Configuration Overwrite Enables Remote Code Execution in Jenkins
Weaknesses CWE-20
CWE-284
CWE-73
Type Values Removed Values Added
Weaknesses CWE-22
CPEs cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*
cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
Metrics cvssV3_1

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

Type Values Removed Values Added
First Time appeared Jenkins
Jenkins jenkins
Jenkins Project
Jenkins Project jenkins
Vendors & Products Jenkins
Jenkins jenkins
Jenkins Project
Jenkins Project jenkins
Type Values Removed Values Added
Title Arbitrary Agent Configuration Overwrite Enables Remote Code Execution in Jenkins
Weaknesses CWE-20
CWE-284
CWE-73
Type Values Removed Values Added
Description Jenkins 2.587 and earlier, LTS 2.580.1 and earlier provides an HTTP endpoint that loads agents by name without validating the name, allowing attackers with Overall/Read permission to load any config.xml file on the controller file system as an agent configuration, and to overwrite an arbitrary config.xml file when that agent is saved, potentially resulting in arbitrary code execution.
References
Weaknesses
  • CWE-22

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

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Nov 9, 2026, 5:01 PM
Reserved
Oct 27, 2026, 1:10 PM
Status
Modified
Published
Oct 28, 2026, 5:18 PM
Modified
Nov 9, 2026, 5:17 PM
Severity
Important
Public date
Oct 28, 2026, 4:48 PM