CVE-2025-47906

Public on 2025-08-08
Modified on 2025-08-08
Description
os/exec: LookPath may return unexpected paths. If the PATH environment variable contains paths which are executables (rather than just directories), passing certain strings to LookPath ("", ".", and ".."), can result in the binaries listed in the PATH being unexpectedly returned.
Severity
Medium severity
Medium
See what this means
CVSS v3 Base Score
4.9
See breakdown

Affected Packages

Platform Package Release Date Advisory Status
Amazon Linux 1 golang No Fix Planned
Amazon Linux 2 - Core golang 2025-09-04 ALAS2-2025-2984 Fixed
Amazon Linux 2023 golang 2025-09-08 ALAS2023-2025-1161 Fixed

CVSS Scores

Score Type Score Vector
Amazon Linux CVSSv3 4.9 CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:L