# CVE-2024-40400: Automad arbitrary file upload vulnerability

Source: https://junglewise.ai/threats/cve-2024-40400-automad-arbitrary-file-upload-vulnerability  
Publisher: Junglewise Threat Intelligence, https://junglewise.ai/threats  
Published: 2024-07-19  
License: CC BY 4.0 with a link back

CVE-2024-40400 · Severity: low · CVSS 3.1 · Published 2024-07-19

Automad arbitrary file upload vulnerability

Technologies: [automad/automad (Packagist)](https://junglewise.ai/threats/technologies/automad-automad). Vendors: [Packagist](https://junglewise.ai/threats/vendors/packagist).

## Quick answers

**Is CVE-2024-40400 exploited in the wild?** No. Junglewise Threat Intelligence has no report of CVE-2024-40400 being exploited in the wild.

**How severe is CVE-2024-40400?** Low severity, with a CVSS score of 3.1, published 19 July 2024.

**Which products and versions are affected?** automad/automad (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.0-alpha.5.

**Is there a fix for CVE-2024-40400?** Yes. automad/automad (Packagist): upgrade to 2.0.0-alpha.5 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.

**Am I affected by CVE-2024-40400?** Check whether you run automad/automad (Packagist) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.

## How to fix

- automad/automad (Packagist): upgrade to 2.0.0-alpha.5 or later

  ```sh
  composer require automad/automad:^2.0.0-alpha.5
  ```


## Affected products

- automad/automad (Packagist) ECOSYSTEM:introduced=0,fixed=2.0.0-alpha.5

## Identifiers

- CVE-2024-40400
- GHSA-47mc-qmh2-mqj4

## Related threats

- [Automad broken access control in user-collection API](https://junglewise.ai/threats/cve-2026-45332-automad-broken-access-control-in-user-collection-api)
- [Automad Cross-site Scripting vulnerability](https://junglewise.ai/threats/cve-2024-40111-automad-cross-site-scripting-vulnerability)
- [Cross-Site Request Forgery (CSRF) in automad/automad](https://junglewise.ai/threats/cve-2023-7038-cross-site-request-forgery-csrf-in-automad-automad)
- [Withdrawn Advisory: Unrestricted File Upload affecting automad](https://junglewise.ai/threats/cve-2023-7036-withdrawn-advisory-unrestricted-file-upload-affecting-automad)
- [Authenticated Blind SSRF in automad/automad](https://junglewise.ai/threats/cve-2023-7037-authenticated-blind-ssrf-in-automad-automad)
