{"id":"CVE-2024-29409","aliases":["CVE-2024-29409","GHSA-cj7v-w2c7-cp7c"],"related":[],"kind":"vulnerability","state":"published","title":"nest allows a remote attacker to execute arbitrary code via the Content-Type header","summary":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","source":"cvelist"},{"lang":"en","text":"File Upload vulnerability in nestjs nest prior to v.11.0.16 allows a remote attacker to execute arbitrary code via the Content-Type header.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Vulnerabilidad de carga de archivos en nestjs nest v.10.3.2 permite a un atacante remoto ejecutar código arbitrario a través del encabezado Content-Type.","source":"nvd"}],"published":"2025-03-14T00:00:00.000Z","modified":"2026-06-17T07:22:48.257Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","score":5.5,"rating":"MEDIUM"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"version":"n/a","status":"affected"}],"source":"cvelist"},{"ranges":[{"type":"semver","introduced":"11.0.0-next.1","status":"affected","fixed":"11.0.16"}],"ecosystem":"npm","package":"@nestjs/common","purl":"pkg:npm/%40nestjs/common","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"10.4.16"}],"ecosystem":"npm","package":"@nestjs/common","purl":"pkg:npm/%40nestjs/common","source":"ghsa"},{"ranges":[{"status":"affected","version":"10.3.2"}],"vendor":"nestjs","product":"nest","cpe":"cpe:2.3:a:nestjs:nest:10.3.2:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495","tags":["exploit","issue-tracking","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f","tags":["exploit","mitigation","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29409","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest/issues/14876","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest/issues/14876#issuecomment-2796888038","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest/pull/14881","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest/blob/83a48b2c7396985144b7a6cd5d3bee1abb7c5d81/packages/common/pipes/file/file-type.validator.ts#L19","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest/releases/tag/v10.4.16","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/nestjs/nest/releases/tag/v11.0.16","tags":["web"],"sources":["ghsa"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"yes","technicalImpact":"total","date":"2025-03-17T18:32:28.154Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-29409","url":"https://www.cve.org/CVERecord?id=CVE-2024-29409","licence":"CVE Terms of Use","modified":"2025-03-17T18:33:24.099Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-cj7v-w2c7-cp7c","url":"https://github.com/advisories/GHSA-cj7v-w2c7-cp7c","licence":"CC-BY-4.0","modified":"2025-04-14T22:25:17.000Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-29409","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29409","licence":"Public domain","modified":"2026-06-17T07:22:48.257Z"}],"updatedAt":"2026-11-25T22:58:52.293Z","epss":{"score":0.00335,"percentile":0.28733,"date":"2026-12-02T12:00:21.000Z"}}