CVE-2024-40400 Automad arbitrary file upload vulnerability

High 8.8 Published Updated

Attackers can execute arbitrary code by uploading a crafted file via the image upload function in Automad.

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-40400?

CVE-2024-40400 is a high-severity vulnerability in n/a, published on 19 Jul 2024. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

An arbitrary file upload vulnerability in the image upload function of Automad v2.0.0 allows attackers to execute arbitrary code via a crafted file.

Weakness: CWE-434

Which versions are affected by CVE-2024-40400?

2 open source packages ship an affected version, including automad/automad. It affects 1 product.

PackageAffectedFixed in
automad/automad PackagistAll versions2.0.0-alpha.5
automad/automad PackagistAll versions2.0.0-alpha.5

Products include Automad Automad.

How do I fix CVE-2024-40400?

Upgrade automad/automad to 2.0.0-alpha.5 or later.

Is CVE-2024-40400 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-40400 exists.

Sources

Also known as GHSA-47mc-qmh2-mqj4.

Is CVE-2024-40400 in your software?

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

Check your SBOMs for free