# CVE-2024-45398: Remote command execution through file upload in contao/core-bundle

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.53%, higher than 46% of CVEs (2026-12-01)
- Published: 2024-09-17T14:58:35.000Z
- Modified: 2026-06-17T07:54:08.260Z
- Also known as: GHSA-vm6r-j788-hjh5
- Weaknesses: CWE-434
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

Contao is an Open Source CMS. In affected versions a back end user with access to the file manager can upload malicious files and execute them on the server. Users are advised to update to Contao 4.13.49, 5.3.15 or 5.4.3. Users unable to update are advised to configure their web server so it does not execute PHP files and other scripts in the Contao file upload directory.

(As written by CVE List.)

## Affected

- contao contao: >=4.0.0, < 4.13.49; >= 5.0.0, < 5.3.15; >= 5.4.0, < 5.4.3; from 4.0.0 up to 4.13.49; from 5.0.0 up to 5.3.15; from 5.4.0 up to 5.4.3; from 4.0.0 before 4.13.49; from 5.0.0 before 5.3.15; from 5.4.0 before 5.4.3
- contao/core-bundle (Packagist): from 4.0.0 before 4.13.49; from 5.0.0 before 5.3.15; from 5.4.0 before 5.4.3

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:L`
- GitHub: CVSS:4.0 High `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/contao/contao/security/advisories/GHSA-vm6r-j788-hjh5> (third-party-advisory, web)
- <https://contao.org/en/security-advisories/remote-command-execution-through-file-uploads> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-45398> (advisory)
- <https://github.com/contao/contao/commit/9445d509f12a7f1b68a4794dcc5e3e459b363ebb> (web)
- <https://github.com/contao/contao/commit/a7e39f96ac8fdc281f7caaa96e01deb0e24ac7d3> (web)
- <https://github.com/contao/contao/commit/f3db59ffe5a6c0e1f705b3230ebd5ff16865280e> (web)
- <https://github.com/contao/contao> (package)

## Sources

- CVE List: [CVE-2024-45398](https://www.cve.org/CVERecord?id=CVE-2024-45398), CVE Terms of Use, modified 2024-09-18
- GitHub Advisory Database: [GHSA-vm6r-j788-hjh5](https://github.com/advisories/GHSA-vm6r-j788-hjh5), CC-BY-4.0, modified 2024-09-17
- NVD: [CVE-2024-45398](https://nvd.nist.gov/vuln/detail/CVE-2024-45398), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-45398 · Whole record: https://cve.day/CVE-2024-45398.json · Rebuilt by cve.day 2026-11-25T22:58:45.516Z
