Gradle is a build tool with a focus on build automation and support for multi-language development. When Gradle writes a dependency into its dependency cache, it uses the dependency's coordinates to compute a file location. With specially crafted dependency coordinates, Gradle can be made to write files into an unintended location. The file may be written outside the dependency cache or over another file in the dependency cache. This vulnerability could be used to poison the dependency cache or overwrite important files elsewhere on the filesystem where the Gradle process has write permissions. Exploiting this vulnerability requires an attacker to have control over a dependency repository used by the Gradle build or have the ability to modify the build's configuration. It is unlikely that this would go unnoticed. A fix has been released in Gradle 7.6.2 and 8.2 to protect against this vulnerability. Gradle will refuse to cache dependencies that have path traversal elements in their dependency coordinates. It is recommended that users upgrade to a patched version. If you are unable to upgrade to Gradle 7.6.2 or 8.2, `dependency verification` will make this vulnerability more difficult to exploit.
Conclusion & alert: CVE-2023-35946 is rated Low Risk (37.8/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.11%). Mandatory action: Monitor for updates and reassess as exploit intelligence or EPSS changes.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2025-11-21 | 0.23% | 0.11% | -0.12% |
| 2 | 2025-11-18 | 0.10% | 0.23% | +0.13% |
| 3 | 2025-04-15 | — | 0.10% | — |
Full EPSS history (6 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 6.9 | 3.1 | MEDIUM |
|
1.0 | 5.3 | [email protected] |
| 5.5 | 3.1 | MEDIUM |
|
1.8 | 3.6 | [email protected] |
| vendor | priority | summary | link |
|---|---|---|---|
alpine
|
— | CVE-2023-35946: 1 source package rows (gradle); 7 state rows across 3 repos (3.18-community, 3.22-community, edge-community); fixed 0, open 7. | https://security.alpinelinux.org/vuln/CVE-2023-35946 |
debian
|
not yet assigned | CVE-2023-35946 not yet assigned priority: Debian including 1 source packages (gradle), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 5. | https://security-tracker.debian.org/tracker/CVE-2023-35946 |
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2023-35946 |
suse
|
medium | CVE-2023-35946 severity moderate: SUSE including 1 source package names (gradle-4.4.1-150200.3.24.1), 6 product×package rows across 6 product lines (SUSE Linux Enterprise Module for Development Tools 15 SP5, SUSE Linux Enterprise Module for Development Tools 15 SP6, … (6 product lines)): Fixed 6. | https://www.suse.com/security/cve/CVE-2023-35946/ |
ubuntu
|
medium | CVE-2023-35946 medium priority: Ubuntu including 1 source packages (gradle), 13 status rows across 13 suites (bionic, focal, jammy, kinetic, lunar, mantic, noble, oracular, plucky, questing, trusty, upstream, xenial): needs-triage 7, ignored 6. | https://ubuntu.com/security/CVE-2023-35946 |
| URL | Tags |
|---|---|
| https://docs.gradle.org/current/userguide/dependency_verification.html | Product Vendor Advisory |
| https://github.com/gradle/gradle/commit/859eae2b2acf751ae7db3c9ffefe275aa5da0d5d | Patch Third Party Advisory |
| https://github.com/gradle/gradle/commit/b07e528feb3a5ffa66bdcc358549edd73e4c8a12 | Patch Third Party Advisory |
| https://github.com/gradle/gradle/security/advisories/GHSA-2h6c-rv6q-494v | Mitigation Third Party Advisory |
| https://security.netapp.com/advisory/ntap-20230731-0003/ | Third Party Advisory |