CVE-2024-54520 Path traversal in macOS
An application can overwrite arbitrary files due to improper path validation, requiring users to update macOS.
- 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-2024-54520?
CVE-2024-54520 is a medium-severity path traversal vulnerability in Apple Macos, published on 27 Jan 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
A path handling issue was addressed with improved validation. This issue is fixed in macOS Sequoia 15.2, macOS Sonoma 14.7.2, macOS Ventura 13.7.2. An app may be able to overwrite arbitrary files.
Which versions are affected by CVE-2024-54520?
It affects 1 product.
Products include Apple Macos.
How do I fix CVE-2024-54520?
No fix has been published for CVE-2024-54520 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-2024-54520 being exploited?
There is no known exploitation of CVE-2024-54520 in the wild and no public exploit code.
Other vulnerabilities in Apple Macos
Sources
Also known as GHSA-25gv-4h88-97v2.