Description
Jenkins 2.575 and earlier, LTS 2.568.1 and earlier does not safely handle symbolic links with effectively empty names during the extraction of `.tar` and `.tar.gz` archives, allowing attackers able to control agent processes to provide crafted archives to the controller to write files to arbitrary locations on the file system, restricted only by file system access permissions of the user running Jenkins.
Published: 2026-08-05
Score: 4.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability lies in Jenkins's handling of symbolic links with effectively empty names during the extraction of .tar and .tar.gz archives, a flaw that represents a path traversal (CWE‑59). The likely attack vector is an attacker who can control a Jenkins agent, supplying a specially crafted archive to the controller. When the archive is extracted, Jenkins writes files to arbitrary locations on the file system, restricted only by the file system permissions of the user running Jenkins. This effect is an arbitrary file write that can be used to create, overwrite or delete files that Jenkins can access, potentially leading to code execution, unauthorized data modification or introduction of malicious artifacts.

Affected Systems

The flaw affects Jenkins Project Jenkins versions 2.575 and earlier for regular releases and LTS 2.568.1 and earlier. Any installation of these versions is vulnerable until updated.

Risk and Exploitability

There is no EPSS score available and the vulnerability has not been listed in the CISA KEV catalog. The CVSS score of 4.3 indicates a moderate severity. The likely attack vector is that an attacker who can control a Jenkins agent supplies a crafted tar archive to the controller; once an agent can be manipulated, the exploit is straightforward because Jenkins does not sanitize the symbolic link names during extraction. The risk is moderate in environments where Jenkins runs with elevated privileges or where agent uploads are not tightly restricted, given the CVSS score, and could allow modification of configuration files or placement of executable artifacts.

Generated by OpenCVE AI on August 5, 2026 at 23:23 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Update Jenkins to the latest released version where the symbolic link extraction issue has been fixed, addressing CWE‑59.
  • Restrict agent interactions so that untrusted agents cannot submit tar archives to the controller—disable upload or enforce signed uploads—to mitigate arbitrary file write via symlink.
  • Run Jenkins under a non‑privileged account and tighten file system permissions to limit write access, thereby reducing the impact of CWE‑59.

Generated by OpenCVE AI on August 5, 2026 at 23:23 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 13 Aug 2026 12:15:00 +0000

Type Values Removed Values Added
Title Arbitrary File Write via Unsafe Tar Extraction in Jenkins jenkins: Jenkins: Arbitrary file write via crafted archives and symbolic links
References
Metrics threat_severity

None

threat_severity

Important


Wed, 05 Aug 2026 23:45:00 +0000

Type Values Removed Values Added
Title Arbitrary File Write via Unsafe Tar Extraction in Jenkins

Wed, 05 Aug 2026 22:45:00 +0000

Type Values Removed Values Added
Title Jenkins Tar Extraction Vulnerability Allows Arbitrary File Write
Weaknesses CWE-22
CWE-749

Wed, 05 Aug 2026 20:30:00 +0000

Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins
Vendors & Products Jenkins Project
Jenkins Project jenkins

Wed, 05 Aug 2026 20:00:00 +0000

Type Values Removed Values Added
Title Jenkins Tar Extraction Vulnerability Allows Arbitrary File Write
Weaknesses CWE-22
CWE-749

Wed, 05 Aug 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-59
Metrics cvssV3_1

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

ssvc

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


Wed, 05 Aug 2026 18:00:00 +0000

Type Values Removed Values Added
Description Jenkins 2.575 and earlier, LTS 2.568.1 and earlier does not safely handle symbolic links with effectively empty names during the extraction of `.tar` and `.tar.gz` archives, allowing attackers able to control agent processes to provide crafted archives to the controller to write files to arbitrary locations on the file system, restricted only by file system access permissions of the user running Jenkins.
References

Subscriptions

Jenkins Project Jenkins
cve-icon MITRE

Status: PUBLISHED

Assigner: jenkins

Published:

Updated: 2026-08-05T18:25:36.015Z

Reserved: 2026-08-04T14:13:20.602Z

Link: CVE-2026-70427

cve-icon Vulnrichment

Updated: 2026-08-05T18:20:32.981Z

cve-icon NVD

Status : Received

Published: 2026-08-05T18:17:12.353

Modified: 2026-08-05T19:17:35.290

Link: CVE-2026-70427

cve-icon Redhat

Severity : Important

Publid Date: 2026-08-05T17:40:27Z

Links: CVE-2026-70427 - Bugzilla

cve-icon OpenCVE Enrichment

Updated: 2026-08-05T23:30:04Z

Weaknesses
  • CWE-59

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