CVE-2026-54737: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in phun-ky defaults-deep
@phun-ky/defaults-deep is a library like lodash defaultsDeep with array preservation and no lodash dependency. Prior to 2.0.5, defaultsDeep() recursively merges user-supplied objects without filtering proto, constructor, and prototype, allowing properties to be written to Object.prototype. This issue is fixed in version 2.0.5.
AI Analysis
Technical Summary
CVE-2026-54737 describes a prototype pollution vulnerability in the phun-ky defaults-deep library before version 2.0.5. The vulnerability arises because the defaultsDeep() function merges objects recursively without filtering keys such as proto, constructor, and prototype, enabling modification of Object.prototype. This can lead to improper control over object prototype attributes, classified under CWE-1321. The vulnerability has a CVSS 3.1 base score of 7.3, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. The issue is resolved in version 2.0.5.
Potential Impact
An attacker can exploit this vulnerability remotely without authentication or user interaction to modify Object.prototype. This can result in data corruption, application logic manipulation, or denial of service, impacting confidentiality, integrity, and availability of affected systems using vulnerable versions of the library.
Mitigation Recommendations
Upgrade to phun-ky defaults-deep version 2.0.5 or later, where the vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating the fix in 2.0.5. No other mitigation is specified.
CVE-2026-54737: CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution') in phun-ky defaults-deep
Description
@phun-ky/defaults-deep is a library like lodash defaultsDeep with array preservation and no lodash dependency. Prior to 2.0.5, defaultsDeep() recursively merges user-supplied objects without filtering proto, constructor, and prototype, allowing properties to be written to Object.prototype. This issue is fixed in version 2.0.5.
CVSS v3.1
Score 7.3high
Affected software
phun-ky
defaults-deep
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
CVE-2026-54737 describes a prototype pollution vulnerability in the phun-ky defaults-deep library before version 2.0.5. The vulnerability arises because the defaultsDeep() function merges objects recursively without filtering keys such as proto, constructor, and prototype, enabling modification of Object.prototype. This can lead to improper control over object prototype attributes, classified under CWE-1321. The vulnerability has a CVSS 3.1 base score of 7.3, indicating high severity with network attack vector, low attack complexity, no privileges or user interaction required, and impacts on confidentiality, integrity, and availability. The issue is resolved in version 2.0.5.
Potential Impact
An attacker can exploit this vulnerability remotely without authentication or user interaction to modify Object.prototype. This can result in data corruption, application logic manipulation, or denial of service, impacting confidentiality, integrity, and availability of affected systems using vulnerable versions of the library.
Mitigation Recommendations
Upgrade to phun-ky defaults-deep version 2.0.5 or later, where the vulnerability is fixed. Patch status is confirmed by the vendor advisory indicating the fix in 2.0.5. No other mitigation is specified.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-06-15T23:07:33.233Z
- Cvss Version
- 3.1
- State
- PUBLISHED
Threat ID: 6a6cf74bbf32cb7a3429480d
Added to database: 07/31/2026, 19:28:11 UTC
Last enriched: 07/31/2026, 19:34:50 UTC
Last updated: 09/10/2026, 19:56:41 UTC
Views: 39
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.