CVE-2026-54335 Feathersjs: Prototype pollution in @feathersjs/commons _.merge via JSON-parsed __proto__
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
Description
Feathersjs is a framework for creating web APIs and real-time applications with TypeScript or JavaScript. In 5.0.44 and earlier, the _.merge(target, source) utility exported by @feathersjs/commons recursively merges source into target by iterating Object.keys(source). When source was produced by JSON.parse and contains a proto, constructor, or prototype key, that key is returned as an own-enumerable property; the recursive merge then resolves target['proto'] to Object.prototype and writes attacker-supplied properties onto it, polluting the prototype for all plain objects in the process for the lifetime of the Node process. This issue is fixed in version 5.0.45.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| feathersjs @feathersjs/commons(npm) | < 5.0.45; <= 5.0.44 | 5.0.45 | Fixed |
| feathersjs feathers | = < 5.0.45 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| feathersjs feathers | = < 5.0.45 | No fix listed |
| feathersjs @feathersjs/commons(npm) | <= 5.0.44 | No fix listed |
| feathersjs @feathersjs/commons(npm) | < 5.0.45 | 5.0.45 |
References
- https://github.com/feathersjs/feathers/security/advisories/GHSA-28xv-ph75-77wh vendor-advisory
- https://github.com/feathersjs/feathers/pull/3690 patch
- https://github.com/feathersjs/feathers/commit/28b3c03c63bdbff53115fdaa46c56980e7942acc patch
- https://github.com/feathersjs/feathers/releases/tag/v5.0.45
- github.com
- github.com product