CVE-2026-136921: nconf through 1.0.0-beta.2 Prototype Pollution via Memory#merge
nconf through 1.0.0-beta.2 contains a prototype pollution vulnerability in the Memory store merge() function in lib/nconf/stores/memory.js that lacks proto key rejection. Attackers controlling merge keys like 'proto:isAdmin' or nested proto properties can inject properties into Object.prototype, altering application logic or causing errors.
Affected Software
Event History
Frequently Asked Questions
What conditions are required to exploit this issue?
An attacker must be able to control keys passed to the nconf Memory store merge() function. Exploitation uses keys such as "__proto__:isAdmin" or nested __proto__ properties to modify Object.prototype.
Are applications affected by default?
The provided information identifies the vulnerable Memory store merge() behavior but does not establish whether an application exposes attacker-controlled merge keys in its default configuration. Exposure depends on whether untrusted input can reach merge().
What can be done if upgrading is not immediately possible?
Prevent untrusted input from being used as merge keys, and reject __proto__ keys, including nested __proto__ properties, before invoking the Memory store merge() function.
How can I determine whether my application is exposed?
Review uses of nconf's Memory store merge() function and trace the source of supplied keys. The application is exposed if external or otherwise untrusted data can provide __proto__-based keys to merge().