CVE-2025-22873

Low

Description

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.

SeverityLow
CVSS3.8
Exploit probability—
ProductGo
PublishedFeb 4, 2026
First seenFeb 4, 2026
Weakness typeCWE-23CWE-23

How to fix

Update
  • golang go1.23.9, 1.24.3 or later
  • stdlib1.23.9, 1.24.3 or later

Affected products

ProductAffected versionsFixed in
golang gov < 1.23.9, 1.24.0 ≤ v < 1.24.31.23.9, 1.24.3
stdlibGov < 1.23.9, 1.24.0-0 ≤ v < 1.24.31.23.9, 1.24.3

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.