CVE-2025-22873

golang-1.24: It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../"

CVE-2025-22873 is fixed in 10 products on 1 platform, first by ALAS2023-2025-977, released May 21, 2025. It is not reported as exploited. Patch Radar priority: Routine.

Routine
CVSS
3.8
low
Exploitation
None reported
No vendor assessment
CISA KEV
Not listed
Not in the Known Exploited Vulnerabilities catalog
EPSS
0.0023
14th percentile

It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../". For example, Root.Open("../") would open the parent directory of the Root. This escape only permits opening the parent directory itself, not ancestors of the parent or files contained within the parent.

Where it's fixed

ProductFixed inFixReleased
Linux
go1.24 · opensuse-leap 15.6 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1 Jun 9, 2025
go1.24 · sles 15.6 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1 Jun 9, 2025
go1.24 · sles 15.7 1.24.4-150000.1.26.1 SUSE-SU-2025:01846-1 Jun 9, 2025
golang · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
golang-1.24 · Debian 13.5 (trixie) 1.24.4-1 DEBIAN-CVE-2025-22873 Feb 4, 2026
golang-bin · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
golang-docs · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
golang-misc · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
golang-shared · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
golang-src · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
golang-tests · amzn 2023 1.24.3-1.amzn2023.0.1 ALAS2023-2025-977 May 21, 2025
govulncheck-vulndb · opensuse-leap 15.6 0.0.20260205T172317-150000.1.146.1 SUSE-SU-2026:0403-1 Feb 6, 2026
govulncheck-vulndb · opensuse-leap 16.0 0.0.20260723T184607-160000.1.1 OPENSUSE-SU-2026:21483-1 Jul 30, 2026

Patch Radar data is free to use with attribution. Terms and how to credit it.

Product names, logos and trademarks shown on Patch Radar belong to their respective owners. They are used only to identify the software each security fix applies to and to help readers find their platform. Their use does not imply any affiliation with, or endorsement by, those owners, and Patchblox is not affiliated with any of them.