# CVE-2024-29409: nest allows a remote attacker to execute arbitrary code via the Content-Type header

- Severity: Medium 5.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/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.34%, higher than 28% of CVEs (2026-12-02)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2025-03-14T00:00:00.000Z
- Modified: 2026-06-17T07:22:48.257Z
- Also known as: GHSA-cj7v-w2c7-cp7c
- Weaknesses: CWE-94
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## Description

File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- @nestjs/common (npm): from 11.0.0-next.1 before 11.0.16; before 10.4.16
- nestjs nest: 10.3.2

## Every score

- CISA-ADP: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`
- GitHub: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L`

## References

- <https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495> (exploit, issue-tracking, web)
- <https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f> (exploit, mitigation, third-party-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-29409> (advisory)
- <https://github.com/nestjs/nest/issues/14876> (web)
- <https://github.com/nestjs/nest/issues/14876#issuecomment-2796888038> (web)
- <https://github.com/nestjs/nest/pull/14881> (web)
- <https://github.com/nestjs/nest> (package)
- <https://github.com/nestjs/nest/blob/83a48b2c7396985144b7a6cd5d3bee1abb7c5d81/packages/common/pipes/file/file-type.validator.ts#L19> (web)
- <https://github.com/nestjs/nest/releases/tag/v10.4.16> (web)
- <https://github.com/nestjs/nest/releases/tag/v11.0.16> (web)

## Sources

- CVE List: [CVE-2024-29409](https://www.cve.org/CVERecord?id=CVE-2024-29409), CVE Terms of Use, modified 2025-03-17
- GitHub Advisory Database: [GHSA-cj7v-w2c7-cp7c](https://github.com/advisories/GHSA-cj7v-w2c7-cp7c), CC-BY-4.0, modified 2025-04-14
- NVD: [CVE-2024-29409](https://nvd.nist.gov/vuln/detail/CVE-2024-29409), Public domain, modified 2026-06-17

---

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