
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-2265 is an unauthenticated remote code execution (RCE) vulnerability in the Replicator npm package (version 1.0.5 and earlier) caused by unsafe deserialization of untrusted user input. The vulnerability was discovered by researcher MorielHarush and disclosed on April 1, 2026, with a corresponding GitHub Advisory (GHSA-2gmp-34j9-fqjm) published the same day. All versions of the replicator npm package up to and including 1.0.5 are affected; no patched version has been officially released as of the advisory date. It carries a CVSS v3.1 base score of 6.5 (Medium) (Github Advisory).
The root cause is CWE-502 (Deserialization of Untrusted Data): the replicator package's decode() function processes serialized JavaScript objects — including complex types like Error, Function, Map, and Set — without validating or sanitizing the input. An attacker can craft a malicious serialized payload that, when decoded, reconstructs a callable Function object from attacker-controlled data and invokes it, achieving arbitrary code execution. A public PoC was shared in the fix pull request, demonstrating exploitation via a crafted JSON string: replicator.decode('[{"@t":"[[Error]]","data":{"name":"Function","message":"require(\'child_process\').exec(\'open -a Calculator\')"}}}]')(), which spawns a system process (Github PR #19, Github Advisory). No authentication or special privileges are required; exploitation only requires that attacker-controlled data reaches a call to replicator.decode() (Github Advisory).
Successful exploitation allows an unauthenticated remote attacker to execute arbitrary operating system commands in the context of the Node.js process running the vulnerable application. This can result in full system compromise, unauthorized data access (confidentiality impact), data manipulation (integrity impact), lateral movement within the network, and potential deployment of malware or backdoors. Availability is not directly impacted per the CVSS scoring, but secondary effects such as service disruption from attacker actions remain a risk (Github Advisory, Feedly).
A functional proof-of-concept payload is publicly available in the GitHub pull request submitted by the vulnerability discoverer, demonstrating code execution via child_process.exec() (Github PR #19). However, there is no evidence of active in-the-wild exploitation or inclusion in exploit kits at this time, and the vulnerability has not been added to the CISA Known Exploited Vulnerabilities (KEV) catalog. The EPSS score is approximately 0.081–0.122%, placing it in the lower percentiles for near-term exploitation likelihood (Github Advisory). No specific threat actor attribution has been reported.
replicator npm package (version ≤ 1.0.5) and expose an endpoint that passes user-controlled input to replicator.decode() — for example, via HTTP request body, query parameters, or WebSocket messages.[[Error]] type tag to inject a Function constructor with a malicious command as the message body, e.g.:[{"@t":"[[Error]]","data":{"name":"Function","message":"require('child_process').exec('id > /tmp/pwned')"}}]replicator.decode().decode() function reconstructs the Function object from the attacker-supplied name and message fields; calling the returned function (or relying on application logic to invoke it) executes the embedded OS command on the server.@t, [[Error]], or Function type markers in body or parameters."@t":"[[Error]]" or "name":"Function" patterns; Node.js error logs referencing unexpected child_process or exec calls./tmp/) by the Node.js process; new scripts, cron jobs, or SSH authorized keys added by the application service account.sh, bash, curl, wget, python) that are not part of normal application behavior (Github PR #19).No officially patched version of the replicator npm package has been released as of the advisory date; the GitHub Advisory lists affected versions as ≤ 1.0.5 with no patched version available (Github Advisory). Organizations should immediately audit all applications for use of the replicator package and, where possible, replace it with a safer serialization alternative or implement strict input validation before passing any user-controlled data to replicator.decode(). As an interim measure, restrict network access to affected application endpoints to trusted sources only, and monitor application logs for suspicious serialized payloads.
The vulnerability was reported by researcher MorielHarush, who submitted a pull request to the replicator repository with a fix and a working PoC, and published a detailed write-up on their blog (Github PR #19). Red Hat acknowledged the CVE in their security advisory tracker (Red Hat CVE). Community reaction has been limited given the relatively low popularity of the package (25 stars on GitHub); no significant media coverage or broader security community discussion has been observed.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."