CVE-2025-68157 json
webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects
published 2026-02-05 9 mo ago modified 2026-09-10 1 mo ago also EUVD-2025-206880 , GHSA-38r7-794h-5758
- cvss
- 3.7
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.2%
- EPSS 0.2% chance of exploitation in 30 days, percentile 13%
- public exploits
- 0
- none known
Summary
Webpack is a module bundler. From version 5.49.0 to before 5.104.0, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) enforces allowedUris only for the initial URL, but does not re-validate allowedUris after following HTTP 30x redirects. As a result, an import that appears restricted to a trusted allow-list can be redirected to HTTP(S) URLs outside the allow-list. This is a policy/allow-list bypass that enables build-time SSRF behavior (requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion in build outputs (redirected content is treated as module source and bundled). This issue has been patched in version 5.104.0.
Patch / fix
- npm webpack 5.104.0
- webpack.js webpack 5.104.0
- node-webpack Debian 14 5.105.4+dfsg1+~cs15.13.23-2
debian advisories DEBIAN-CVE-2025-68157
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68157 updated cvss 3.7
webpack: webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects
-
Red Hat Cryostat 4 io.cryostat-cryostat Red Hat Gatekeeper 3 gatekeeper/gatekeeper-rhel9 Red Hat Logging Subsystem for Red Hat OpenShift openshift-logging/kibana6-rhel8, openshift-logging/elasticsearch6-rhel9, openshift-logging/logging-curator5-rhel9, openshift-logging/elasticsearch-proxy-rhel9, openshift-logging/logging-view-plugin-rhel9, openshift-logging/elasticsearch-rhel9-operator, +1 more Red Hat Network Observability Operator network-observability/network-observability-console-plugin-compat-rhel9 Red Hat Node HealthCheck Operator workload-availability/node-remediation-console-rhel9, workload-availability/node-healthcheck-rhel9-operator, workload-availability/node-healthcheck-operator-bundle, workload-availability/node-healthcheck-must-gather-rhel9 Red Hat OpenShift Lightspeed openshift-lightspeed/lightspeed-console-plugin-pf5-rhel9affected: workaround, no fix available “Fix deferred”
+12 more productsfewer
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-hub-ui-rhel8, openshift-pipelines/pipelines-hub-ui-rhel9, openshift-pipelines/pipelines-hub-api-rhel8, openshift-pipelines/pipelines-console-plugin-rhel8, openshift-pipelines/pipelines-console-plugin-rhel9, openshift-pipelines/pipelines-hub-db-migration-rhel8 Red Hat OpenShift Service Mesh 2 openshift-service-mesh/kiali-rhel8, openshift-service-mesh/kiali-ossmc-rhel8 Red Hat OpenShift Service Mesh 3 openshift-service-mesh/kiali-rhel9, openshift-service-mesh/kiali-ossmc-rhel9, openshift-service-mesh/kiali-rhel9-operator, openshift-service-mesh/kiali-operator-bundle Red Hat 3scale API Management Platform 2 3scale-amp20/system, 3scale-amp21/system, 3scale-amp22/system, 3scale-amp24/system, 3scale-amp25/system, 3scale-amp26/system, +3 more Red Hat Advanced Cluster Security 4 advanced-cluster-security/rhacs-main-rhel8 Red Hat Ansible Automation Platform 2 automation-gateway, automation-controller, automation-platform-ui, automation-eda-controller, ansible-automation-platform-24/lightspeed-rhel8, ansible-automation-platform-25/lightspeed-rhel8, +1 more Red Hat build of Apache Camel - HawtIO 4 io.hawt-project Red Hat build of Apicurio Registry 2 io.apicurio-apicurio-registry Red Hat build of OptaPlanner 8 org.optaweb.vehiclerouting-optaweb-vehicle-routing Red Hat Data Grid 8 org.infinispan-infinispan-console Red Hat Developer Hub 1 rhdh/rhdh-hub-rhel9 Red Hat Edge Manager 1 rhem/flightctl-ui-rhel9, rhem/flightctl-ui-ocp-rhel9 -
Red Hat Enterprise Linux 8 pcs, grafana, mozjs60, pcs-snmp, grafana-pcp, grafana-loki, +13 moreaffected: workaround, no fix available, no fix planned “Out of support scope”
-
Red Hat Enterprise Linux 9 gjs, pcs, polkit, grafana, pcs-snmp, polkit-libs, +2 more Red Hat Enterprise Linux 10 pcs, grafana, js-d3-flame-graph Red Hat Enterprise Linux AI (RHEL AI) 3 rhelai3/bootc-cuda-rhel9, rhelai3/disk-image-cuda-rhel9 Red Hat Fuse 7 io.apicurio-apicurito, io.syndesis-syndesis-parent Red Hat JBoss Enterprise Application Platform 8 io.smallrye-smallrye-open-api-parent Red Hat JBoss Enterprise Application Platform Expansion Pack io.smallrye-smallrye-open-api-parentaffected: workaround, no fix available “Fix deferred”
+11 more productsfewer
Red Hat OpenShift AI (RHOAI) rhoai/odh-dashboard-rhel8, rhoai/odh-dashboard-rhel9, rhoai/odh-mod-arch-gen-ai-rhel9, rhoai/odh-mod-arch-model-registry-rhel9 Red Hat OpenShift Container Platform 4 openshift4/ose-monitoring-plugin-rhel8, openshift4/ose-monitoring-plugin-rhel9 Red Hat OpenShift Dev Spaces devspaces/code-rhel9, devspaces/openvsx-rhel9, devspaces/code-sshd-rhel9, devspaces/dashboard-rhel9, devspaces/machineexec-rhel9 Red Hat OpenShift GitOps openshift-gitops-1/argocd-rhel8, openshift-gitops-1/argocd-rhel9, openshift-gitops-1/console-plugin-rhel8 Red Hat Process Automation 7 org.uberfire-uberfire-parent, org.kie.workbench-kie-wb-common, org.kie-process-migration-service Red Hat Quay 3 quay/quay-rhel8 Red Hat Satellite 6 nodejs-webpack, satellite/iop-vulnerability-frontend-rhel9, satellite/iop-host-inventory-frontend-rhel9 Red Hat Trusted Artifact Signer rhtas/rekor-search-ui-rhel9 Red Hat Self-service automation portal 2 ansible-automation-platform/automation-portal Red Hat streams for Apache Kafka 2 com.github.streamshub-console Red Hat streams for Apache Kafka 3 com.github.streamshub-console -
Red Hat Openshift Data Foundation 4.16 odf4/cephcsi-rhel9 1791969746, odf4/odf-cli-rhel9 1791966130, odf4/mcg-core-rhel9 1791967127, odf4/odf-console-rhel9 1791966989, odf4/mcg-rhel9-operator 1791970996, odf4/ocs-rhel9-operator 1791968560, +12 morefixed: vendor fix RHSA-2026:83619
-
Red Hat Openshift Data Foundation 4.17 odf4/cephcsi-rhel9 1791966003, odf4/odf-cli-rhel9 1791888742, odf4/mcg-core-rhel9 1791889616, odf4/odf-console-rhel9 1791887928, odf4/mcg-rhel9-operator 1791889753, odf4/ocs-rhel9-operator 1791960285, +13 morefixed: vendor fix RHSA-2026:83622
-
Red Hat Openshift Data Foundation 4.18 odf4/cephcsi-rhel9 1783676191, odf4/odf-cli-rhel9 1784094299, odf4/mcg-core-rhel9 1784094353, odf4/odf-console-rhel9 1784094725, odf4/mcg-rhel9-operator 1784093953, odf4/ocs-rhel9-operator 1783676675, +13 morefixed: vendor fix RHSA-2026:41941
-
Red Hat Openshift Data Foundation 4.19 odf4/cephcsi-rhel9 1783684360, odf4/odf-cli-rhel9 1784054873, odf4/mcg-core-rhel9 1784054582, odf4/odf-console-rhel9 1784055589, odf4/mcg-rhel9-operator 1784054606, odf4/ocs-rhel9-operator 1783684667, +14 morefixed: vendor fix RHSA-2026:41944
1 more fixed, 5 more not affected in the full advisory
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9 mo ago
Exploit prediction
0.23% chance of exploitation in the next 30 days, higher than 13% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- github.com https://github.com/webpack/webpack/security/advisories/GHSA-38r7-794h-5758 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
| GitHub | 3.1 | 3.7 | CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | webpack | >=5.49.0, <5.104.0 |
5.104.0 |
Affected products
- webpack webpack
Classification
- Weakness
-
- CWE-918 Server-Side Request Forgery
References
-
github.com
/webpack/webpack/security/advisories/GHSA-38r7-794h-5758
web, exploit, vendor-advisory
-
nvd.nist.gov
/vuln/detail/CVE-2025-68157
advisory
-
github.com
/webpack/webpack
package
Sources
- CVE List CVE-2025-68157
- GitHub Advisory GHSA-38r7-794h-5758
- NVD CVE-2025-68157
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.