Skip to main content
CVE-2026-142541VulnerabilityPublished

add-and-commit · Improper Neutralization of Argument Delimiters

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-142541· Medium 6.3

Not known to be exploited · CVSS 6.3 Medium : upgrade to 11.0.0 when convenient.

Data as of 2 Dec 2026, 22:30 UTC

CVSS 4.0 base score
6.3Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (Secur0)CVSS 4.06.3
Patch
Available – fixed in 11.0.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Dec 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Upgrade add-and-commit to 11.0.0.

Affected software

ProductAffectedFixed in
EndBugadd-and-commitAffected
  • >=5.0.0 <11.0.0
Fixed in
  • 11.0.0
GitHubadd-and-commitpkg:github/add-and-commitOther threatsAffected
  • >=5.0.0 <11.0.0
Fixed in
  • 11.0.0

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

If you cannot patch yet, avoid using untrusted branch names as inputs to this action or sanitize branch names to prevent leading hyphens. Review workflows to ensure branch names cannot be controlled by untrusted parties or that inputs are validated before use.

Description

A vulnerability exists in the add-and-commit action versions from 5.0.0 before 11.0.0 where improper neutralization of argument delimiters allows a malicious branch name to inject git command options. This can cause unintended git checkout and git push commands with options like --force, leading to discarded staged changes and overwritten remote branches. The branch name input is not validated or sanitized, enabling this behavior when a branch name starts with a hyphen. The action incorrectly reports success even when destructive commands are executed.

References

Community reviews

Loading reviews…