Advisory

GO-2026-4403

Also known as: BIT-golang-2025-22873, CVE-2025-22873

Summary

Improper access to parent directory of root in os

Details

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.

Severity

Not rated by the source.

Dates

Published
2026-02-04 22:42 UTC
Modified
2026-05-15 10:59 UTC

Affected packages and fixes

stdlib

Go · All systems

Affected

  • introduced 0, fixed 1.23.9, introduced 1.24.0-0, fixed 1.24.3 (semver)

Fixed versions

1.23.9, 1.24.3

Fix

The export has no generic command for this ecosystem.

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences