Build-time SSRF via unchecked redirect destinations
Published Feb 5, 2026 · Updated Feb 5, 2026
SSRF in webpack 5.49.0 through 5.103.0 allows attackers to send build-machine requests to disallowed URLs via HTTP redirects. HttpUriPlugin checks allowedUris only for the initial import URL, then follows a 30x Location value without validating the redirect target before fetching and bundling its response. Exploitation requires experiments.buildHttp, attacker influence over an imported URL, and an allowed endpoint that redirects; it exposes build-network resources and can insert untrusted module content.
Summary
What happened
SSRF in webpack 5.49.0 through 5.103.0 allows attackers to send build-machine requests to disallowed URLs via HTTP redirects. HttpUriPlugin checks allowedUris only for the initial import URL, then follows a 30x Location value without validating the redirect target before fetching and bundling its response. Exploitation requires experiments.buildHttp, attacker influence over an imported URL, and an allowed endpoint that redirects; it exposes build-network resources and can insert untrusted module content.
The record
- CVE
- CVE-2025-68157
- Published
- Feb 5, 2026
- Updated
- Feb 5, 2026
- Vendor
- webpack
- Product
- webpack
- Classifications
- CWE-918, T1204.002
- Attack vector
- network
- Privileges
- authenticated
Timeline
How it unfolded
- Feb 5, 2026CVE publishedPublication date reported by the CVE source.
- Feb 5, 2026Record updatedLatest update available in the CVE record.
Exploitability
Present is not the same as exploitable
Compare your product and version with the public record. A matching version still requires validation against your environment.
Is a vulnerable build present?
Compare these published version ranges with your installed build and any vendor patches.
- Affected versionversion=>= 5.49.0, < 5.104.0
What conditions does exploitation require?
What is affected?
Published CVSS scores
CVSS describes severity. EPSS estimates exploitation probability.
Attacks
What attackers are doing with it
Daily unique IPs observed by Shadowserver honeypots for known exploited vulnerabilities (KEVs). Missing observations do not establish an absence of attacks.
Public exploit references
- GHSA-38r7-794h-5758 localhost SSRF proof of conceptproof of concept · demonstrated
Labels summarize the accepted research assessment. They do not indicate a test against your environment.
Technologies
Your stack
See the directory against your own environment.
Your stack
Check the software in your environment
Book a demo to see how Hinoki identifies affected software and validates exploitability in your environment.
Book a demo