{"answers":{"affected":"6 open source packages ship an affected version, including undici. It affects 1 product.","exploited":"There is no known exploitation of CVE-2026-16729 in the wild and no public exploit code.","fix":"Upgrade undici to a fixed version for your release line: 6.28.0, 7.29.0 or 8.9.0.","what":"CVE-2026-16729 is a medium-severity vulnerability in Nodejs Undici, published on 29 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-16729 and fix it if it is affected.\n\nWhat it is: CVE-2026-16729 is a medium-severity vulnerability in Nodejs Undici, published on 29 Jul 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-16729 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- undici (npm): affected all versions; fixed in 6.28.0\n- undici (npm): affected all versions; fixed in 6.28.0\n- undici (npm): affected from 7.0.0; fixed in 7.29.0\n- undici (npm): affected from 7.0.0; fixed in 7.29.0\n- undici (npm): affected from 8.0.0; fixed in 8.9.0\n- undici (npm): affected from 8.0.0; fixed in 8.9.0\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-16729/ (Markdown: https://insights.sbomify.com/CVE-2026-16729/index.md)","id":"CVE-2026-16729","markdown":"https://insights.sbomify.com/CVE-2026-16729/index.md","name":"CVE-2026-16729","record":{"aliases":["AZL-94443","CLEANSTART-2026-IF82432","CLEANSTART-2026-RE18150","CLEANSTART-2026-US73537","DEBIAN-CVE-2026-16729","ECHO-3d78-4b3b-0a59","GHSA-v3r7-h72x-cjcm","MINI-2c6p-w4vj-xj79","MINI-2g9m-qjw8-wp74","MINI-2r6m-w99v-rqv3","MINI-3h3r-68fg-m67h","MINI-538r-8v25-8m25","MINI-87g3-96gw-6w6w","MINI-9j8w-w73g-xqqw","MINI-9jm3-fm5c-vw96","MINI-9p64-fh6f-x6jc","MINI-c4pp-hf8h-p2fh","MINI-cc73-mqxr-fv6c","MINI-cfv7-4g7c-rcpp","MINI-fqxg-8gx5-whgp","MINI-g4mw-56hq-7vfx","MINI-h2p3-2jmx-m3g4","MINI-h738-c7jc-ww8g","MINI-hm87-m86f-p9m7","MINI-j38m-hj5w-x8j3","MINI-jm7m-p48p-xjvh","MINI-m6h4-ffrw-mxj2","MINI-mxw6-8j28-5v8r","MINI-v68q-hxm5-px57","MINI-ww4v-6656-47w2","MINI-x3vg-hgmq-3gvf","ROOT-APP-NPM-CVE-2026-16729","UBUNTU-CVE-2026-16729"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Node.js HTTP client","requires_auth":"none","summary":"Attackers can inject cookie attributes to bypass CSRF protections or override security flags in applications using the undici library.","user_interaction":"not_required","vuln_class":"security_feature_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"openjs","cpe":[{"product":"undici","vendor":"nodejs"}],"cvss":{"score":4.8,"severity":"medium","source":"cna","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N","version":"3.1"},"cwes":[{"id":"CWE-74","name":"Improper Neutralization of Special Elements in Output Used by a Downstream Component"}],"description":"undici's setCookie function does not fully sanitize cookie attributes. In undici before 6.28.0, from 7.0.0 up to before 7.29.0, and from 8.0.0 up to before 8.9.0, a domain value is not checked for semicolons and entries in the unparsed array are not sanitized, so attacker-influenced input can inject additional cookie attributes. For example, a domain value containing a semicolon can append attributes such as SameSite, and an unparsed entry can inject attributes such as HttpOnly, without the caller setting them. Applications that pass user-controlled input to these fields, such as multi-tenant or reverse-proxy servers that scope session cookies to a tenant-supplied domain, can have SameSite CSRF protections bypassed, or the Secure, HttpOnly, and SameSite attributes forced, stripped, or overridden. The issue is fixed in undici 6.28.0, 7.29.0, and 8.9.0.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"undici vulnerable to cookie attribute injection via unsanitized domain and unparsed setCookie fields","id":"CVE-2026-16729","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":"nodejs:undici","products":["nodejs:undici"],"type":"security_feature_bypass","year":"2026"},"n_packages":6,"n_references":2,"next":{"headline":"Dbus-broker: dbus-broker: session bus denial of service via emfile during peer setup","id":"CVE-2026-16730"},"packages":[{"ecosystem":"npm","fixed":["6.28.0"],"introduced":["0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-v3r7-h72x-cjcm"},{"ecosystem":"npm","fixed":["6.28.0"],"introduced":["0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-v3r7-h72x-cjcm"},{"ecosystem":"npm","fixed":["7.29.0"],"introduced":["7.0.0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-v3r7-h72x-cjcm"},{"ecosystem":"npm","fixed":["7.29.0"],"introduced":["7.0.0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-v3r7-h72x-cjcm"},{"ecosystem":"npm","fixed":["8.9.0"],"introduced":["8.0.0"],"last_affected":[],"package":"undici","purl":null,"source":"GHSA-v3r7-h72x-cjcm"},{"ecosystem":"npm","fixed":["8.9.0"],"introduced":["8.0.0"],"last_affected":[],"package":"undici","purl":"pkg:npm/undici","source":"GHSA-v3r7-h72x-cjcm"}],"prev":{"headline":"undici vulnerable to downstream response desynchronization via retry interceptor","id":"CVE-2026-16728"},"products":["undici"],"published":"2026-07-29","related":[{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to Denial of Service via failed HTTP/2 handshake","id":"CVE-2026-109855","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via unhandled error on excessive content-encodings","id":"CVE-2026-109869","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via TLS 1.2 certificate-changing renegotiation","id":"CVE-2026-87018","kev_date_added":null,"published":"2026-10-15"},{"cvss_score":7.5,"headline":"undici vulnerable to Denial of Service via unrequested WebSocket subprotocol","id":"CVE-2026-19534","kev_date_added":null,"published":"2026-09-04"},{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to denial of service via fragment count bypass","id":"CVE-2026-12151","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"undici vulnerable to cross-origin request routing via SOCKS5 proxy pool reuse","id":"CVE-2026-6734","kev_date_added":null,"published":"2026-06-17"},{"cvss_score":7.5,"headline":"undici WebSocket client vulnerable to denial of service via cumulative fragment bypass","id":"CVE-2026-9675","kev_date_added":null,"published":"2026-06-17"}],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-07-29","vendors":["undici"]},"summary":"Attackers can inject cookie attributes to bypass CSRF protections or override security flags in applications using the undici library.","url":"https://insights.sbomify.com/CVE-2026-16729/"}