CVE-2026-54737
HIGH 7.3CVSS 3.1@phun-ky/defaults-deep Has a Prototype Pollution issue via Unsafe Recursive Property Merging
@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.
- Published
- 31 Jul 2026
- Last modified
- 23 Oct 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-1321
- Also known as
- GHSA-mj3g-7xcc-x4vh
- Sources
- NVDJSONOSV GHSA-mj3g-7xcc-x4vhJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| OSV | GitHub | CVSS 3.1 | HIGH 7.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @phun-ky/defaults-deep | < 2.0.5 | 2.0.5 |
References
- https://github.com/phun-ky/defaults-deep/commit/807dba930f8718f9126cad59d949b8fd3539b059 · WEB
- https://github.com/phun-ky/defaults-deep/pull/49 · WEB
- https://github.com/phun-ky/defaults-deep/releases/tag/2.0.5 · WEB
- https://github.com/phun-ky/defaults-deep/security/advisories/GHSA-mj3g-7xcc-x4vh · WEB
- https://github.com/phun-ky/defaults-deep · PACKAGE
History
- 25 Nov 2026 21:04 UTC · NVD: first stored (published 31 Jul 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 31 Jul 2026)