CVE-2026-92951

vm2 before 3.11.7 Module Allowlist Bypass via Custom Resolver

Published Sep 17, 2026 CVSS 4.0 · 9.4 Critical EPSS < 1% KEV · Not listed
Description
vm2 before 3.11.7 contains an incorrect authorization vulnerability in the external package allowlist check that uses non-exact substring matching instead of full package-name boundary validation. Attackers can bypass the allowlist by requiring a colliding package name that contains an allowlisted package substring, causing vm2 to load and execute unauthorized host packages in the host context.

Analysis

AI-generated

Technical impact

The vulnerability is an incorrect authorization flaw in vm2’s external package allowlist. The check uses non-exact substring matching instead of full package-name boundary validation, allowing an attacker to supply a colliding package name that contains an allowlisted substring. This lets the attacker cause vm2 to load and execute an unauthorized host package in the host context, providing unrestricted execution of arbitrary code.

Affected Systems

All releases of vm2 managed by patriksimek prior to version 3.11.7 are vulnerable. The impacted component is the module allowlist. Upgrading to version 3.11.7, the first non‑vulnerable release, mitigates the issue.

Risk and Exploitability

The CVSS score is 9.4, indicating critical severity. The EPSS score is not available, so the current exploitation probability is unknown; the vulnerability has not been listed in CISA KEV. Based on the description, the attack vector likely requires an attacker to influence the package resolver that vm2 uses to resolve a specially crafted package name containing an allowlisted substring. Once resolved, vm2 will load that package and execute it with host process privileges, effectively giving the attacker full host compromise.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade vm2 to version 3.11.7 or later.
  • If an upgrade cannot be performed immediately, disable or restrict the use of custom resolvers until the patched version is available.
  • Ensure that the module allowlist enforces exact package-name matches and remove any substring-based validation logic.
  • Audit the dependency resolution process for suspicious or unsigned packages and monitor for unauthorized load attempts.

Generated by OpenCVE AI on September 17, 2026 at 23:37 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-c48m-32m9-vx93 vm2 Custom Module Resolver Can Bypass the External Package Allowlist by Loading a Colliding Host Package
History
Type Values Removed Values Added
First Time appeared Patriksimek
Patriksimek vm2
Vendors & Products Patriksimek
Patriksimek vm2
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description vm2 before 3.11.7 contains an incorrect authorization vulnerability in the external package allowlist check that uses non-exact substring matching instead of full package-name boundary validation. Attackers can bypass the allowlist by requiring a colliding package name that contains an allowlisted package substring, causing vm2 to load and execute unauthorized host packages in the host context.
Title vm2 before 3.11.7 Module Allowlist Bypass via Custom Resolver
Weaknesses CWE-706
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}

cvssV4_0

{'score': 9.4, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H'}

Weaknesses
  • CWE-706

    Use of Incorrectly-Resolved Name or Reference

Sources

Status
PUBLISHED
Assigner
VulnCheck
Published
Updated
Sep 17, 2026, 7:20 PM
Reserved
Sep 17, 2026, 12:43 PM
Status
Deferred
Published
Sep 17, 2026, 2:18 PM
Modified
Sep 17, 2026, 8:18 PM