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

Exp

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.

Published: 2026-02-05 Last update: 2026-02-13 Assigner: [email protected] Source: [email protected]

Conclusion & alert: CVE-2025-68157 is rated Exploit Available (50/100): CVSS Low severity, with low exploitation likelihood (EPSS 0.01%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.

Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.

Public exploit references (Exploit-DB) for CVE-2025-68157

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-68157

EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).

# Date Old EPSS score New EPSS score Delta (New - Old)
1 2026-02-06 0.01%

Full EPSS history (1 record total)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-68157

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
3.7 3.1 LOW
CVSS:3.1/AV:N/AC:H/PR:L/UI:R/S:U/C:L/I:L/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:H)
Even with access, the exploit needs extra luck, timing, or a fussy environment to actually work.
Privileges required (PR:L)
A normal user session is enough; they don’t have to be admin.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:N)
Service keeps running; no real outage angle.
1.2 2.5 [email protected]

Weakness enumeration for CVE-2025-68157

GitHub Security Advisory for CVE-2025-68157

GHSA-38r7-794h-5758 · Severity: low · Ecosystem: npm — webpack buildHttp HttpUriPlugin allowedUris bypass via HTTP redirects → SSRF + cache persistence

OS Trackers for CVE-2025-68157

vendor priority summary link
debian not yet assigned CVE-2025-68157 not yet assigned priority: Debian including 1 source packages (node-webpack), 5 status rows across 5 suites (bookworm, bullseye, forky, sid, trixie): open 3, resolved 2. https://security-tracker.debian.org/tracker/CVE-2025-68157
redhat low https://access.redhat.com/security/cve/CVE-2025-68157
ubuntu medium CVE-2025-68157 medium priority: Ubuntu including 1 source packages (node-webpack), 6 status rows across 6 suites (bionic, focal, jammy, noble, questing, upstream): needs-triage 6. https://ubuntu.com/security/CVE-2025-68157

Affected software / configurations for CVE-2025-68157

Vendor Product Version Raw CPE
webpack.js webpack >= 5.49.0, < 5.104.0 cpe:2.3:a:webpack.js:webpack:*:*:*:*:*:node.js:*:*

References for CVE-2025-68157

cvelogic Threat Intelligence