CVE-2025-31198 Path traversal in macOS
An attacker can exploit symlink validation flaws in macOS to access or modify files outside intended directories.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-31198?
CVE-2025-31198 is a medium-severity path traversal vulnerability in Apple Macos, published on 29 May 2025. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
This issue was addressed with improved validation of symlinks. This issue is fixed in macOS Sequoia 15.4, macOS Sonoma 14.7.5, macOS Ventura 13.7.5. A path handling issue was addressed with improved validation.
Weakness: CWE-59
Which versions are affected by CVE-2025-31198?
It affects 1 product.
Products include Apple Macos.
How do I fix CVE-2025-31198?
No fix has been published for CVE-2025-31198 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-31198 being exploited?
There is no known exploitation of CVE-2025-31198 in the wild and no public exploit code.
Other vulnerabilities in Apple Macos
Sources
Also known as GHSA-xc75-cc6q-49fg.