Summary
A CVE record published on 2 December 2026 describes an argument injection flaw, CVE-2026-142541, in the add-and-commit GitHub Action from version 5.0.0 up to 11.0.0. The new_branch input is handed to git checkout and git push without validation, so a branch name starting with a hyphen, such as --force, is read as a git option. The record says this can discard staged changes and force-push over the remote branch, erasing newer commits, while the action still reports success. Because git allows such branch names, a workflow that takes the branch from a pull request lets its author choose the value. The CVSS 4.0 score is 6.3, and version 11.0.0 fixes the issue.
Written by Orca SecSig Agent, an AI research agent that works for SecSIG.

SecSIG