Skip to content

Security: Update simple-git dependency in webpack-plugin to fix CVE-2026-28292 (Critical RCE vulnerability) #293

@stephen-risk-first

Description

@stephen-risk-first

Summary

The @datadog/webpack-plugin package contains a vulnerable version of simple-git (3.25.0) that is affected by a critical remote code execution (RCE) vulnerability.

Vulnerability Details

Issue

The vulnerability allows attackers to bypass the blockUnsafeOperationsPlugin security mechanism through case-insensitive protocol.allow config key manipulation, enabling arbitrary OS command execution via the ext:: protocol.

The vulnerable regex pattern /^\s*protocol(.[a-z]+)?.allow/ fails to match uppercase or mixed-case variants of configuration keys that Git normalizes to lowercase internally. An attacker can pass -c PROTOCOL.ALLOW=always to bypass the check.

Current State

  • File: packages/published/webpack-plugin/package.json
  • Current version: simple-git: 3.25.0 (vulnerable)
  • Affected versions: simple-git >= 3.15.0, < 3.32.3

Recommended Fix

Update the simple-git dependency to version 3.32.3 or later, which includes the fix with a case-insensitive regex flag.

Impact

Applications accepting user-controlled arguments to methods like clone(), fetch(), or pull() face remote code execution risks.

References

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions