Skip to main content

Red Hat EUVDEUVD-2026-20012

| CVE-2026-32282 MEDIUM
Improper Link Resolution Before File Access (CWE-59)
2026-04-08 Go
6.4
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
6.4 MEDIUM
AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
SUSE
MEDIUM
qualitative
Red Hat
7.8 MEDIUM
qualitative

Primary rating from NVD.

CVSS VectorNVD

CVSS:3.1/AV:L/AC:H/PR:H/UI:N/S:U/C:H/I:H/A:H
Attack Vector
Local
Attack Complexity
High
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High

Lifecycle Timeline

5
Analysis Generated
Apr 15, 2026 - 12:24 vuln.today
CVSS changed
Apr 13, 2026 - 19:37 NVD
6.4 (MEDIUM)
Patch released
Apr 08, 2026 - 02:30 nvd
Patch available
EUVD ID Assigned
Apr 08, 2026 - 01:45 euvd
EUVD-2026-20012
CVE Published
Apr 08, 2026 - 01:06 nvd
N/A

DescriptionCVE.org

On Linux, if the target of Root.Chmod is replaced with a symlink while the chmod operation is in progress, Chmod can operate on the target of the symlink, even when the target lies outside the root. The Linux fchmodat syscall silently ignores the AT_SYMLINK_NOFOLLOW flag, which Root.Chmod uses to avoid symlink traversal. Root.Chmod checks its target before acting and returns an error if the target is a symlink lying outside the root, so the impact is limited to cases where the target is replaced with a symlink between the check and operation.

AnalysisAI

Time-of-check-time-of-use (TOCTOU) race condition in Go's internal/syscall/unix Root.Chmod allows local privileged attackers to modify file permissions on targets outside the intended root filesystem boundary. By replacing the target with a symlink between the permission check and the actual chmod operation, attackers can exploit the Linux fchmodat syscall's behavior of silently ignoring AT_SYMLINK_NOFOLLOW to modify arbitrary files outside the restricted root. Exploitation requires high privileges and precise timing; EPSS score of 0.01% indicates minimal real-world exploitation probability despite moderate CVSS severity.

Technical ContextAI

The vulnerability resides in Go's internal/syscall/unix package, specifically the Root.Chmod function used for privilege-separated file operations. Root.Chmod is designed to enforce a root filesystem boundary by checking whether the target is a symlink pointing outside the root before performing the chmod operation. However, the underlying Linux fchmoat(2) syscall silently ignores the AT_SYMLINK_NOFOLLOW flag, which is intended to prevent symlink traversal. This creates a classic time-of-check-time-of-use (TOCTOU) race condition: an attacker with high privileges can replace the target file with a symlink after the check passes but before the operation executes, causing fchmoat to follow the symlink and modify files outside the root boundary. The CWE classification indicates this is a race condition vulnerability (CWE-367 or similar temporal logic flaw).

RemediationAI

Upgrade to Go 1.26.2 or Go 1.25.9 or later. These versions include the patch that corrects the TOCTOU race condition in Root.Chmod. For applications and distributions bundling Go, rebuild and redeploy with the patched Go version. No workaround is available for the vulnerability itself; patching is the only mitigation. The upstream fix is available at https://go.dev/cl/763761 and details are provided in the Go security issue https://go.dev/issue/78293 and vendor announcement https://groups.google.com/g/golang-announce/c/0uYbvbPZRWU. For vulnerability tracking, reference https://pkg.go.dev/vuln/GO-2026-4864.

Vendor StatusVendor

SUSE

Severity: Medium
Product Status
SUSE Linux Enterprise Desktop 15 SP7 SUSE Linux Enterprise High Performance Computing 15 SP7 SUSE Linux Enterprise Module for Development Tools 15 SP7 SUSE Linux Enterprise Server 15 SP7 SUSE Linux Enterprise Server for SAP Applications 15 SP7 Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP4-LTSS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-ESPOS Fixed
SUSE Linux Enterprise High Performance Computing 15 SP5-LTSS Fixed

Share

EUVD-2026-20012 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy