{"id":"MAL-2026-11004","revision":"c812ca5a765441039ef2213d62febdae","records":[{"revision":"c812ca5a765441039ef2213d62febdae","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"MAL-2026-11004","aliases":[],"title":"Malicious code in n8n-nodes-pwn (npm)","description":"\n---\n_-= Per source details. Do not edit below this line.=-_\n\n## Source: amazon-inspector (ae8222d3f90f4cff83a0840ee03f4b127946274f0215a73eadd6008404a2276e)\nThe package's Pwn.node.js executes malicious code at module load time when n8n loads this community node. It opens a TCP socket to 10.0.0.145:4444 and pipes the socket to a spawned /bin/sh -i, giving a remote party interactive shell control of the installer's host. In parallel, top-level code runs host reconnaissance commands (network interfaces, routes, ARP, /proc/net/tcp, filesystem searches for flag/*.txt), reads /home/node/.n8n/database.sqlite (n8n's encrypted workflow credentials store) filtered for 'flag|password|secret', and reads /home/node/.n8n/config, POSTing the aggregated output to http://10.0.0.145:8000/rce-out3. The hardcoded 10.0.0.145 destination is a private RFC1918 address consistent with a lab/PoC target, but the payload is fully weaponized and would execute against any installer that loads the node.\n","state":0,"publishedAt":"2026-07-22T20:33:47+00:00","modifiedAt":"2026-08-05T14:37:16.7630359+00:00","affected":[{"ecosystem":"npm","name":"n8n-nodes-pwn","ranges":[],"versions":["1.0.6","1.0.5","1.0.8","1.0.7","1.0.0","1.0.2","1.0.1","1.0.4"],"rawVersionEvidence":null}],"metrics":[],"references":["https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.6","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.5","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.8","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.7","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.0","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.2","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.1","https://www.npmjs.com/package/n8n-nodes-pwn/v/1.0.4"],"sourceUrl":"https://osv.dev/vulnerability/MAL-2026-11004","license":"OSV · upstream source license applies","key":"osv:MAL-2026-11004","identifiers":["MAL-2026-11004"]},"retained":false,"historicalAffected":[]}],"coverage":[]}