CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-137199

CVE-2026-137199: OS Command Injection in cross-spawn on Windows via Batch File Argument Escaping Bypass

Alon Barad
Alon Barad
Software Engineer

Dec 1, 2026·15 min read·4 visits

Executive Summary (TL;DR)

Windows applications using cross-spawn (< 6.0.7 or >= 7.0.0, < 7.1.0) to execute batch files (.bat, .cmd) with untrusted arguments are vulnerable to arbitrary OS command injection due to secondary cmd.exe parsing, path canonicalization quirks, variable expansion, and newline injection. Upgrade to cross-spawn 6.0.7 or 7.1.0.

CVE-2026-137199 (GHSA-ghv9-86vm-4v8m) is a critical OS command injection vulnerability in the Node.js cross-spawn library affecting versions prior to 6.0.7 and 7.1.0 on Windows. The vulnerability stems from incomplete metacharacter escaping when routing batch scripts (.bat and .cmd) outside of node_modules/.bin through cmd.exe, alongside flaws in file extension canonicalization, environment variable expansion, and line break handling. Attackers who control arguments passed to batch scripts can break out of argument quoting and execute arbitrary system commands.

Vulnerability Overview

The cross-spawn package is a foundational utility in the Node.js ecosystem designed to normalize discrepancies between POSIX and Microsoft Windows process execution models when using Node's native child_process.spawn and child_process.spawnSync functions. Unlike POSIX platforms, which pass arguments directly to binaries as an array of null-terminated strings via execve syscalls, Windows utilizes the CreateProcessW API, which accepts a single monolithic command-line string. Furthermore, non-PE files on Windows—specifically .bat and .cmd batch scripts, including package manager shims—cannot be executed directly by CreateProcessW and must be routed through the Windows command interpreter (cmd.exe).

To allow developers to execute batch scripts transparently without explicitly setting options.shell, cross-spawn automatically detects non-binary commands on Windows, constructs an escaped command string, and invokes cmd.exe /d /s /c. CVE-2026-137199 (also tracked as GHSA-ghv9-86vm-4v8m) is an OS Command Injection vulnerability (CWE-78) residing in cross-spawn's command detection and argument escaping engine (lib/parse.js and lib/util/escape.js). The flaw affects all 6.x versions prior to 6.0.7 and all 7.x versions prior to 7.1.0.

In vulnerable versions, cross-spawn failed to account for how cmd.exe performs a secondary parsing pass whenever a batch script outside of node_modules/.bin accesses or forwards its arguments (such as via %* or %1). Because cross-spawn restricted its secondary escaping logic solely to local node_modules/.bin/*.cmd shims, arguments passed to global package shims, npm.cmd, or custom .bat/.cmd scripts only underwent a single layer of caret (^) escaping. When cmd.exe parsed the batch script's internal argument references, the outer carets had already been consumed, allowing embedded double quotes and shell metacharacters (&, |, >) to break out of the argument context and execute arbitrary operating system commands.

Beyond the secondary parsing flaw, CVE-2026-137199 encompasses three additional distinct bypass vectors in cross-spawn's escaping design. First, attackers or applications invoking commands with trailing dots or spaces (e.g., script.bat ) bypassed batch-file regular expression matching due to Win32 path canonicalization rules. Second, environment variables enclosed in percent signs (%VAR%) or exclamation marks (!VAR!) could still be expanded by cmd.exe under specific environment or registry conditions. Third, literal carriage return (\r) and line feed (\n) characters were not rejected, allowing attackers to inject raw newline command separators directly into cmd.exe.

Root Cause Analysis

The primary root cause of CVE-2026-137199 lies in the architectural mismatch between Microsoft C Runtime (MSVCRT) argument parsing rules and the multi-pass lexical parser of cmd.exe, a vulnerability class broadly documented under the "BatBadBut" research (CVE-2024-24576). Standard Windows PE executables parse their monolithic command-line string according to MSVCRT CommandLineToArgvW rules, where arguments are wrapped in double quotes ("..."), literal double quotes are escaped with backslashes (\"), and backslashes immediately preceding a double quote are doubled. However, cmd.exe does not understand backslash-escaped quotes (\"); instead, cmd.exe toggles its internal quote state every time it encounters an unescaped " character and uses the caret (^) as its general escape character outside of quotes.

When cross-spawn routes a command through cmd.exe, the command string is evaluated in two distinct stages if the target is a batch script:

  1. Outer Shell Invocation Pass: cmd.exe /d /s /c "..." strips the outermost quotes and parses the command string. Any unquoted caret escapes (^) are consumed during this pass to literalize metacharacters before passing the arguments into the batch interpreter.
  2. Batch Parameter Expansion Pass: Inside the batch script, when the script references positional parameters (%1, %2) or forwards all parameters to a child binary (@node "%~dp0\script.js" %*), cmd.exe expands the parameter macro as a raw string substitution and parses the resulting line a second time.

In vulnerable versions of cross-spawn, the argument escaper (escapeArgument in lib/util/escape.js) converted interior quotes to \", wrapped the argument in "...", and then applied a regex replacement /([()\][%!^"<>&|;, ?])/g to prefix metacharacters (including the newly added quotes) with a caret (^). When needsDoubleEscapeMetaCharswasfalse—which was the case for every batch script not matching /node_modules[\/].bin[\/][^\/]+.cmd$/i—only a single caret was inserted (e.g., ^"). During Pass 1, cmd.execonsumed the single caret. During Pass 2, when the batch file expanded%1or%, cmd.exeencountered". Because cmd.exetreats` as a literal character rather than an escape character, the " immediately closed the opening argument quote, leaving subsequent characters like &calc completely unquoted and active as shell command separators.

[!NOTE] Even when double-caret escaping was applied for node_modules/.bin shims, relying on carets remained brittle because caret consumption depends heavily on the exact number of parsing passes performed by the batch script and whether characters reside inside or outside cmd.exe's active quote state.

The second root cause involves improper path normalization during file extension checks, mirroring the Node.js core vulnerability CVE-2024-36138. The Win32 file namespace silently strips trailing periods (.) and spaces ( ) when resolving file paths on disk, meaning cmd.exe resolves foo.bat. or foo.bat to foo.bat. Because cross-spawn tested file paths against /\.(?:bat|cmd)$/i without first stripping trailing dots and spaces, paths containing these trailing characters failed batch detection and received inadequate escaping.

The third and fourth root causes stem from incomplete handling of cmd.exe variable expansion and control characters:

  • Caret-Suffixed Variable Expansion: Escaping %VAR% as ^%VAR^% does not prevent variable expansion in cmd.exe if an environment variable literally named VAR^ exists in the process environment block. Furthermore, if DelayedExpansion is enabled in the Windows Registry (HKLM\Software\Microsoft\Command Processor\DelayedExpansion), !VAR! expressions are evaluated after initial parsing.
  • Unescapable Line Breaks: cmd.exe interprets both \r (CR) and \n (LF) as immediate command terminators. Unlike metacharacters such as & or |, line break characters cannot be neutralized by carets or double quotes in cmd.exe. Passing an argument containing \n forces cmd.exe to execute the subsequent line as an independent shell command.

Code Analysis

The remediation in commits 244ffeaa8473de0080c93ebbf779bb953b94114b (v7.1.0) and 1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a (v6.0.7) overhauls both the batch detection logic in lib/parse.js and the argument escaping engine in lib/util/escape.js.

In lib/parse.js, the narrow isCmdShimRegExp check was removed and replaced with a comprehensive isBatchFile helper function. This function strips all trailing dots and spaces via trailingDotsAndSpacesRegExp = /[. ]+$/ before checking for .bat or .cmd extensions. If initial path resolution failed because of trailing characters, isBatchFile re-runs resolveCommand on the stripped command name to ensure batch scripts without explicit extensions in the caller string (e.g., 'foo ' resolving to 'foo.bat') are accurately identified.

// lib/parse.js - Patched batch file detection and cmd.exe flag hardening
const isBatchFileRegExp = /\.(?:bat|cmd)$/i;
// Windows strips trailing dots and spaces from file names, so `cmd.exe` runs `foo.bat ` as `foo.bat`
const trailingDotsAndSpacesRegExp = /[. ]+$/;
 
function isBatchFile(parsed, commandFile) {
    if (commandFile) {
        // Strip trailing dots/spaces before checking .bat/.cmd extension
        return isBatchFileRegExp.test(commandFile.replace(trailingDotsAndSpacesRegExp, ''));
    }
 
    // Re-attempt command resolution after stripping trailing dots/spaces
    const command = parsed.command.replace(trailingDotsAndSpacesRegExp, '');
    const file = command !== parsed.command ? resolveCommand(Object.assign({}, parsed, { command })) : null;
 
    return isBatchFileRegExp.test(file || command);
}

Additionally, inside parseNonShell in lib/parse.js, the flags passed to cmd.exe were modified from ['/d', '/s', '/c', ...] to ['/d', '/e:on', '/v:off', '/s', '/c', ...]. Passing /e:on explicitly enables Command Extensions (required for the substring variable neutralization technique described below), while /v:off explicitly disables Delayed Environment Variable Expansion regardless of the host system's Windows Registry settings, preventing !VAR! evaluation.

In lib/util/escape.js, the maintainers replaced regex-based backslash doubling and caret double-escaping with a linear-time character scanner (quoteArgument) and a dedicated batch escaping pipeline (escapeBatchCommand and escapeBatchArgument). Instead of escaping metacharacters with ^ and inner quotes with \", escapeBatchArgument wraps the argument in double quotes and escapes inner double quotes by doubling them ("").

// lib/util/escape.js - Vulnerable implementation (Prior to 6.0.7 / 7.1.0)
const metaCharsRegExp = /([()\][%!^"`<>&|;, *?])/g;
 
function escapeArgument(arg, doubleEscapeMetaChars) {
    arg = `${arg}`;
    arg = arg.replace(/(?=(\\+?)?)\1"/g, '$1$1\\"');
    arg = arg.replace(/(?=(\\+?)?)\1$/g, '$1$1');
    arg = `"${arg}"`;
    arg = arg.replace(metaCharsRegExp, '^$1');
    if (doubleEscapeMetaChars) {
        arg = arg.replace(metaCharsRegExp, '^$1');
    }
    return arg;
}

Compare the legacy implementation above with the patched implementation in lib/util/escape.js:

// lib/util/escape.js - Patched implementation (6.0.7 / 7.1.0)
const metaCharsRegExp = /([()\][!^"`<>&|;, *?])/g;
const lineBreakRegExp = /[\r\n]/;
 
function assertNoLineBreaks(arg) {
    if (lineBreakRegExp.test(arg)) {
        // Reject CR and LF immediately as cmd.exe cannot escape them
        throw new TypeError('The command and its arguments cannot contain line breaks when executed through cmd.exe');
    }
}
 
function escapePercent(arg) {
    // Neutralize %VAR% expansion using an empty dynamic substring of %cd%
    return arg.replace(/%/g, '%%cd:~,%');
}
 
function quoteArgument(arg, escapedQuote) {
    let quoted = '"';
    let backslashes = 0;
 
    for (const char of arg) {
        if (char === '\\') {
            backslashes += 1;
            continue;
        }
        if (char === '"') {
            // Double preceding backslashes and append the target escapedQuote ('\"' or '""')
            quoted += '\\'.repeat(backslashes * 2) + escapedQuote;
        } else {
            quoted += '\\'.repeat(backslashes) + char;
        }
        backslashes = 0;
    }
    // Double trailing backslashes before closing quote
    return `${quoted}${'\\'.repeat(backslashes * 2)}"`;
}
 
function escapeBatchArgument(arg) {
    arg = `${arg}`;
    assertNoLineBreaks(arg);
    // Doubling inner quotes ('""') keeps cmd.exe quoting balanced across passes
    // and satisfies MSVCRT CommandLineToArgvW parsing in downstream binaries
    return escapePercent(quoteArgument(arg, '""'));
}

The patched escapeBatchArgument mechanism solves the dual-parser dilemma without carets. When cmd.exe sees "" inside a quoted string, it immediately exits and re-enters quote mode, ensuring that shell metacharacters like & or | remain continuously inside double quotes during both the initial cmd.exe /c pass and the batch script's %* or %1 expansion pass. Furthermore, when the batch script forwards %* to an MSVCRT-compiled executable (like node.exe), the MSVCRT parser interprets "" inside a quoted argument as a single literal " character. Finally, escapePercent replaces every % with %%cd:~,%—an empty zero-length substring slice of the built-in %cd% dynamic variable—which breaks up %VAR% tokens without inserting visible characters.

Exploitation Methodology

Exploiting CVE-2026-137199 requires three prerequisites: the target Node.js application must be running on Microsoft Windows (process.platform === 'win32'), it must use cross-spawn (< 6.0.7 or >= 7.0.0, < 7.1.0) to invoke a non-binary command or batch script, and an attacker must control at least part of an argument passed into the args array (or the command path itself for extension bypasses).

Scenario 1: Quote Breakout via Batch Parameter Expansion (%1 or %*)

The most direct exploitation vector targets any .bat or .cmd script outside of node_modules/.bin/—such as globally installed CLI tools, system-wide npm.cmd, yarn.cmd, or custom application batch wrappers—that references %1 or forwards arguments via %*.

Consider a target batch script echo-forward.bat that proxies arguments to a Node.js script:

@node "%~dp0\echo.js" %*

Or a batch script test.cmd that reads a positional parameter:

@echo off
echo %1

If a Node.js application passes an attacker-controlled string into cross-spawn:

const spawn = require('cross-spawn');
 
// Payload designed to close the opening quote and chain an arbitrary command
const untrustedInput = '"&calc';
spawn.sync('test.cmd', [untrustedInput]);

When cross-spawn processes ['"&calc'] for test.cmd:

  1. isCmdShimRegExp.test('test.cmd') evaluates to false because the path is not inside node_modules/.bin/.
  2. escapeArgument('"&calc', false) first escapes the internal quote with a backslash (\"&calc), wraps the string in quotes ("\"&calc"), and applies a single caret to metacharacters: ^"\^"^&calc^".
  3. cross-spawn invokes cmd.exe /d /s /c ""test.cmd" ^"\^"^&calc^"".
  4. During Pass 1, cmd.exe strips the outer /c quotes, consumes the carets (^), and invokes test.cmd with the raw argument token "\"&calc".
  5. During Pass 2, inside test.cmd, the statement echo %1 expands to echo "\"&calc". Because cmd.exe does not treat \ as an escape character for ", the first " opens a quoted string ("\) and the second " immediately closes it. The following &calc is now outside of quotes, causing cmd.exe to execute calc.exe.

Scenario 2: Trailing Dot and Space Bypass

If an application invokes a batch file located inside node_modules/.bin/ (which normally received double-caret escaping in vulnerable versions) or validates extensions before spawning, an attacker who can append a trailing space or dot to the command name can bypass detection:

const spawn = require('cross-spawn');
 
// Trailing space or dot causes regex checks to fail while Windows still executes script.bat
spawn.sync('node_modules/.bin/shim.cmd ', ['" & calc.exe & "']);
spawn.sync('script.bat.', ['" & calc.exe & "']);

Scenario 3: Line Break Command Separation

Even if a target command does not perform a secondary parse, or even if double-caret escaping is active (including on node_modules/.bin/ shims), an attacker can inject a literal line feed (\n) or carriage return (\r) into any argument routed through cmd.exe:

const spawn = require('cross-spawn');
 
// The newline forces cmd.exe to terminate the first command and execute the second line
spawn.sync('test.cmd', ['benign_arg\ncalc.exe']);

Because cmd.exe treats \r and \n as uninhibited command separators even when preceded by carets or enclosed in double quotes, calc.exe executes immediately after test.cmd completes.

Impact Assessment

Successful exploitation of CVE-2026-137199 grants the attacker arbitrary OS command execution with the privileges of the running Node.js process. In server-side environments (such as web APIs, CI/CD runners, build servers, or developer tooling services that invoke CLI utilities via cross-spawn), this results in full compromise of the host application context, allowing unauthorized data access, file system modification, lateral movement, or service disruption.

The vulnerability is rated 9.2 (Critical) under CVSS v4.0 (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N). The breakdown of the vector reflects the exact technical conditions required for exploitation:

  • Attack Vector (AV:N) & Privileges Required (PR:N): The flaw can be triggered remotely over a network without authentication if a public-facing Node.js endpoint passes user input as arguments to a spawned command.
  • Attack Complexity (AC:H) & Attack Requirements (AT:P): Exploitation is platform-dependent (strictly limited to Microsoft Windows) and requires the application to spawn a command that routes through cmd.exe (such as a .bat or .cmd file, or a shebang script).
  • Vulnerable System Impact (VC:H/VI:H/VA:H): Arbitrary command execution compromises the confidentiality, integrity, and availability of the host environment running the Node.js process.

> [!NOTE] > Applications running on Linux, macOS, or other POSIX operating systems are not affected by CVE-2026-137199, as parseNonShell returns early when process.platform !== 'win32'. Similarly, callers that explicitly set options.shell: true are outside the scope of this vulnerability because options.shell intentionally disables argument escaping by design.

Because cross-spawn is one of the most heavily depended-upon process execution wrappers in the npm ecosystem (transitively included by testing frameworks, build tools, CLI orchestrators, and desktop Electron applications), the downstream exposure surface on Windows workstations and Windows Server deployments is substantial.

Remediation & Fix Completeness Analysis

Patching Guidance

To remediate CVE-2026-137199, organizations and developers must upgrade cross-spawn to a patched release:

  • For projects on the 7.x release line: Upgrade to cross-spawn@7.1.0 or later.
  • For projects on the 6.x release line (or older): Upgrade to cross-spawn@6.0.7 or later.

Because cross-spawn is frequently pulled in as a transitive dependency rather than a direct dependency, developers should inspect their dependency trees and enforce resolution overrides in package.json if upstream packages have not yet bumped their version constraints:

{
  "overrides": {
    "cross-spawn": "^7.1.0"
  },
  "resolutions": {
    "cross-spawn": "^7.1.0"
  }
}

After updating lockfiles, verify that no vulnerable versions remain installed by running npm ls cross-spawn, yarn why cross-spawn, or pnpm why cross-spawn.

Assessment of Fix Completeness & Residual Windows Limitations

The patch introduced in versions 6.0.7 and 7.1.0 completely resolves the flaws within cross-spawn's boundary for standard batch shims (such as those using %* or "%~1" to forward arguments to MSVCRT-compliant executables). By rejecting \r and \n with a TypeError, forcing /e:on and /v:off on cmd.exe, neutralizing % via %%cd:~,%, stripping trailing dots and spaces, and replacing caret escaping with "" quote doubling, cross-spawn prevents quote breakout across cmd.exe's initial and secondary parsing passes.

However, security engineers must be aware of inherent architectural limitations in Windows cmd.exe that no caller-side escaping library can prevent. As explicitly noted in the patch documentation and security advisory, residual command injection or argument splitting risks remain if a target batch file performs specific internal operations:

  1. Unquoted %~1 Expansion: If a custom batch file explicitly strips surrounding quotes using the tilde modifier (%~1) without re-quoting the expansion (e.g., echo %~1 or set VAR=%~1), the protective outer quotes added by cross-spawn are removed by the batch author, exposing internal metacharacters during that line's execution.
  2. Internal call or setlocal EnableDelayedExpansion: If the target batch file invokes the call builtin on its arguments (which triggers a third cmd.exe parsing pass) or explicitly runs setlocal EnableDelayedExpansion inside the script (overriding the command-line /v:off flag), !VAR! expansion and imbalanced quote states can re-emerge.
  3. WorstFit ANSI Code Page Collisions: If a downstream program converts Unicode arguments to a legacy Windows ANSI code page using best-fit character mapping, fullwidth Unicode quotation marks (", U+FF02) can be translated into standard ASCII quotes (", 0x22) after cross-spawn has escaped the string.
  4. Non-MSVCRT Downstream Parsers: Executables that do not follow standard MSVCRT CommandLineToArgvW rules for doubled quotes ("") may split arguments unexpectedly, though this results in argument injection rather than cmd.exe shell execution.

Consequently, where possible on Windows, applications handling untrusted input should invoke compiled binary executables (.exe) directly (e.g., spawn(process.execPath, ['path/to/cli.js', untrustedArg])) rather than routing untrusted arguments through .bat or .cmd wrapper scripts.

Official Patches

GitHub / moxystudioOfficial GitHub Security Advisory for CVE-2026-137199 (GHSA-ghv9-86vm-4v8m)
moxystudiocross-spawn v7.1.0 Release Notes
moxystudiocross-spawn v6.0.7 Release Notes

Fix Analysis (2)

Technical Appendix

CVSS Score
9.2/ 10
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected Systems

moxystudio/node-cross-spawn (npm package: cross-spawn) on Microsoft Windows

Affected Versions Detail

Product
Affected Versions
Fixed Version
cross-spawn
moxystudio
< 6.0.76.0.7
cross-spawn
moxystudio
>= 7.0.0, < 7.1.07.1.0
AttributeDetail
CVE / GHSA IDCVE-2026-137199 / GHSA-ghv9-86vm-4v8m
Weakness ClassCWE-78: OS Command Injection
CVSS v4.0 Score9.2 Critical (CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N)
Affected PlatformMicrosoft Windows (win32)
Affected Versionscross-spawn < 6.0.7 and >= 7.0.0, < 7.1.0
Patched Versionscross-spawn 6.0.7 and 7.1.0
Exploit MaturityProof-of-Concept (PoC) Publicly Available
CISA KEV StatusNot Listed

MITRE ATT&CK Mapping

T1059.003Command and Scripting Interpreter: Windows Command Shell
Execution
CWE-78
Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

The software constructs an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component.

Known Exploits & Detection

GitHubPublic issue demonstrating proof-of-concept command injection on Windows via spawn.sync('test.cmd', ['"&calc']).

Vulnerability Timeline

BatBadBut research (CVE-2024-24576) publicly disclosed detailing Windows batch file argument injection mechanics.
2024-04-09
Issue #171 opened in moxystudio/node-cross-spawn demonstrating command injection via batch script argument handling.
2024-04-10
Fix commits authored to overhaul cmd.exe batch escaping, trailing dot/space handling, percent neutralization, and newline rejection.
2026-11-01
Patched versions cross-spawn v6.0.7 and v7.1.0 released.
2026-11-28
CVE-2026-137199 and GitHub Security Advisory GHSA-ghv9-86vm-4v8m officially published.
2026-11-30

References & Sources

  • [1]GitHub Security Advisory GHSA-ghv9-86vm-4v8m
  • [2]Fix Commit for cross-spawn v7.1.0 (244ffeaa8473de0080c93ebbf779bb953b94114b)
  • [3]Fix Commit for cross-spawn v6.0.7 (1b71aa519a2e4f97d1f3ee27f0e2fc24ba17cf1a)
  • [4]GitHub Issue #171: Command injection on Windows when spawning batch files
  • [5]GitHub Pull Request #191
  • [6]GitHub Pull Request #192
  • [7]cross-spawn v7.1.0 Release Tag
  • [8]cross-spawn v6.0.7 Release Tag
  • [9]CVE.org Record: CVE-2026-137199
  • [10]NVD Vulnerability Detail: CVE-2026-137199
  • [11]CVEList V5 JSON Record for CVE-2026-137199
Related Vulnerabilities
CVE-2024-24576CVE-2024-36138

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•17 minutes ago•CVE-2026-137200
7.5

CVE-2026-137200: Denial of Service via Unhandled Upgrade Error in Engine.IO

An uncaught exception vulnerability (CWE-248) in Engine.IO versions prior to 6.6.12 allows remote unauthenticated attackers to cause a Denial of Service (DoS) against Node.js applications utilizing Engine.IO or Socket.IO. By sending an HTTP upgrade request targeting a non-Engine.IO URL path and forcibly resetting the underlying TCP connection before the internal destruction timeout expires, an attacker triggers an unhandled ECONNRESET error event on the socket object, terminating the entire Node.js runtime process.

Alon Barad
Alon Barad
1 views•10 min read
•about 2 hours ago•GHSA-CX3C-RMCX-FF35
5.9

GHSA-cx3c-rmcx-ff35: Metadata Partition-Key Collisions in OpenTelemetry Collector exporterhelper

An improper data encoding vulnerability (CWE-172) exists in the OpenTelemetry Collector exporterhelper package between versions 0.147.0 and 0.163.x. When metadata-partitioned batching is enabled with multiple metadata keys, the partition key generator uses an unescaped null byte delimiter to concatenate key names and multi-valued header arrays. An authenticated attacker capable of sending multi-valued HTTP or gRPC headers to an ingress receiver can induce partition key collisions, causing cross-tenant telemetry data mixture, data poisoning, or unauthorized data exfiltration.

Alon Barad
Alon Barad
6 views•10 min read
•about 3 hours ago•CVE-2026-137187
5.4

CVE-2026-137187: Fail-Open Project Allowlist Authorization Bypass in @zereight/mcp-gitlab

CVE-2026-137187 (GHSA-5xhm-p3jx-2fmc) is a missing authorization vulnerability (CWE-862) in @zereight/mcp-gitlab affecting versions 2.2.5 through 2.3.6. The flaw exists within the gitlab_api_request tool, where project allowlist enforcement fails open when evaluating API paths that do not conform to the /projects/:id pattern or when following HTTP redirects to an empty relative path. Attackers or compromised LLM agents with access to the api toolset can bypass project isolation boundaries to query or modify group, user, and instance-level GitLab resources permitted by the server's underlying authentication token.

Alon Barad
Alon Barad
6 views•10 min read
•about 5 hours ago•GHSA-R73Q-GWX2-FPXM
6.8

GHSA-r73q-gwx2-fpxm: Arbitrary Host Directory Mount and Sandbox Bypass via Theme Module Replacements in Hugo

Hugo versions 0.152.0 through 0.167.x contain a path traversal and sandbox bypass vulnerability in the module configuration loader. When a root project does not define module replacements, Hugo permits imported themes or modules to define their own module.replacements directives. Because replaced module imports are internally marked as project-replaced, they bypass theme directory path restrictions, allowing an untrusted theme to mount arbitrary host filesystem directories and expand the Node.js read sandbox.

Amit Schendel
Amit Schendel
8 views•10 min read
•about 6 hours ago•CVE-2026-135388
9.1

CVE-2026-135388: Cryptographic Signature Verification Bypass in Pion DTLS

CVE-2026-135388 (GHSA-7c2r-jhm9-43vf) is an improper verification of cryptographic signature vulnerability (CWE-347) in Pion DTLS, a pure Go implementation of Datagram Transport Layer Security (RFC 6347). The vulnerability stems from signature scheme confusion and missing cryptographic parameter binding in the handshake verification functions verifyKeySignature and verifyCertificateVerify. By presenting a genuine peer certificate paired with an incompatible or digest-less signature hash algorithm on the wire, an unauthenticated network adversary can bypass signature verification without possessing the peer's private key. This allows peer impersonation and full compromise of confidentiality and integrity in DTLS-protected channels, including WebRTC sessions utilizing SDP certificate fingerprint verification.

Alon Barad
Alon Barad
9 views•10 min read
•about 7 hours ago•CVE-2026-134024
6.8

CVE-2026-134024: Latent Server-Side Request Forgery Gadget in TastyIgniter Media Attachment Handler

CVE-2026-134024 is a Server-Side Request Forgery (SSRF) vulnerability (CWE-918) in the TastyIgniter open-source restaurant management platform prior to version 4.4.4. The flaw resides in the Media::addFromUrl() helper method within the tastyigniter/core package, which initiates outbound HTTP GET requests to caller-supplied URLs and persists the response body without validating the URI scheme, target hostname, or resolved IP address. Although unreachable in a default unextended installation, the method functions as a latent SSRF gadget that exposes the host environment to internal network reconnaissance and cloud metadata extraction when invoked by third-party extensions or custom application code.

Alon Barad
Alon Barad
8 views•10 min read