CVE-2022-26704 Path traversal in macOS

High 7.8 Published Updated

An attacker can exploit symlink validation flaws in macOS to gain elevated privileges, requiring an update to the operating system.

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-2022-26704?

CVE-2022-26704 is a high-severity path traversal vulnerability in Apple Mac Os X, published on 26 May 2022. 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 validation issue existed in the handling of symlinks and was addressed with improved validation of symlinks. This issue is fixed in macOS Monterey 12.4. An app may be able to gain elevated privileges.

Weakness: CWE-59

Which versions are affected by CVE-2022-26704?

It affects 2 products.

Products include Apple Mac Os X, Apple Macos.

How do I fix CVE-2022-26704?

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

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

All Apple Mac Os X vulnerabilities

Sources

Also known as GHSA-3f8h-c4rw-wc8f.

Is CVE-2022-26704 in your software?

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

Check your SBOMs for free