Logo
-

Byte Open Security

(ByteOS Network)

Log In

Sign Up

ByteOS

Security
Vulnerability Details
Registries
Custom Views
Weaknesses
Attack Patterns
Filters & Tools
NVD Vulnerability Details :
CVE-2026-35209
Analyzed
More InfoOfficial Page
Source-security-advisories@github.com
View Known Exploited Vulnerability (KEV) details
Published At-06 Apr, 2026 | 18:16
Updated At-27 Apr, 2026 | 23:47

defu is software that allows uers to assign default properties recursively. Prior to version 6.1.5, applications that pass unsanitized user input (e.g. parsed JSON request bodies, database records, or config files from untrusted sources) as the first argument to `defu()` are vulnerable to prototype pollution. A crafted payload containing a `__proto__` key can override intended default values in the merged resul. The internal `_defu` function used `Object.assign({}, defaults)` to copy the defaults object. `Object.assign` invokes the `__proto__` setter, which replaces the resulting object's `[[Prototype]]` with attacker-controlled values. Properties inherited from the polluted prototype then bypass the existing `__proto__` key guard in the `for...in` loop and land in the final result. Version 6.1.5 replaces `Object.assign({}, defaults)` with object spread (`{ ...defaults }`), which uses `[[DefineOwnProperty]]` and does not invoke the `__proto__` setter.

CISA Catalog
Date AddedDue DateVulnerability NameRequired Action
N/A
Date Added: N/A
Due Date: N/A
Vulnerability Name: N/A
Required Action: N/A
Metrics
TypeVersionBase scoreBase severityVector
Secondary3.17.5HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Type: Secondary
Version: 3.1
Base score: 7.5
Base severity: HIGH
Vector:
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
CPE Matches

unjs
unjs
>>defu>>Versions before 6.1.5(exclusive)
cpe:2.3:a:unjs:defu:*:*:*:*:*:node.js:*:*
Weaknesses
CWE IDTypeSource
CWE-1321Primarysecurity-advisories@github.com
CWE ID: CWE-1321
Type: Primary
Source: security-advisories@github.com
Evaluator Description

Evaluator Impact

Evaluator Solution

Vendor Statements

References
HyperlinkSourceResource
https://github.com/unjs/defu/commit/3942bfbbcaa72084bd4284846c83bd61ed7c8b29security-advisories@github.com
Patch
https://github.com/unjs/defu/pull/156security-advisories@github.com
Issue Tracking
Patch
https://github.com/unjs/defu/releases/tag/v6.1.5security-advisories@github.com
Release Notes
https://github.com/unjs/defu/security/advisories/GHSA-737v-mqg7-c878security-advisories@github.com
Mitigation
Vendor Advisory
Hyperlink: https://github.com/unjs/defu/commit/3942bfbbcaa72084bd4284846c83bd61ed7c8b29
Source: security-advisories@github.com
Resource:
Patch
Hyperlink: https://github.com/unjs/defu/pull/156
Source: security-advisories@github.com
Resource:
Issue Tracking
Patch
Hyperlink: https://github.com/unjs/defu/releases/tag/v6.1.5
Source: security-advisories@github.com
Resource:
Release Notes
Hyperlink: https://github.com/unjs/defu/security/advisories/GHSA-737v-mqg7-c878
Source: security-advisories@github.com
Resource:
Mitigation
Vendor Advisory
Change History
0Changes found

Details not found