CVE-2024-22232 Specially crafted url can be created which leads to a directory traversal in the salt file server

High 7.7 Published Updated

A malicious user can read arbitrary files from the Salt master filesystem via a crafted URL, requiring an upgrade to mitigate.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-22232?

CVE-2024-22232 is a high-severity path traversal vulnerability in VMware Salt Project, published on 27 Jun 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

A specially crafted url can be created which leads to a directory traversal in the salt file server. A malicious user can read an arbitrary file from a Salt master’s filesystem.

Weakness: CWE-22

Which versions are affected by CVE-2024-22232?

5 open source packages ship an affected version, including salt.

PackageAffectedFixed in
salt PyPIAll versions3005.5, 3006.6
salt PyPIAll versions3005.5
salt PyPIAll versions3005.5
salt PyPIFrom 3006.03006.6
salt PyPIFrom 3006.03006.6

How do I fix CVE-2024-22232?

Upgrade salt to a fixed version for your release line: 3005.5 or 3006.6.

Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.

Is CVE-2024-22232 being exploited?

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

Sources

Also known as GHSA-2qw3-2wv6-p64x, PYSEC-2026-1891, UBUNTU-CVE-2024-22232.

Is CVE-2024-22232 in your software?

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

Check your SBOMs for free