SecurityContext

CVE-2021-26719: Gradle - Path Traversal

  • Cve: CVE-2021-26719
  • Name: Gradle - Path Traversal
  • Description: A directory traversal issue was discovered in Gradle gradle-enterprise-test-distribution-agent before 1.3.2, test-distribution-gradle-plugin before 1.3.2, and gradle-enterprise-maven-extension before 1.8.2. A malicious actor (with certain credentials) can perform a registration step such that crafted TAR archives lead to extraction of files into arbitrary filesystem locations.
  • Impact: Attackers with credentials can extract files to arbitrary locations, potentially leading to code execution or system compromise.
  • Remediation: Update to version 1.3.2 for gradle-enterprise-test-distribution-agent and test-distribution-gradle-plugin, and 1.8.2 for gradle-enterprise-maven-extension or latest versions.
  • Vulnerability type: path_traversal
  • Vulnerability impact: file_system_write
  • Requirement type: logged_in
  • Requirements: Attacker needs certain credentials
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 6.5
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N
  • Epss score: 0.01371
  • Epss percentile: 0.72516
  • Assignee: [email protected]
  • Published at: 2021-02-09T14:15:17Z
  • Age in days: 2114
  • Modified at: 2026-06-17T03:43:43Z
  • Patch available: yes
  • References total: 1
  • Products total: 3
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2021-26719
  • Nvd status: modified
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, oss, projects total, projects, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-22Improper Limitation of a Pathname to a Restricted Directory

References

UrlSourceTags
https://security.gradle.com/advisory/CVE-2021-26719nvdVendor Advisory

Products

Same in every row:

  • Platform bound: no
  • Sources: nvd
ProductAffectedUrl
gradle:maven>= 1.8, <= 1.8.1/v1/products/gradle/maven
gradle:enterprise_test_distribution_agent< 1.3.2/v1/products/gradle/enterprise_test_distribution_agent
gradle:test_distribution< 1.3.2/v1/products/gradle/test_distribution

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts