# CVE-2025-68157: webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects

- Priority: **Routine**
- Reason: Not severe (CVSS 3.7, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-02-05 · Modified: 2026-02-06
- Aliases: UBUNTU-CVE-2025-68157, DEBIAN-CVE-2025-68157, CGA-2984-v7fg-28q4, CGA-2p8g-mwfh-7whw, CGA-2wvc-pq8m-j284, CGA-35cw-jgxc-f7x9, CGA-3c2r-79fv-r483, CGA-56vc-4gv6-cffc, CGA-695x-wpxf-gxm8, CGA-9w3g-hrmv-7723, CGA-9x68-c97p-cpx4, CGA-cc9x-262r-8hx4, CGA-cf8x-rrg7-9w6x, CGA-cr3r-3f5m-qhxf, CGA-g5vq-v4gw-xm25, CGA-gr64-92gm-hfv9, CGA-gwqp-97f9-pcwq, CGA-hm5q-35wc-5qc7, CGA-j37c-wrqh-6g39, CGA-j4m6-v2xx-v44v, CGA-mv2q-ghvx-8fvc, CGA-pw49-qj57-q39p, CGA-qjqm-jv68-893j, CGA-v54j-5r5r-7rxg, CGA-xprg-7454-v5wh, CGA-xprh-wrgq-q252, GHSA-38r7-794h-5758, CGA-2764-wc2h-vrmq, CGA-2fqw-h8mf-cq4q, CGA-2p86-3j49-ch78, CGA-3464-wpm8-xjg6, CGA-37fr-vwv7-j527, CGA-3gvg-hvhr-gw9g, CGA-3mfr-5qx7-vc9g, CGA-3wwr-2j87-9m4f, CGA-3x7x-9w32-rx74, CGA-4282-4jfw-v38j, CGA-4r49-6fp6-q58j, CGA-5gq9-fx7c-pc64, CGA-5q3f-g78m-4c74, CGA-62q7-476q-rw9x, CGA-63vf-7m4f-44pj, CGA-68rf-5m2c-v5mm, CGA-6r65-pq76-8jf4, CGA-72x5-j466-xx3q, CGA-7gc7-w77v-7m8m, CGA-7mxj-28gw-qjqh, CGA-7p65-rxhr-38vx, CGA-7r5p-2h8f-2vfx, CGA-8q8c-xr7w-47gr, CGA-8rpw-jh72-4gx3, CGA-95pq-r6q5-j7mm, CGA-9g5p-9wxg-wv9p, CGA-9mfj-5chv-p34f, CGA-9qph-g9g8-48wx, CGA-9w49-3h23-hj5v, CGA-ch2w-j53c-mpg2, CGA-cpq7-562p-m33v, CGA-cqp4-wpvr-5mvj, CGA-cqr6-f2mp-3799, CGA-f29q-q544-wf84, CGA-f7ch-7vv9-f7p3, CGA-fjhf-ff3x-qwmq, CGA-fjp8-pxr8-4jqq, CGA-g5gm-4h4p-hhqx, CGA-hfcv-j839-phpv, CGA-hwqc-82fq-4j57, CGA-hxw2-g3r4-5j5p, CGA-j4gp-7954-m52q, CGA-j7h8-qrcr-3v32, CGA-jcv8-h2f3-xcwv, CGA-jhhv-w9x8-w949, CGA-m8qh-ccqr-jw2c, CGA-mcpx-xg5x-9p8r, CGA-mmrv-f6vw-7m7r, CGA-mmx4-84wq-p72g, CGA-mv4f-539x-xhhf, CGA-mwc6-f8gj-r8p6, CGA-p47q-wvqp-j6wh, CGA-pf87-2x55-wmw4, CGA-q24q-8hv8-5jq8, CGA-q8f2-jjhg-xxq9, CGA-qrqg-g3vm-phv7, CGA-r597-8x7h-cqx5, CGA-r5rm-xq53-mcvh, CGA-r9fg-p84c-64j8, CGA-vc3w-fcp5-whvj, CGA-vhgg-hmgf-qhh3, CGA-vjhr-2fg5-p4xj, CGA-vmrm-36hv-mc9j, CGA-vpq4-7j3f-xghr, CGA-vwhp-6g7c-6pcf, CGA-xf23-h3mp-8xqh, CGA-xgg4-gr9x-c2mr, CGA-xvq2-p4w7-mgrj, CGA-xvxf-64cm-583r, CGA-xxc9-j646-f56h
- Record: https://cvemate.com/vulnerability/CVE-2025-68157 · JSON: https://cvemate.com/vulnerability/CVE-2025-68157/json

## Description

```text
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.
```

## Signals

- CVSS: 3.7 low (v3.1, CVE.org) CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N
- EPSS: 0.23%, percentile 14.709%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 63)

- chainguard arangodb-3.11 (Chainguard): \< 3.11.14.5-r19
- chainguard arangodb-3.12 (Chainguard): \< 3.12.9.4-r34
- chainguard drupal-11.3 (Chainguard): \< 11.3.13-r3
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): All versions (No fix recorded) \| \< 18.11.13-r0
- chainguard gitlab-rails-ce-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.6 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): \< 19.0.3-r1
- chainguard gitlab-rails-ce-19.1 (Chainguard): \< 19.1.7-r6
- chainguard gitlab-rails-ce-19.2 (Chainguard): \< 19.2.5-r2
- chainguard gitlab-rails-ce-19.3 (Chainguard): \< 19.3.1-r6
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): \< 18.1.6-r15
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): \< 18.10.8-r8
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): \< 18.11.12-r2
- chainguard gitlab-rails-ce-fips-18.5 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.6 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/webpack/webpack/security/advisories/GHSA-38r7-794h-5758>
- <https://ubuntu.com/security/CVE-2025-68157>
- <https://www.cve.org/CVERecord?id=CVE-2025-68157>
- <https://security-tracker.debian.org/tracker/CVE-2025-68157>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/68xxx/CVE-2025-68157.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2025-68157>
- <https://github.com/webpack/webpack>

---

Data as of 2026-12-05T07:24:33.139Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
