CVE-2024-29041: Node express · Express.js minimalist web framework for node
Affects node-expressSource GCVE Database
Not known to be exploited · CVSS 6.1 Medium · fixed in 4.1.1~dfsg-1ubuntu0.16.04.1~esm1 : update node-express when convenient.
Data as of 24 Nov 2026, 19:26 UTC
- Patch
- Available – fixed in 4.1.1~dfsg-1ubuntu0.16.04.1~esm1, 4.1.1~dfsg-1ubuntu0.18.04.1~esm1, 4.17.1-2ubuntu0.1~esm1 +1
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Mar 2024
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Upgrade to a fixed release listed under Affected software.
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu Pro 22.04 LTSnode-expresspkg:deb/ubuntu/node-express?arch=source&distro=esm-apps/jammyOther threats | Affected
| Fixed in
|
Ubuntu Pro 20.04 LTSnode-expresspkg:deb/ubuntu/node-express?arch=source&distro=esm-apps/focalOther threats | Affected
| Fixed in
|
Ubuntu Pro 18.04 LTSnode-expresspkg:deb/ubuntu/node-express?arch=source&distro=esm-apps/bionicOther threats | Affected
| Fixed in
|
Ubuntu Pro 16.04 LTSnode-expresspkg:deb/ubuntu/node-express?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
Express.js minimalist web framework for node. Versions of Express.js prior to 4.19.0 and all pre-release alpha and beta versions of 5.0 are affected by an open redirect vulnerability using malformed URLs. When a user of Express performs a redirect using a user-provided URL Express performs an encode [using `encodeurl`](https://github.com/pillarjs/encodeurl) on the contents before passing it to the `location` header. This can cause malformed URLs to be evaluated in unexpected ways by common redirect allow list implementations in Express applications, leading to an Open Redirect via bypass of a properly implemented allow list. The main method impacted is `res.location()` but this is also called from within `res.redirect()`. The vulnerability is fixed in 4.19.2 and 5.0.0-beta.3.
References
- ubuntu.com/security/CVE-2024-29041 (opens in a new tab)
- github.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vc (opens in a new tab)
- github.com/koajs/koa/issues/1800 (opens in a new tab)
- github.com/expressjs/express/pull/5539 (opens in a new tab)
- github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2dd (opens in a new tab)
- github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94 (opens in a new tab)
- expressjs.com/en/4x/api.html (opens in a new tab)
- cve.org/CVERecord?id=CVE-2024-29041 (opens in a new tab)
- ubuntu.com/security/notices/USN-7581-1 (opens in a new tab)