CVE-2023-44387

Gradle has incorrect permission assignment for symlinked files used in copy or archiving operations

MEDIUM
6.5
CVSS Score
Published: October 5, 2023 at 05:51 PM UTC
Updated: October 8, 2026 at 10:17 PM UTC
1 product affected across 1 vendorGradle

Using gradle by gradle?

Get instant alerts when new vulnerabilities affect gradle - before attackers find them.

Real-time alertsTrack your software stackFree plan available
Severity
MEDIUM6.5
Exploit prediction
EPSS 0.2%
SSVC
No known exploit

Description

Gradle is a build tool with a focus on build automation and support for multi-language development. When copying or archiving symlinked files, Gradle resolves them but applies the permissions of the symlink itself instead of the permissions of the linked file to the resulting file. This leads to files having too much permissions given that symlinks usually are world readable and writeable. While it is unlikely this results in a direct vulnerability for the impacted build, it may open up attack vectors depending on where build artifacts end up being copied to or un-archived. In versions 7.6.3, 8.4 and above, Gradle will now properly use the permissions of the file pointed at by the symlink to set permissions of the copied or archived file.

Affected

Our own answer: ranges merged, affected separated from platform-only, with confidence and review flags.

v < 7.6.3v < 8.4.08.0.0 ≤ v < 8.4.0*>= 7.6.0, < 7.6.3
Affected range stops below 7.6.3, so it looks safe — our inference, not a vendor statement
Affected range stops below 8.4.0, so it looks safe — our inference, not a vendor statement

Remediation

No guide yet

No remediation guidance has been written for this CVE yet. What the record does show:

SSVC — Action Prioritization

SSVCNo known exploitNot automatablePartial impact

SSVC signals action urgency (what to patch first), separate from CVSS which measures severity.

CVSS

Attack Vector
LOCAL
Complexity
LOW
Privileges
LOW
User Interaction
NONE
Scope
CHANGED
Confidentiality
HIGH
Integrity
NONE
Availability
NONE
Vector?

Quick Info

StatusMODIFIED
CWE
CWE-732

Get alerted

Stop reading CVE feeds looking for your own stack

Track the products you run and VulnTracker tells you when a new CVE affects them — with what is known about fixing it, and nothing about the rest.

Free plan, no card