CVE 3.8 LOW

Improper access to parent directory of root in os_CVE-2025-22873

3.8 / 10
LOW
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:C/C:L/I:N/A:N

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.

Basic Information

ID CVE-2025-22873
Source Go
Published Feb 4, 2026 at 23:05
Modified Feb 5, 2026 at 15:03

Affected Product

Vendor Go standard library
Product os
Affected Versions Go standard library os 0
Go standard library os 1.24.0-0

CWE Classification

References

💭 Join the Security Discussion

🔒 Your email address will not be published. Required fields are marked *

⚠️ Please be respectful and constructive in your comments. Security discussions should remain professional.