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 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.
CVE-2024-29041
This medium-severity CVE scores 6.1 under NVD CVSS v3. EPSS exploit probability: 0.2%, top 64% of all CVEs by exploit prediction. GitHub Security Advisory data not yet ingested — confidence will rise once GHSA publishes (typical lag: hours to days for open-source ecosystem CVEs; never for infrastructure-only CVEs).
- Lower severity and no public exploit yet
A fix is available — apply it.
- CVSS v3
- 6.1
- EG Score
- 6.1(medium)
- EPSS
- 51.8%
- KEV
- Not listed
Published
March 25, 2024
Last Modified
December 18, 2025
References (12)
- security-advisories@githubhttps://expressjs.com/en/4x/api.html#res.location
- security-advisories@githubhttps://github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2dd
- security-advisories@githubhttps://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94
- security-advisories@githubhttps://github.com/expressjs/express/pull/5539
- security-advisories@githubhttps://github.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vc
- security-advisories@githubhttps://github.com/koajs/koa/issues/1800
- af854a3a-2127-422b-91ae-364da2661108https://expressjs.com/en/4x/api.html#res.location
- af854a3a-2127-422b-91ae-364da2661108https://github.com/expressjs/express/commit/0867302ddbde0e9463d0564fea5861feb708c2dd
- af854a3a-2127-422b-91ae-364da2661108https://github.com/expressjs/express/commit/0b746953c4bd8e377123527db11f9cd866e39f94
- af854a3a-2127-422b-91ae-364da2661108https://github.com/expressjs/express/pull/5539
- af854a3a-2127-422b-91ae-364da2661108https://github.com/expressjs/express/security/advisories/GHSA-rv95-896h-c2vc
- af854a3a-2127-422b-91ae-364da2661108https://github.com/koajs/koa/issues/1800
Vendor Advisories for CVE-2024-29041(11)
These vendors published their own advisory mentioning this CVE — often with vendor-specific remediation steps + affected product lists not in NVD.
- RHSA-2025:8551Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.18 Bug Fix Update
- RHSA-2025:8544Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.15.14 Bug Fix Update
- RHSA-2025:8479Red Hat Product SecurityHigh
Red Hat Security Advisory: RHODF-4.16-RHEL-9 security update
- RHSA-2025:8059Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.17.7 Bug Fix Update
- RHSA-2025:4511Red Hat Product SecurityHigh
Red Hat Security Advisory: RHODF-4.18-RHEL-9 security update
- RHEA-2024:7870Red Hat Product SecurityHigh
Red Hat Enhancement Advisory: Red Hat OpenShift Pipelines Operator Bundle 1.16.0 release
- RHSA-2024:7624Red Hat Product SecurityHigh
Red Hat Security Advisory: Red Hat OpenShift Data Foundation 4.14.11 security and bug fix update
- RHSA-2024:7164Red Hat Product SecurityHigh
Red Hat Security Advisory: Migration Toolkit for Containers (MTC) 1.8.4 security and bug fix update
- +3 more
Patch Availability(12)
| Vendor / Ecosystem | Fixed in / Patch | Released | Source |
|---|---|---|---|
| ubuntu | node-express (4.1.1~dfsg-1ubuntu0.16.04.1~esm1) @ xenial | 2026-05-24 | ubuntu |
| redhat | odf4/odf-multicluster-console-rhel9:v4.14.18-2 | 2025-06-04 | redhat |
| redhat | odf4/odf-multicluster-console-rhel9:v4.15.14-2 | 2025-06-04 | redhat |
| redhat | odf4/odf-multicluster-console-rhel9:v4.16.10-3 | 2025-06-04 | redhat |
| redhat | odf4/odf-multicluster-console-rhel9:v4.17.7-2 | 2025-05-21 | redhat |
| redhat | odf4/odf-multicluster-console-rhel9:v4.18.2-8 | 2025-05-06 | redhat |
| redhat | openshift-pipelines/pipelines-workingdirinit-rhel8:v1.16.0-7 | 2024-10-09 | redhat |
| redhat | odf4/mcg-core-rhel9:v4.14.11-1 | 2024-10-03 | redhat |
| redhat | rhmtc/openshift-migration-ui-rhel8:v1.8.4-10 | 2024-09-26 | redhat |
| redhat | openshift-service-mesh/proxyv2-rhel9:2.6.1-4 | 2024-09-03 | redhat |
| redhat | express | 2024-07-25 | redhat |
| redhat | network-observability/network-observability-rhel9-operator:v1.6.0-66 | 2024-06-17 | redhat |
Patches are aggregated from vendor advisories (Red Hat, Microsoft, Cisco, GitHub) and package ecosystems (OSV, GHSA). Multiple rows for the same upstream release have been deduplicated.
Affected Packages
(1 across 1 ecosystem)
npm(1)
| Package | Vulnerable range | Fixed in | Dependents |
|---|---|---|---|
| express | — | 5.0.0-beta.3 | — |
Weakness Classification(2)
MITRE Common Weakness Enumeration — the root-cause categories this CVE belongs to.
Additional Vendor Advisories
(2)
Vendors that published advisories for this CVE beyond the curated set above. Broader coverage but minimal per-row detail — click through for the original advisory.
Data Freshness Timeline
(refreshed 11× in last 7d / 50× in last 30d)
Each row is a source pipeline that fetched or updated this CVE on that date, with what changed. For example, "NVD update" means NVD published or revised its analysis for this CVE; "MITRE cvelistV5" means we ingested or refreshed it from the CNA feed. Most recent first.
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-11 08:26 UTCEPSS rescore
- 2026-07-09 19:09 UTCEPSS rescore
- 2026-07-08 15:13 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-07 13:45 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 16:26 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-06 02:22 UTCEPSS rescore
- 2026-07-05 02:29 UTCEPSS rescore
- 2026-07-04 06:30 UTCEPSS rescore
- 2026-07-02 17:00 UTCEPSS rescore
- 2026-07-01 15:05 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-30 23:21 UTCEPSS rescore
- 2026-06-29 14:05 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 14:06 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-28 04:55 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-27 03:07 UTCEPSS rescore
- 2026-06-26 17:07 UTCOSV refresh
- 2026-06-25 13:49 UTCEPSS rescore
Show 64 moreShow fewer
- 2026-06-25 13:48 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-24 14:04 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-23 21:32 UTCEPSS rescore
- 2026-06-22 14:25 UTCEPSS rescore
- 2026-06-22 14:24 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 14:55 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-21 01:58 UTCEPSS rescore
- 2026-06-19 19:25 UTCEPSS rescore
- 2026-06-19 19:24 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-18 17:51 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-17 17:52 UTCEPSS rescore
- 2026-06-16 17:52 UTCEPSS rescore
- 2026-06-16 17:51 UTCEPSS rescore
- 2026-06-15 17:47 UTCEPSS rescore
- 2026-06-14 23:16 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-13 22:59 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-12 23:11 UTCEPSS rescore
- 2026-06-11 13:59 UTCEPSS rescore
- 2026-06-10 22:17 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-10 13:21 UTCEPSS rescore
- 2026-06-08 23:55 UTCOSV refresh
- 2026-06-08 14:16 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-07 15:24 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-06 13:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 22:46 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-05 06:09 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-04 13:11 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-02 20:12 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-06-01 13:51 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 22:30 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-31 00:15 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-29 13:43 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-28 13:44 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-27 13:40 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 13:43 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-26 07:18 UTCEPSS rescore
- 2026-05-24 05:56 UTCEG score recompute
- 2026-05-24 05:56 UTCVendor advisory
Frequently asked(5)
What is CVE-2024-29041?
When was CVE-2024-29041 disclosed?
Is CVE-2024-29041 actively exploited?
What is the CVSS score of CVE-2024-29041?
How do I remediate CVE-2024-29041?
Dependency Blast Radius
See which npm, PyPI, Go, and Maven packages are affected by CVE-2024-29041
Is Your Infrastructure Affected by CVE-2024-29041?
EchelonGraph automatically scans your cloud infrastructure and maps CVE exposure using blast radius analysis.