Path traversal in Go programming language - CVE-2025-22873
Published: May 26, 2025
Vulnerability details
The vulnerability allows a remote attacker to perform directory traversal attacks.
The vulnerability exists due to input validation error when processing directory traversal sequences in file names. A remote attacker can pass a specially crafted filename to the Root.Open() call, e.g. Root.Open("../") and open the parent directory of the Root.
Affected software
Arch Linux
SUSE Linux Enterprise Server 15 SP4
SUSE Linux Enterprise Server 15 SP5
SUSE Linux Enterprise Server 15 SP3
SUSE Linux Enterprise Server 15
SUSE Linux Enterprise Server for SAP Applications 15
SUSE Linux Enterprise High Performance Computing 15
SUSE Linux Enterprise High Performance Computing LTSS 15
SUSE Linux Enterprise High Performance Computing ESPOS 15
SUSE Linux Enterprise Desktop 15
SUSE Linux Enterprise Real Time 15
SUSE Enterprise Storage
Development Tools Module
openSUSE Leap
go1.24-race
go1.24-doc
go1.24
go
App Connect Enterprise Certified Container
How to mitigate CVE-2025-22873
go1.24-race - addressed in versions 1.24.3-150000.1.23.1, 1.24.4-150000.1.26.1
go1.24-doc - addressed in versions 1.24.3-150000.1.23.1, 1.24.4-150000.1.26.1
go1.24 - addressed in versions 1.24.3-150000.1.23.1, 1.24.4-150000.1.26.1
go - update to 2
App Connect Enterprise Certified Container - update to 12.0.15