CVE-2026-54737 @phun-ky/defaults-deep Has a Prototype Pollution issue via Unsafe Recursive Property Merging
HighCVSS 7.3
EPSS 0.46%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| phun-ky defaults-deep(npm) | < 2.0.5 | 2.0.5 | Fixed |
| phun-ky defaults-deep | = < 2.0.5 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| phun-ky defaults-deep | = < 2.0.5 | No fix listed |
| phun-ky defaults-deep(npm) | < 2.0.5 | 2.0.5 |
References
- https://github.com/phun-ky/defaults-deep/security/advisories/GHSA-mj3g-7xcc-x4vh vendor-advisory
- https://github.com/phun-ky/defaults-deep/pull/49 patch
- https://github.com/phun-ky/defaults-deep/commit/807dba930f8718f9126cad59d949b8fd3539b059 patch
- https://github.com/phun-ky/defaults-deep/releases/tag/2.0.5
- github.com
- github.com product