---
id: CVE-2026-92945
title: >-
  vm2 before 3.11.7 contains a module allowlist bypass vulnerability in
  isPathAllowedForModule that uses raw string prefix matching instead of
  boundary-anchored comparison
summary: >-
  vm2 before 3.11.7 contains a module allowlist bypass vulnerability in
  isPathAllowedForModule that uses raw string prefix matching instead of
  boundary-anchored comparison. Attackers can reach non-allowlisted packages
  sharing a prefix with…
severity: medium
cvss: 4.2
cvssVector: 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'
cwe:
  - CWE-22
  - CWE-1025
vendor: patriksimek
product: vm2
affected:
  - vm2 < 3.11.7
published: '2026-09-17'
updated: '2026-09-17'
sourceUpdated: '2026-09-17T15:17:00.783'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92945'
references:
  - url: 'https://github.com/patriksimek/vm2/security/advisories/GHSA-7q3f-wx44-378m'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/vm2-before-3.11.7-module-allowlist-bypass-via-prefix-matching
    label: disclosure@vulncheck.com
  - url: >-
      https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92945.json
  - url: 'https://access.redhat.com/security/cve/CVE-2026-92945'
  - url: 'https://www.cve.org/CVERecord?id=CVE-2026-92945'
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-92945'
  - url: 'https://bugzilla.redhat.com/show_bug.cgi?id=2536029'
tags:
  - nvd
  - cve.org
  - csaf
  - vex
  - red-hat
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-17T14:25:03.800396Z'
ingestedAt: '2026-09-17T14:19:30.986Z'
epss: 0.00214
epssPercentile: 0.12075
---

## Overview

vm2 before 3.11.7 contains a module allowlist bypass vulnerability in isPathAllowedForModule that uses raw string prefix matching instead of boundary-anchored comparison. Attackers can reach non-allowlisted packages sharing a prefix with allowlisted modules by performing relative requires from allowlisted packages when transitive loading is disabled.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Vendor advisories

- **Red Hat VEX** · Moderate · affected: Red Hat Developer Hub, Self-service automation portal 2 · no fix planned: Red Hat Developer Hub, Self-service automation portal 2 · updated 2026-09-18 · [vex](https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-92945.json)
