CVE-2025-22873

LOWCVSS 3.8/10EPSS 0.24%

Last modified

CVE-2025-22873 is a low-severity vulnerability rated 3.8/10 on the CVSS scale. 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. EPSS estimates a 0.24% chance of exploitation in the next 30 days.

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.

Metrics

CVSS 3.1
3.8/10

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

EPSS Probability
0.24%

14.7th percentile

Probability of exploitation in the next 30 days. Learn more

Weakness Enumeration

Affected Software

VendorProductVersions
GolangGo< 1.23.9
GolangGo>= 1.24.0, < 1.24.3

References

Timeline

Published
Last Modified
Status
Analyzed

Frequently Asked Questions

What is CVE-2025-22873?
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.
How severe is CVE-2025-22873?
CVE-2025-22873 has a CVSS score of 3.8/10 (LOW severity). The EPSS model estimates a 0.24% probability of exploitation in the next 30 days.
How do I fix CVE-2025-22873?
Check the vendor references and advisories linked above for patched versions and mitigation guidance. You can also run a Strix scan to test if your systems are affected.

Are you affected by CVE-2025-22873?

Run a free Strix scan to check your systems for this vulnerability.

Scan your code now

Source: NVD / NIST