CVE-2026-117617

jenkins: Jenkins: Arbitrary file write via race condition in artifact extraction

Published Oct 28, 2026 CVSS 3.1 · 8.1 High EPSS < 1% KEV · Not listed
Description
Jenkins 2.587 and earlier, LTS 2.580.1 and earlier checks for symbolic links in the path of an extracted file only before creating its parent directories, not immediately before writing it, and allows symbolic links in artifacts to replace existing files or empty directories, allowing attackers with Item/Configure permission to write files to arbitrary locations on the Jenkins controller file system.

Analysis

AI-generated

Technical impact

The vulnerability permits a malicious user with the ability to configure a Jenkins job to place a crafted symbolic link in an artifact archive. Jenkins checks for symlinks only when creating parent directories, not before overwriting the file, which allows the link to replace existing files or empty directories on the controller. This flaw can result in overwriting arbitrary files, potentially enabling code execution if an attacker writes executable scripts or modifies configuration. The weakness is a form of input validation failure and path traversal (CWE-59) and also a race condition flaw (CWE-367).

Affected Systems

Jenkins Project Jenkins. Affected in Jenkins 2.587 and earlier, LTS 2.580.1 and earlier.

Risk and Exploitability

There is an EPSS score of < 1%, but the flaw allows arbitrary file writes with Item/Configure permissions, a high‑impact capability. The CVSS score is 8.1, and the vulnerability is not catalogued in CISA KEV. The attack vector requires legitimate configuration permissions, so the likelihood depends on the presence of privileged users, but if compromised, an attacker can easily overwrite critical files.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Jenkins to version 2.588 or LTS 2.580.2 or later where the symlink check is performed before writing files during extraction.
  • Restrict Item/Configure access to trusted users only and consider disabling publicly editable jobs.
  • If an upgrade is not immediately feasible, mitigate by removing or refusing symbolic links in artifact archives and performing manual extraction validation or using a policy framework that blocks symlinks.
  • Ensure that Jenkins controller file permissions are tightly controlled so that even if a file is overwritten, it cannot be executed by unauthorized users.

Generated by OpenCVE AI on November 6, 2026 at 02:13 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 Unchecked Symlink Processing Allows Arbitrary File Write in Jenkins jenkins: Jenkins: Arbitrary file write via race condition in artifact extraction
Weaknesses CWE-367
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Title Unchecked Symlink Processing Allows Arbitrary File Write in Jenkins
Type Values Removed Values Added
Title Symlink-Based Arbitrary File Write in Jenkins Artifact Extraction
Weaknesses CWE-20
CWE-22
Type Values Removed Values Added
Weaknesses CWE-59
CPEs cpe:2.3:a:jenkins:jenkins:*:*:*:*:-:*:*:*
cpe:2.3:a:jenkins:jenkins:*:*:*:*:lts:*:*:*
Metrics cvssV3_1

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

Type Values Removed Values Added
Title Symlink-Based Arbitrary File Write in Jenkins Artifact Extraction
Weaknesses CWE-20
CWE-22
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
Description Jenkins 2.587 and earlier, LTS 2.580.1 and earlier checks for symbolic links in the path of an extracted file only before creating its parent directories, not immediately before writing it, and allows symbolic links in artifacts to replace existing files or empty directories, allowing attackers with Item/Configure permission to write files to arbitrary locations on the Jenkins controller file system.
References
Weaknesses
  • CWE-367

    Time-of-check Time-of-use (TOCTOU) Race Condition

  • CWE-59

    Improper Link Resolution Before File Access ('Link Following')

Sources

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