CVE-2025-47906
Unknown
Unknown - Not Provided
BaseFortify
Publication date: 2025-09-18
Last updated on: 2025-11-04
Assigner: Go Project
Description
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.
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| golang | go | From 1.25.0 (inc) to 1.25.2 (inc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-UNKNOWN |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability occurs when the PATH environment variable includes executable files instead of just directories. When certain strings ("", ".", and "..") are passed to the LookPath function, it can unexpectedly return the binaries listed in the PATH, which is not the intended behavior.
How can this vulnerability impact me? :
The vulnerability can lead to unexpected execution of binaries found in the PATH environment variable, potentially causing security issues such as executing unintended or malicious code.
Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70