CVE-2025-22873

Summary

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 Software

VendorProductVersion RangeStatus
Go standard libraryos0 < 1.23.9affected
Go standard libraryos1.24.0-0 < 1.24.3affected

Weaknesses

  • CWE-23: Relative Path Traversal

ADP Enrichment

CVE Program Container

Additional References

CISA ADP Vulnrichment

  • SSVC:
  • Exploitation: none
    • Automatable: no
    • Technical Impact: partial

References