CVE-2025-47906Golang Go
Medium 6.5 No auth needed
Follow: this CVE · Golang · Golang Go We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Sep 18, 2025
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- SSVC (CISA)
- Exploitation: none · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:L
What happens
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.
What to do
- Apply the vendor's security update for Go.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | stdlib |
< 1.23.12 |
1.23.12 |
go get stdlib@v1.23.12 |
| Go | stdlib |
≥ 1.24.0 < 1.24.6 |
1.24.6 |
go get stdlib@v1.24.6 |
Per OSV / GitHub Advisories (GO-2025-3956). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| golang | go | < 1.23.12 |
| golang | go | ≥ 1.24.0 < 1.24.6 |
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21483-1 · Jul 30, 2026 Critical
- Red Hat Security Advisory: go-toolset:rhel8 security update · Red Hat · RHSA-2025:23737 · Jul 24, 2026 Medium
- Red Hat Security Advisory: go-toolset:rhel8 security update · Red Hat · RHSA-2025:22668 · Jul 24, 2026 Medium
- Red Hat Security Advisory: git-lfs security update · Red Hat · RHSA-2026:19350 · May 20, 2026 High
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:0298-1 · Jan 26, 2026 Critical
- Security update for go1.25-openssl · SUSE · SUSE-SU-2026:0297-1 · Jan 26, 2026 Critical
Also: Red Hat (+7)
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.
- go.dev Patch
- go.dev Exploit Issue Tracking Third Party Advisory
- groups.google.com Mailing List Release Notes
- pkg.go.dev Vendor Advisory
- www.openwall.com Issue Tracking Mailing List