Bump undici from 6.27.0 to 6.28.0
Open
Number: #24
Type: Pull Request
State: Open
Type: Pull Request
State: Open
Author:
dependabot[bot]
Association: Unknown
Comments: 1
Association: Unknown
Comments: 1
Created:
August 05, 2026 at 06:14 PM UTC
(2 days ago)
(2 days ago)
Updated:
August 05, 2026 at 06:14 PM UTC
(2 days ago)
(2 days ago)
Labels:
dependencies javascript
dependencies javascript
Description:
Bumps undici from 6.27.0 to 6.28.0.
Release notes
Sourced from undici's releases.
v6.28.0
⚠️ Security fixes
- GHSA-m8rv-5g2x-5cg5: a malicious
typeproperty on a duck-typed blob-like HTTP/1.1 request body could inject CRLF sequences into the generatedcontent-typeheader. Undici now coerces and validates the value before adding it to the request. Fixed by 740a0b7c.- GHSA-8xcm-r25x-g524: the retry interceptor could expose a stale
Content-Lengthafter resuming a partial response, potentially causing downstream response desynchronization, hangs, or corruption. Undici now rejects partial responses whoseContent-Lengthis inconsistent withContent-Range. Fixed by cba3a52a, with corrected fixtures in 4fd5a0c6.- GHSA-v3r7-h72x-cjcm: unsanitized
domainandunparsedvalues passed tosetCookie()could inject cookie attributes. Undici now validates cookie domains, paths, and unparsed attributes more strictly. Fixed by af748404.GHSA-4cwx-7wf7-3272 and GHSA-jr45-8vmc-qm54 affect the cache interceptor in Undici v7 and v8; Undici v6 is not in their affected version ranges.
Full Changelog: https://github.com/nodejs/undici/compare/v6.27.0...v6.28.0
Commits
01a912eBumped v6.28.0 (#5591)481ecfcUse Node 22 and npm 11 to release740a0b7fix: validate blob body content type2698e49fix: validate coerced header values for CRLF (#5579)4fd5a0ctest(retry): correct broken content-range fixtures in retry-handler.jscba3a52fix(retry): reject partial content length mismatchaf74840fix: harden cookie domain, path, and unparsed attribute validation- See full diff in compare view
Dependabot will resolve any conflicts with this PR as long as you don't alter it yourself. You can also trigger a rebase manually by commenting @dependabot rebase.
Dependabot commands and options
You can trigger Dependabot actions by commenting on this PR:
@dependabot rebasewill rebase this PR@dependabot recreatewill recreate this PR, overwriting any edits that have been made to it@dependabot show <dependency name> ignore conditionswill show all of the ignore conditions of the specified dependency@dependabot ignore this major versionwill close this PR and stop Dependabot creating any more for this major version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this minor versionwill close this PR and stop Dependabot creating any more for this minor version (unless you reopen the PR or upgrade to it yourself)@dependabot ignore this dependencywill close this PR and stop Dependabot creating any more for this dependency (unless you reopen the PR or upgrade to it yourself)
You can disable automated security fix PRs for this repo from the Security Alerts page.
Package Dependencies
Security Advisories
undici vulnerable to CRLF Injection via blob-like body 'type' property
GHSA-m8rv-5g2x-5cg5
CVE-2026-15157
MODERATE
### Impact
When an application passes a duck-typed blob-like body to undici's HTTP/1.1 dispatcher (via `request()`, `stream()`, `pipeline()`, or `dispatch()`) with a `.type` derived from untrusted...
undici vulnerable to cross-user information disclosure via whitespace around equals in Cache-Control directives
GHSA-jr45-8vmc-qm54
CVE-2026-14643
MODERATE
## Impact
Undici's cache interceptor mishandles optional whitespace (OWS) placed around the `=` of a qualified `no-cache` or `private` Cache-Control directive, such as `no-cache ="authorization"` ...
undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields
GHSA-v3r7-h72x-cjcm
CVE-2026-16729
MODERATE
## Impact
The `setCookie` function has two attribute injection paths. `validateCookieDomain` does not reject semicolons (`validateCookiePath` already does at 0x3B), so a `domain` value like `examp...
undici vulnerable to downstream response desynchronization via retry interceptor
GHSA-8xcm-r25x-g524
CVE-2026-16728
MODERATE
### Impact
Undici's `interceptors.retry()` can deliver a response whose body length does not match the `Content-Length` header exposed to the application after a retry or resume of a partial respo...
undici vulnerable to cross-user information disclosure and parse-time crash via degenerate private cache directives
GHSA-4cwx-7wf7-3272
CVE-2026-13697
HIGH
### Summary
Two issues in undici's cache interceptor, both fixed by the same patch on `lib/util/cache.js`:
1. **Shared-cache disclosure:** Responses with malformed qualified `Cache-Control: priva...
Technical Details
| ID: | 16146010 |
| UUID: | 5073898949 |
| Node ID: | PR_kwDOQVUMdM77N_t1 |
| Host: | GitHub |
| Repository: | 666amost/ERP-DRT |