CVE-2026-125333: Forge: ReDoS in forge.http response header and cookie trimming
forge.http trims response header and Set-Cookie values with the regular expression /\s*$/, which takes quadratic time on a long run of whitespace followed by another character. A server or on-path attacker can block a forge.http client for minutes with one large response header. Fixed in node-forge 1.4.3.
References
- github.com/advisories/GHSA-6cv4-p8m7-4r25
- github.com/digitalbazaar/forge/commit/326a4d0903ee46358bc849a5c3fd96d9c21489bd
- github.com/digitalbazaar/forge/pull/1169
- github.com/digitalbazaar/forge/releases/tag/v1.4.3
- github.com/digitalbazaar/forge/security/advisories/GHSA-6cv4-p8m7-4r25
- nvd.nist.gov/vuln/detail/CVE-2026-125333
Code Behaviors & Features
Detect and mitigate CVE-2026-125333 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →