CVE-2024-40827 Path traversal in macOS

Medium 5.5 Published Updated

An app can overwrite arbitrary files on macOS due to insufficient checks, requiring a system update to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Local or same network only
Victim action needed
Not needed
Fix
None listed

What is CVE-2024-40827?

CVE-2024-40827 is a medium-severity path traversal vulnerability in Apple Macos, published on 29 Jul 2024. It can only be exploited from the same machine or local network, with no action from the victim.

Official description

The issue was addressed with improved checks. This issue is fixed in macOS Monterey 12.7.6, macOS Sonoma 14.6, macOS Ventura 13.6.8. An app may be able to overwrite arbitrary files.

Which versions are affected by CVE-2024-40827?

It affects 1 product.

Products include Apple Macos.

How do I fix CVE-2024-40827?

No fix has been published for CVE-2024-40827 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-40827 being exploited?

There is no known exploitation of CVE-2024-40827 in the wild and no public exploit code.

All Apple Macos vulnerabilities

Sources

Also known as GHSA-5fvr-59fv-4jgf.

Is CVE-2024-40827 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free