{"id":"CVE-2024-29409","aliases":["EUVD-2024-26416","GHSA-cj7v-w2c7-cp7c","ROOT-APP-NPM-CVE-2024-29409"],"status":"published","title":"nest allows a remote attacker to execute arbitrary code via the Content-Type header","description":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","severity":{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-09","score":0.00335,"percentile":0.27024,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-94"],"published":"2025-03-14T00:00:00Z","modified":"2026-10-28T02:30:45Z","fixes":[{"ecosystem":"npm","package":"@nestjs/common","fixed_in":["11.0.16","10.4.16"],"sources":["ghsa","osv"]},{"ecosystem":"Root:npm","package":"@rootio/nestjs__common","fixed_in":["10.3.8-root.io.1","10.3.8-root.io.2","10.3.8-root.io.3","10.3.0-root.io.1","9.0.7-root.io.1","10.2.5-root.io.1"],"sources":["osv"]},{"ecosystem":"Root:npm","package":"@nestjs/common","fixed_in":["10.3.8-aikido.2","10.3.8-aikido.3","10.3.0-aikido.1","9.0.7-aikido.1","10.2.5-aikido.1"],"sources":["osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@nestjs/common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"11.0.0-next.1"},{"fixed":"11.0.16"}]}]},{"source":"ghsa","ecosystem":"npm","package":"@nestjs/common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.4.16"}]}]},{"source":"osv","ecosystem":"npm","package":"@nestjs/common","ranges":[{"type":"SEMVER","events":[{"introduced":"11.0.0-next.1"},{"fixed":"11.0.16"}]}]},{"source":"osv","ecosystem":"npm","package":"@nestjs/common","ranges":[{"type":"SEMVER","events":[{"introduced":"0"},{"fixed":"10.4.16"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@rootio/nestjs__common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.3.8-root.io.1"},{"fixed":"10.3.8-root.io.2"},{"fixed":"10.3.8-root.io.3"},{"fixed":"10.3.0-root.io.1"},{"fixed":"9.0.7-root.io.1"},{"fixed":"10.2.5-root.io.1"}]}]},{"source":"osv","ecosystem":"Root:npm","package":"@nestjs/common","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"10.3.8-aikido.2"},{"fixed":"10.3.8-aikido.3"},{"fixed":"10.3.0-aikido.1"},{"fixed":"9.0.7-aikido.1"},{"fixed":"10.2.5-aikido.1"}]}]}],"products":[{"vendor":"nestjs","product":"nest"}],"references":[{"url":"https://github.com/nestjs/nest/issues/13311#issuecomment-1993839495","tags":["Exploit","Issue Tracking","report","web"]},{"url":"https://gist.github.com/aydinnyunus/801342361584d1491c67a820a714f53f","tags":["Exploit","Mitigation","Third Party Advisory","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-29409","tags":["advisory"]},{"url":"https://github.com/nestjs/nest/blob/83a48b2c7396985144b7a6cd5d3bee1abb7c5d81/packages/common/pipes/file/file-type.validator.ts#L19","tags":["web"]},{"url":"https://github.com/nestjs/nest/issues/14876","tags":["web"]},{"url":"https://github.com/nestjs/nest/issues/14876#issuecomment-2796888038","tags":["web"]},{"url":"https://github.com/nestjs/nest/pull/14881","tags":["web"]},{"url":"https://github.com/nestjs/nest/releases/tag/v11.0.16","tags":["web"]},{"url":"https://github.com/nestjs/nest/releases/tag/v10.4.16","tags":["web"]},{"url":"https://github.com/advisories/GHSA-cj7v-w2c7-cp7c"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/29xxx/CVE-2024-29409.json","tags":["advisory"]},{"url":"https://github.com/nestjs/nest","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2024-29409","description":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","status":"published","published":"2025-03-14T00:00:00Z","modified":"2025-03-17T18:33:24.099Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"adp"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:34:15.337999Z"}],"euvd":[{"id":"EUVD-2024-26416","description":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","status":"published","published":"2025-03-14T00:00:00Z","modified":"2025-03-17T18:33:24Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T20:53:01.2656Z"}],"ghsa":[{"id":"GHSA-cj7v-w2c7-cp7c","title":"nest allows a remote attacker to execute arbitrary code via the Content-Type header","description":"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.","status":"published","published":"2025-03-14T18:30:51Z","modified":"2025-04-14T22:25:20Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:38:39.85223Z"}],"nvd":[{"id":"CVE-2024-29409","description":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","status":"published","published":"2025-03-14T18:15:27.98Z","modified":"2026-06-17T07:22:48.257Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium","assessor":"secondary"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T14:10:45.422466Z"}],"osv":[{"id":"CVE-2024-29409","description":"File Upload vulnerability in nestjs nest v.10.3.2 allows a remote attacker to execute arbitrary code via the Content-Type header.","status":"published","published":"2025-03-14T00:00:00Z","modified":"2026-10-28T02:30:45.633694613Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"updated_at":"2026-11-02T15:44:40.06138Z"},{"id":"GHSA-cj7v-w2c7-cp7c","title":"nest allows a remote attacker to execute arbitrary code via the Content-Type header","description":"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.","status":"published","published":"2025-03-14T18:30:51Z","modified":"2025-04-14T22:25:17Z","cvss":[{"version":"3.1","score":5.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L","level":"medium"}],"cwes":["CWE-94"],"updated_at":"2026-11-02T15:46:45.28161Z"},{"id":"ROOT-APP-NPM-CVE-2024-29409","title":"CVE-2024-29409 in @rootio/nestjs__common - Patched by Root","description":"Root has patched CVE-2024-29409 in the @rootio/nestjs__common package for Root:npm. Multiple fixed versions available.","status":"published","published":"2026-07-31T08:39:46Z","modified":"2026-07-31T13:30:11.444770511Z","updated_at":"2026-11-02T15:53:27.362922Z"}]}}
