PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-35209 Unjs CVE debrief

CVE-2026-35209 is a high-severity vulnerability in Unjs Defu, a software that allows users to assign default properties recursively. The vulnerability, caused by a flawed use of Object.assign, allows attackers to pollute the prototype of objects, potentially leading to security issues. The vulnerability was patched in version 6.1.5. The internal _defu function used Object.assign({}, defaults) to copy the defaults object. This method invokes the __proto__ setter, allowing an attacker to override intended default values with malicious ones.

Vendor
Unjs
Product
Defu
CVSS
HIGH 7.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-04-06
Original CVE updated
2026-07-21
Advisory published
2026-04-06
Advisory updated
2026-07-21

Who should care

Developers and administrators using Unjs Defu in their applications should be aware of this vulnerability and take steps to mitigate it. This includes updating to version 6.1.5 or later, and being cautious when passing unsanitized user input to the defu function. Affected operators, platforms, and security teams should review the vulnerability and implement necessary controls.

Technical summary

The vulnerability in Unjs Defu arises from the use of Object.assign to copy default values. This method invokes the __proto__ setter, allowing an attacker to override intended default values with malicious ones. By including a __proto__ key in a crafted payload, an attacker can pollute the prototype of objects, leading to potential security issues. The fix in version 6.1.5 replaces Object.assign with object spread ({ ...defaults }), which uses [[DefineOwnProperty]] and does not invoke the __proto__ setter.

Defensive priority

High

Recommended defensive actions

  • Update to version 6.1.5 or later
  • Be cautious when passing unsanitized user input to the defu function
  • Monitor for suspicious activity
  • Implement compensating controls
  • Perform inventory checks
  • Review the supplied official advisory or CVE record to validate affected scope, severity, and vendor guidance
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record was published on 2026-04-06T18:16:44.157Z and was last modified on 2026-07-21T19:10:00.107Z. The NVD entry is currently Analyzed. The vulnerability affects Unjs Defu, a software that allows users to assign default properties recursively. The internal _defu function used Object.assign({}, defaults) to copy the defaults object, which invokes the __proto__ setter, allowing an attacker to override intended default values with malicious ones.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-35209 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-35209

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-35209 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-35209

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.