
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2025-68157 is an allow-list bypass vulnerability in webpack's buildHttp feature (HttpUriPlugin) that enables Server-Side Request Forgery (SSRF) behavior at build time and untrusted content inclusion in build outputs. It affects webpack versions 5.49.0 through 5.103.x (fixed in 5.104.0) for Node.js. The vulnerability was published on February 5, 2026, with a CVSS v3.1 base score of 3.7 (Low) (Github Advisory, Red Hat Bugzilla).
The root cause (CWE-918: SSRF) lies in webpack's HttpUriPlugin, which enforces the allowedUris allow-list only when metadata is created for the initial request URL (via getInfo()), but does not re-validate the allow-list after following HTTP 30x redirects. An attacker who can influence imported URLs — through source code contributions, dependency manipulation, or configuration changes — and who can cause an allowed endpoint to issue a redirect (e.g., via an open redirect) can point the build process to arbitrary internal or external URLs. The redirected response is then consumed as module source, bundled into the build output, and persisted in the buildHttp cache. A public proof-of-concept demonstrating the bypass using localhost services is included in the official advisory (Github Advisory).
Successful exploitation allows an attacker to trigger network requests from the build machine to internal-only services (SSRF), bundle content from outside the allow-list into build outputs, and persist fetched responses in build artifacts such as the buildHttp cache — increasing the risk of later data exfiltration. If the redirect target is attacker-controlled, attacker-supplied JavaScript can be bundled and subsequently executed when the resulting bundle runs in production, compromising both build integrity and end-user environments. Confidentiality and integrity are both partially impacted; availability is unaffected (Github Advisory).
A public proof-of-concept is available in the official webpack security advisory, demonstrating the SSRF bypass using localhost services. There is no evidence of active in-the-wild exploitation at this time, and no threat actor attribution has been reported. The EPSS score is approximately 0.008% (2nd percentile), indicating a very low probability of near-term exploitation. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog (Github Advisory).
experiments.buildHttp enabled and allowedUris configured as a security boundary.allowedUris allow-list that issues HTTP 30x redirects, or introduce one via a dependency or configuration change.import { secret } from 'http://allowed-host/redirect.js?to=http://internal-service/secret.js').HttpUriPlugin fetches the allowed URL, follows the redirect without re-checking allowedUris, and fetches the internal/attacker-controlled resource.buildHttp cache and lockfile, enabling exfiltration of internal data or injection of attacker-controlled JavaScript into the bundle (Github Advisory).http://127.0.0.1:<port>/) originating from the build process.bundle.js, dist/); unexpected entries in the buildHttp cache directory (e.g., .buildHttp-cache/) or webpack.lock lockfile containing content from non-allow-listed URLs.allowedUris list; webpack build logs referencing redirect chains (HTTP 302 responses) to internal or external hosts.Update webpack to version 5.104.0 or later, which re-validates allowedUris after following HTTP redirects. If an immediate upgrade is not possible, disable experiments.buildHttp entirely if it is not required for the build process. Additionally, restrict source contributions and dependency modifications to trusted parties, and implement network-level controls on build machines to block outbound connections to internal services. Monitor and validate all redirect targets to ensure they remain within the configured security boundary (Github Advisory, Red Hat Bugzilla).
The vulnerability was reported by security researcher HanJeouk and reviewed for remediation by webpack maintainer alexander-akait, with the fix published in webpack 5.104.0 on February 5, 2026. Red Hat tracked the issue as low severity across numerous dependent products. IBM subsequently issued security bulletins for multiple affected products including IBM API Connect, IBM Guardium Data Security Center, IBM watsonx Orchestrate, and IBM Cloud Pak for Data (Github Advisory, Red Hat Bugzilla).
Fix availability across major Linux distributions and their releases.
bookworm
node-webpack
sid
node-webpack: 5.105.4+dfsg1+~cs15.13.23-2
trixie
node-webpack
bionic (esm-apps)
node-webpack
devel
node-webpack
focal (esm-apps)
node-webpack
jammy
node-webpack
jammy (esm-apps)
node-webpack
noble
node-webpack
noble (esm-apps)
node-webpack
resolute
node-webpack
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."