Launch Week Day 1: Announcing Security Design Review
UNKNOWN Go

Improper access to parent directory of root in os

GO-2026-4403 · BIT-golang-2025-22873 · CVE-2025-22873

Published · Modified

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.

Ready to move

Start Securing

Free, no credit card | First findings in minutes