Skip to content
3.8 Low

CVE-2025-22873 It was possible to improperly access the parent directory of an os.Root by opening a filename ending in "../"

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.

Affected products and versions

Product Affected versions Fixed in
os 1.24 1.24.0-0 → < 1.24.3 1.24.3
os 1.23 earliest → < 1.23.9 1.23.9

References

Timeline

  1. Published
  2. Last modified
The 6 CVEs of os →
Track this CVE