PoC Monitor
← All CVEs
CVE-2026-100721published 27 Sep 2026 01:28 UTCData: JSON · API

Patriksimek vm2

vm2 before 3.12.2 Authorization Bypass via Custom Resolver

vm2 before 3.12.2 contains an authorization bypass in the NodeVM external-module resolver. When an embedder configures `require.external` with a custom resolver (and `context: 'host'`), `LegacyResolver.customResolve` in lib/resolver-compat.js records the resolved module directory in `this.externals` as `new RegExp('^' + escapeRegExp(resolvedPath))`, without requiring a path separator or end-of-string boundary. Untrusted guest code can therefore require the allowlisted module (e.g. `foo`) and then require the absolute path of a non-allowlisted sibling whose path merely shares the resolved prefix (e.g. `.../node_modules/foo2/index.js`); the sibling passes `isPathAllowedForModule` and is loaded through `hostRequire`, so its top-level code runs in the host process before the exports are wrapped with `vm.readonly`, resulting in a sandbox escape and arbitrary code execution in the host context.

First public PoC 1.3 daysafter publication · 28 Sep 2026
Public PoCs11 on GitHub
CVSS9.5critical · scored by CNA · CWE-863
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record and the vendor's references.

Affected

patriksimek vm2
  • < 3.12.2

Fixed in 3.12.2

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published27 Sep 2026 · t = 0First public PoC28 Sep 2026 · t+1.3d

First public PoC 1.3 days after publication; not in CISA KEV. First PoC: murrez/CVE-2026-100721 (created 28 Sep 2026, found by us: backfilled).

PoC repositories

Found on GitHub.

1 PoCs

PoCs 1
RepositoryCreatedStarsAssessment
murrez/CVE-2026-100721 28 Sep 2026 +1.3 d 0 PoC

Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.

PoC characteristics

What to hunt for in your logs · from 1 PoC repo

GET /api/package.json

PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:63-64

GET /node_modules/vm2/package.json

PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:59-64 murrez/CVE-2026-100721/poc.py:288-301

GET /package-lock.json

PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:61-64

GET /package.json

PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:60-64 murrez/CVE-2026-100721/poc.py:288-301

POST /api/eval

Body markers
"code": evil-left-pad POCBIT-100721-ESCAPED in application/json
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:67-80 murrez/CVE-2026-100721/poc.py:322-351

POST /api/run

Body markers
"code": "script": "source": POCBIT-100721-ESCAPED evil-left-pad left-pad-backdoor evil-lodash in application/json
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:66-80 murrez/CVE-2026-100721/poc.py:322-351 murrez/CVE-2026-100721/poc.py:228-258

POST /api/sandbox/run

Body markers
"code": evil-left-pad in application/json
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:68-80 murrez/CVE-2026-100721/poc.py:322-351

POST /run

Body markers
code= evil-left-pad in application/x-www-form-urlencoded
PoC User-Agent
Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/131.0.0.0 Safari/537.36 PoCbit (+https://pocbit.org)
Seen in
1 repo: murrez/CVE-2026-100721
Evidence
murrez/CVE-2026-100721/poc.py:66-80 murrez/CVE-2026-100721/poc.py:344-351

Regex

Generated from PoC characteristics; not yet reviewed. Matches the request path and query.

GET /api/package.json
(?i)^/api/package\.json(?:[?#].*)?$
GET /node_modules/vm2/package.json
(?i)^/node_modules/vm2/package\.json(?:[?#].*)?$
GET /package-lock.json
(?i)^/package-lock\.json(?:[?#].*)?$
GET /package.json
(?i)^/package\.json(?:[?#].*)?$
POST /api/eval
(?i)^/api/eval(?:[?#].*)?$

Suricata

Template generated from PoC characteristics. Review before deploying.

GET /api/package.json
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-100721 patriksimek vm2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/api/package.json"; reference:url,poc.griffinguard.io/cve/CVE-2026-100721; classtype:web-application-attack; sid:9789934; rev:1;)
GET /node_modules/vm2/package.json
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-100721 patriksimek vm2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/node_modules/vm2/package.json"; reference:url,poc.griffinguard.io/cve/CVE-2026-100721; classtype:web-application-attack; sid:9507852; rev:1;)
GET /package-lock.json
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-100721 patriksimek vm2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/package-lock.json"; reference:url,poc.griffinguard.io/cve/CVE-2026-100721; classtype:web-application-attack; sid:9290389; rev:1;)
GET /package.json
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-100721 patriksimek vm2 exploit attempt"; flow:established,to_server; http.method; content:"GET"; http.uri; content:"/package.json"; reference:url,poc.griffinguard.io/cve/CVE-2026-100721; classtype:web-application-attack; sid:9364371; rev:1;)
POST /api/eval
alert http any any -> $HOME_NET any (msg:"GG PoC-Monitor CVE-2026-100721 patriksimek vm2 exploit attempt"; flow:established,to_server; http.method; content:"POST"; http.uri; content:"/api/eval"; http.request_body; content:"|22|code|22|:"; http.request_body; content:"evil-left-pad"; http.request_body; content:"POCBIT-100721-ESCAPED"; reference:url,poc.griffinguard.io/cve/CVE-2026-100721; classtype:web-application-attack; sid:9059838; rev:1;)

Sigma

Template generated from PoC characteristics. Review before deploying.

GET /api/package.json
title: patriksimek vm2 exploit attempt (CVE-2026-100721)
id: gg-pocmon-cve-2026-100721-9789934
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-100721. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-100721
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/api/package.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.100721
GET /node_modules/vm2/package.json
title: patriksimek vm2 exploit attempt (CVE-2026-100721)
id: gg-pocmon-cve-2026-100721-9507852
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-100721. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-100721
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/node_modules/vm2/package.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.100721
GET /package-lock.json
title: patriksimek vm2 exploit attempt (CVE-2026-100721)
id: gg-pocmon-cve-2026-100721-9290389
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-100721. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-100721
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/package-lock.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.100721
GET /package.json
title: patriksimek vm2 exploit attempt (CVE-2026-100721)
id: gg-pocmon-cve-2026-100721-9364371
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-100721. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-100721
logsource:
  category: webserver
detection:
  selection:
    cs-method: GET
    cs-uri-stem|contains|all:
      - '/package.json'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.100721
POST /api/eval
title: patriksimek vm2 exploit attempt (CVE-2026-100721)
id: gg-pocmon-cve-2026-100721-9059838
status: experimental
description: Request pattern taken from public PoCs for CVE-2026-100721. Generated, not reviewed.
references:
  - https://poc.griffinguard.io/cve/CVE-2026-100721
logsource:
  category: webserver
detection:
  selection:
    cs-method: POST
    cs-uri-stem|contains|all:
      - '/api/eval'
  condition: selection
falsepositives:
  - Authorized vulnerability scanning
level: critical
tags:
  - attack.initial_access
  - attack.t1190
  - cve.2026.100721