UNKNOWN Go
Improper access to parent directory of root in os
GO-2026-4403 · BIT-golang-2025-22873 · CVE-2025-22873
Published · Modified
AI SAST
Find this class of vulnerability in your own code
Corgea's AI-native static analysis detects vulnerabilities like this one across your repositories, ranks them by exploitability, and returns review-ready fixes.
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