Description
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.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webpack | webpack | >= 5.49.0, < 5.104.0 | — |
Fixed in Linux distributions
Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.
Debian
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Debian 14 | node-webpack | 5.105.4+dfsg1+~cs15.13.23-2 | — |
| Debian 13 | node-webpack | No fix yet | — |
| Debian 12 | node-webpack | No fix yet | — |
Ubuntu
Security tracker ↗| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 26.10 | node-webpack | No fix yet | — |
| Ubuntu 26.04 LTS | node-webpack | No fix yet | — |
| Ubuntu 25.10 | node-webpack | No fix yet | — |
| Ubuntu 24.04 LTS | node-webpack | No fix yet | — |
| Ubuntu 22.04 LTS | node-webpack | No fix yet | — |
Show 2 more (older releases, extended support, other products)Fewer releases
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Ubuntu 20.04 LTS | node-webpack | No fix yet | — |
| Ubuntu 18.04 LTS | node-webpack | No fix yet | — |
Wolfi
| Release | Package | Fixed in | Advisory |
|---|---|---|---|
| Wolfi rolling | katib-earlystopping +8 | 0.19.0-r31 | — |
| Wolfi rolling | katib-suggestion-goptuna-compat | 0.19.0-r40 | — |
| Wolfi rolling | langfuse-3 +1 | 3.155.1-r2 | — |
Affected packages
| Ecosystem | Package | Affected | Fixed | Record |
|---|---|---|---|---|
| npm | webpack | >= 5.49.0, < 5.104.0 | 5.104.0 | GHSA-38r7-794h-5758 |