CVE-2024-29409
Medium · 5.5nest allows a remote attacker to execute arbitrary code via the Content-Type header
CVSS
5.5
EPSS
0.3%
Published
Mar 14, 2025
CISA due date
—
Cloudanix analysis
A flaw in how some web applications handle uploaded files could let outsiders run their own programs on the server if left unaddressed.
- Exploitation
- Remote Unauthenticated
- Attacker needs
- None
- Complexity
- Low
- Impact
- Remote Code Execution
- Component
- Web Framework
- Class
- RCE
- Remediation
- Upgrade
- Effort
- Medium
- Patch risk
- Low
What it actually does
The vulnerability permits arbitrary code execution through a file upload feature by manipulating the Content-Type header in nestjs applications.
Why it matters to the business
Attackers could gain control of affected servers, leading to data exposure or service disruption; low exploit likelihood and no known campaigns reduce immediate urgency despite widespread use of the framework.
How an attack unfolds
An attacker identifies a nestjs endpoint accepting file uploads, crafts a request with a malicious payload disguised via the Content-Type header, and triggers remote code execution on the server.
How to fix it
Upgrade affected nestjs deployments to a patched release; for chromium on Debian 12 apply version 131.0.6778.204-1~deb12u1 or later where applicable.
How to confirm the fix worked
Review application dependencies for nestjs version 11.0.11, test upload endpoints with varied Content-Type headers to confirm rejection of malicious inputs, and verify chromium packages match the listed fixed versions on Debian 12 systems.
Typical attack path
- Scan for publicly reachable nestjs applications running version 11.0.11 or earlier
- Locate file upload endpoints that process Content-Type headers
- Upload a crafted file with a manipulated Content-Type value containing executable code
- Trigger execution of the uploaded payload to achieve remote code execution
How to detect it
Examine web server and application logs for unusual file uploads accompanied by non-standard Content-Type values; review process execution logs for unexpected binaries spawned after upload events.
What your security team should do
- Prioritize inventory of all nestjs instances and schedule upgrades within standard change windows
- Implement input validation and Content-Type whitelisting on upload handlers as a temporary control
- Monitor EPSS and exploit maturity indicators for any rise in activity over the next 30 days
The record
File Upload vulnerability in nestjs nest v.11.0.11 allows a remote attacker to execute arbitrary code via the Content-Type header.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| npm | @nestjs/common | 0 | 10.4.16 |
| npm | @nestjs/common | 11.0.0-next.1 | 11.0.16 |
Related vulnerabilities
- CVE-2026-63378 TAKO AI Agent for Okta is a local-first AI agent that helps Okta administrators query… CWE-94
- CVE-2026-63346 Refitter is a tool for generating a C# REST API client using the Refit library. CWE-94
- CVE-2026-63345 Refitter is a tool for generating a C# REST API client using the Refit library. CWE-94
- CVE-2026-63344 Refitter is a tool for generating a C# REST API client using the Refit library. CWE-94
- CVE-2026-62853 ThingLinks is an enterprise IoT platform. CWE-94
- CVE-2026-62284 OSAC operator is a Kubernetes operator. CWE-94
- CVE-2026-116852 Author Remote Code Execution (RCE) in Widget Options <= 4.2.5 versions. CWE-94
- CVE-2026-118635 The The GeoDirectory – WP Business Directory Plugin and Classified Listings Directory… CWE-94