CVE-2025-47906
published medium CVSS 3.1 · 6.5Unexpected paths returned from LookPath in os/exec
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Go standard library | — | os/exec0 to < 1.23.12 · 1.24.0 to < 1.24.6 · Other versions: unaffected | Affected | Not stated | Go |
| Amazon Linux | AL2 | Release evaluationALAS2-2025-2984 | Fixed | Not stated | Amazon Linux assessment |
| Amazon Linux | AL2023 | Release evaluationALAS2023-2025-1161 | Fixed | Not stated | Amazon Linux assessment |
| AlmaLinux | 8 | delve | Advisory build | 1.25.2-1.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| Alpine Linux | edge | go | Fixed | 1.24.6-r0 | Package fix record |
| Oracle Linux | 8 | delveaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| AlmaLinux | 8 | go-toolset | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
Show 95 more entries
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| AlmaLinux | 8 | golang | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 8 | golang-bin | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 8 | golang-docs | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 8 | golang-misc | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 8 | golang-race | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 8 | golang-src | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 8 | golang-tests | Advisory build | 1.25.3-2.module_el8.10.0+4074+24330916 | ALSA-2025:22668 |
| AlmaLinux | 9 | git-lfs | Advisory build | 3.7.1-4.el9_8 | ALSA-2026:19350 |
| AlmaLinux | 9 | go-filesystem | Advisory build | 3.6.0-12.el9_7 | ALSA-2025:22005 |
| AlmaLinux | 9 | go-rpm-macros | Advisory build | 3.6.0-12.el9_7 | ALSA-2025:22005 |
| AlmaLinux | 9 | go-rpm-templates | Advisory build | 3.6.0-12.el9_7 | ALSA-2025:22005 |
| AlmaLinux | 9 | go-srpm-macros | Advisory build | 3.6.0-12.el9_7 | ALSA-2025:22005 |
| Alpine Linux | v3.22 | go | Fixed | 1.24.6-r0 | Package fix record |
| Alpine Linux | v3.23 | go | Fixed | 1.24.6-r0 | Package fix record |
| Alpine Linux | v3.24 | go | Fixed | 1.24.6-r0 | Package fix record |
| Oracle Linux | 8 | delvex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.2-1.0.1.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | go-toolsetaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | go-toolsetx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golangaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golangx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-binaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-binx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-docsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-docsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-miscaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-miscx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-raceaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-racex86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-srcaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-srcx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-testsaarch64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 8 | golang-testsx86_64 · go-toolset · ol8 is enabled | Advisory build | 0:1.25.3-2.module+el8.10.0+90715+2d4d8dfd | ELSA-2025-22668 |
| Oracle Linux | 9 | go-filesystemaarch64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-filesystemx86_64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-rpm-macrosaarch64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-rpm-macrosx86_64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-rpm-templatesaarch64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-rpm-templatesx86_64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-srpm-macrosaarch64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Oracle Linux | 9 | go-srpm-macrosx86_64 | Advisory build | 0:3.6.0-12.el9_7 | ELSA-2025-22005 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsets390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | go-toolsetx86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangs390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangsrc | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golangx86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-bins390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-binx86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-docsnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-miscnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-raceaarch64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-raceppc64le | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-races390x | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-racex86_64 | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-srcnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-10 | golang-testsnoarch | Advisory build | 1.24.6-1.el10_0 | RHSA-2025:13941 |
| Red Hat Enterprise Linux | RHEL-8 | delveaarch64 | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delveppc64le | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:23740 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:23741 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | delvesrc | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:23737 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:23740 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:23741 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | delvex86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:23737 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfoaarch64 | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfoppc64le | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:23740 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:23741 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debuginfox86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:23737 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourceaarch64 | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourceppc64le | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.25.2-1.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.3.2-3.module+el8.2.0+5581+896cb53e | RHSA-2025:23740 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.5.0-2.module+el8.4.0+8864+58b0fcdb | RHSA-2025:23741 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.7.2-1.module+el8.6.0+12972+ebab5911 | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | delve-debugsourcex86_64 | Advisory build | 1.9.1-1.module+el8.8.0+16778+5fbb74f5 | RHSA-2025:23737 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetaarch64 | Advisory build | 1.17.13-2.module+el8.6.0+22782+bd95fb4c | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetaarch64 | Advisory build | 1.25.3-2.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.17.13-2.module+el8.6.0+22782+bd95fb4c | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.19.13-3.module+el8.8.0+23822+add30b82 | RHSA-2025:23737 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetppc64le | Advisory build | 1.25.3-2.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsets390x | Advisory build | 1.17.13-2.module+el8.6.0+22782+bd95fb4c | RHSA-2025:23733 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsets390x | Advisory build | 1.25.3-2.module+el8.10.0+23746+9db33b5e | RHSA-2025:22668 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetsrc | Advisory build | 1.13.15-1.module+el8.2.0+7662+fa98b974 | RHSA-2025:23740 |
| Red Hat Enterprise Linux | RHEL-8 | go-toolsetsrc | Advisory build | 1.15.14-3.module+el8.4.0+22765+91da4d3f | RHSA-2025:23741 |
Package entries are limited to the first 100 builds and 100 linked advisories.
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 6.5 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Go standard library | os/exec | 0 to < 1.23.12 (affected · semver)1.24.0 to < 1.24.6 (affected · semver)Default: unaffected | Go · cna |
Weaknesses
1- CWE-115 CWE-115: Misinterpretation of Input
References
5Provider assertions
3Go · cna
Unexpected paths returned from LookPath in os/exec
CISA-ADP · adp
CISA ADP Vulnrichment
CVE · adp
CVE Program Container
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 18f6d8df90e506ea56fe5c42befd07280c875d1f8d1dbbe1a7b1ed03c7a67976
- Ingested
- 23 Sep 2026, 08:50:18 UTC
- Source record
- Official CVE record