Description
Webpack is a module bundler. From version 5.49.0 to before 5.104.1, when experiments.buildHttp is enabled, webpack’s HTTP(S) resolver (HttpUriPlugin) can be bypassed to fetch resources from hosts outside allowedUris by using crafted URLs that include userinfo (username:password@host). If allowedUris enforcement relies on a raw string prefix check (e.g., uri.startsWith(allowed)), a URL that looks allow-listed can pass validation while the actual network request is sent to a different authority/host after URL parsing. This is a policy/allow-list bypass that enables build-time SSRF behavior (outbound requests from the build machine to internal-only endpoints, depending on network access) and untrusted content inclusion (the fetched response is treated as module source and bundled). This issue has been patched in version 5.104.1.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| webpack | webpack | >= 5.49.0, < 5.104.1 | — |
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.1 | 5.104.1 | GHSA-8fgc-7cc6-rx7x |