Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. @feathersjs/commons
  4. ›
  5. CVE-2026-54335

CVE-2026-54335: Prototype pollution in @feathersjs/commons _.merge via JSON-parsed __proto__

July 14, 2026

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__ (or constructor / prototype) key, that key is returned as an own-enumerable property. The recursive merge then resolves target['__proto__'] to Object.prototype and writes the attacker-supplied properties onto it, polluting the prototype for all plain objects in the process for the lifetime of the Node process.

Scope of real-world risk is limited. No first-party Feathers package routes input — trusted or untrusted — through commons._.merge. The @feathersjs/authentication package, which does merge request-influenced data, uses lodash/merge (prototype-pollution-safe since 4.17.12), not this utility. Exploitation therefore requires a downstream plugin or application to pass JSON-parsed, attacker-controlled input directly through the exported _.merge.

References

  • github.com/advisories/GHSA-28xv-ph75-77wh
  • github.com/feathersjs/feathers/commit/28b3c03c63bdbff53115fdaa46c56980e7942acc
  • github.com/feathersjs/feathers/pull/3690
  • github.com/feathersjs/feathers/releases/tag/v5.0.45
  • github.com/feathersjs/feathers/security/advisories/GHSA-28xv-ph75-77wh
  • nvd.nist.gov/vuln/detail/CVE-2026-54335

Code Behaviors & Features

Detect and mitigate CVE-2026-54335 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 5.0.45

Fixed versions

  • 5.0.45

Solution

Upgrade to version 5.0.45 or above.

Impact 3.7 LOW

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-1321: Improperly Controlled Modification of Object Prototype Attributes ('Prototype Pollution')

Source file

npm/@feathersjs/commons/CVE-2026-54335.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:15:53 +0000.