← Search CVEs

CVE-2026-112942

HIGH 7.5

Published 2026-10-20 · Last modified 2026-10-21

launch-editor allows users to open files with line numbers in editor from Node.js. Prior to 2.14.2, launch-editor-middleware processes an attacker-controlled Windows file argument where the file argument ends in a parent-directory component plus a line-and-column suffix: the path is resolved while the suffix is still present, and launch-editor removes the suffix before its existsSync check, leaving the existing parent directory for existsSync and allowing the attacker-controlled file argument to pass filename existence validation without requiring the malicious filename to exist. The bypass can lead to OS command injection when combined with the separately described Windows percent-expansion flaw. This issue is fixed in version 2.14.2.

ELEVATED IMPACT

Severe if exploited (CVSS 7.5), but no known exploitation and low modeled probability. Patch on a normal cadence.

Exploitation likelihood

1.3%chance of exploitation in 30 days · 71st percentile

○ In CISA KEV ○ Catalogued PoC

Impact if exploited

7.5CVSS 4.0 · HIGH

  • ConfidentialityHigh
  • IntegrityHigh
  • AvailabilityHigh

What an attacker needs

  • ✓Access: Reachable over the network — no local access needed
  • ✓Privileges: No account or privileges required
  • ⚠User interaction: Requires active user interaction
  • ✓Complexity: No special conditions — reliably repeatable
  • ⚠Requirements: Specific conditions must be present

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors Vitejs

Products Launch Editor Vite Vite Plus

Weakness (CWE)

  • CWE-77: : Improper Neutralization of Special Elements used in a Command ('Command Injection')

CVSS vector

CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

References and research data (JSON)

Packages and version ranges

Each advisory describes its own package and affected ranges. A boundary applies to that range; it is not a universal upgrade recommendation.

  • launch-editor npm

    pkg:npm/launch-editor

    SEMVER range
    • All earlier versions (introduced 0)
    • Fixed boundary (excluded): 2.14.2
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 2.14.1",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z
  • vite npm

    pkg:npm/vite

    SEMVER range
    • Introduced version (included): 8.3.0
    • Fixed boundary (excluded): 8.3.3
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 8.3.2",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z
  • vite npm

    pkg:npm/vite

    SEMVER range
    • Introduced version (included): 8.2.0
    • Fixed boundary (excluded): 8.2.4
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 8.2.3",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z
  • vite npm

    pkg:npm/vite

    SEMVER range
    • Introduced version (included): 8.0.0
    • Fixed boundary (excluded): 8.1.6
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 8.1.5",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z
  • vite npm

    pkg:npm/vite

    SEMVER range
    • Introduced version (included): 7.0.0
    • Fixed boundary (excluded): 7.3.7
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 7.3.6",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z
  • vite npm

    pkg:npm/vite

    SEMVER range
    • All earlier versions (introduced 0)
    • Fixed boundary (excluded): 6.4.4
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 6.4.3",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z
  • vite-plus npm

    pkg:npm/vite-plus

    SEMVER range
    • All earlier versions (introduced 0)
    • Fixed boundary (excluded): 1.1.0
    Additional upstream package constraints
    {
      "database": {
        "last_known_affected_version_range": "<= 1.0.0",
        "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-587h-7wmj-h5pm/GHSA-587h-7wmj-h5pm.json"
      }
    }
    GitHub Advisory Database · GHSA-587h-7wmj-h5pm · Updated 2026-10-20T20:00:04.608979840Z

Vendor product assessments

  • grafana13.1.src as a component of Red Hat Hardened Images · known not affected

    Vendor assessment for this product only.

    Reason: component not present

    pkg:rpm/redhat/[email protected]?arch=src

    Red Hat · CVE-2026-112942 · Updated 2026-10-20T21:30:53+00:00
  • grafana13.2.src as a component of Red Hat Hardened Images · known not affected

    Vendor assessment for this product only.

    Reason: component not present

    pkg:rpm/redhat/[email protected]?arch=src

    Red Hat · CVE-2026-112942 · Updated 2026-10-20T21:30:53+00:00
  • prometheus3.13.src as a component of Red Hat Hardened Images · known not affected

    Vendor assessment for this product only.

    Reason: component not present

    pkg:rpm/redhat/[email protected]?arch=src

    Red Hat · CVE-2026-112942 · Updated 2026-10-20T21:30:53+00:00

All CVSS metrics

  • HIGH 7.5 v4.0 · CNA Primary
    CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
  • HIGH 7.5 v4.0 · NVD Secondary
    CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/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

References

Advisories

Technical & other

Sources: NVD · CVE.org · EPSS