Advisory Database
  • Advisories
  • Dependency Scanning
  1. npm
  2. ›
  3. simple-git
  4. ›
  5. CVE-2026-102828

CVE-2026-102828: simple-git unsafe-operation guard does not block trailer command configuration

October 5, 2026

trailer.<token>.cmd is not recognized as unsafe by the default guard. Therefore, a configured inline value reaches Git without a GitPluginError.

Git documents trailer.<token>.cmd as a shell command invoked by git interpret-trailers. An application that relies on the default plugin to reject unsafe configuration can therefore execute a command supplied through an untrusted trailer-command configuration value.

References

  • github.com/advisories/GHSA-x6jw-m9v5-85vh
  • github.com/steveukx/git-js/commit/d762810c13b331ff1e5eb24c0b434646d2a8d1b3
  • github.com/steveukx/git-js/pull/1198
  • github.com/steveukx/git-js/releases/tag/simple-git@4.0.1
  • github.com/steveukx/git-js/security/advisories/GHSA-x6jw-m9v5-85vh
  • nvd.nist.gov/vuln/detail/CVE-2026-102828

Code Behaviors & Features

Detect and mitigate CVE-2026-102828 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions starting from 3.15.0 before 4.0.1

Fixed versions

  • 4.0.1

Solution

Upgrade to version 4.0.1 or above.

Impact 8.1 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Learn more about CVSS

Weakness

  • CWE-184: Incomplete List of Disallowed Inputs
  • CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Source file

npm/simple-git/CVE-2026-102828.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:16:15 +0000.