GHSA-6fvh-fgmg-3x7v

Suggest an improvement
Source
https://github.com/advisories/GHSA-6fvh-fgmg-3x7v
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-6fvh-fgmg-3x7v/GHSA-6fvh-fgmg-3x7v.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6fvh-fgmg-3x7v
Withdrawn
2026-10-01T15:37:00Z
Published
2026-09-17T15:32:16Z
Modified
2026-10-01T15:45:05Z
Severity
  • 9.9 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H CVSS Calculator
  • 9.4 (Critical) CVSS_V4 - 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X CVSS Calculator
Summary
Duplicate Advisory: vm2 Custom Module Resolver Can Bypass the External Package Allowlist by Loading a Colliding Host Package
Details

Duplicate Advisory

This advisory has been withdrawn because it is a duplicate of GHSA-c48m-32m9-vx93. This link is maintained to preserve external references.

Original 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.

Database specific
{
    "cwe_ids": [
        "CWE-706"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-10-01T15:37:00Z",
    "nvd_published_at": "2026-09-17T14:18:00Z",
    "severity": "CRITICAL"
}
References

Affected packages

npm / vm2

Package

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
3.11.6

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/09/GHSA-6fvh-fgmg-3x7v/GHSA-6fvh-fgmg-3x7v.json"