Exploited now
Vulnerability WatchVulnerabilities, exploits & advisories — updated every 15 minutes
Alerts

Home › Vulnerabilities › EndBug

Medium 6.3 2 CVEs Analysis

add-and-commit GitHub Action: two MEDIUM flaws allow Git option injection and log command forgery

NVD published two MEDIUM-severity (CVSS 6.3) flaws in the EndBug add-and-commit GitHub Action on 2026-12-02. One lets a branch name be read by Git as an option, and the other lets input text forge workflow commands in the job log.

What to look into

  • 2 vulnerabilities in EndBug add-and-commit: 2 medium (CVSS up to 6.3).
  • None of them is known to be exploited yet.
  • Start with CVE-2026-142541 (6.3 medium): Improper Neutralization of Argument Delimiters in a Command (CWE-88) in add-and-commit from 5.0.0 before 11.0.0 allows a party who controls the branch name a workflow passes to the action to run git… An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
  • 2 of 2 can be attacked over the network without logging in, 2 of them without anyone clicking anything.
  • Kinds of flaws: Improper Neutralization of Argument Delimiters in a Command ('Argument Injection'); Improper Output Neutralization for Logs.
DevOps / CILaw enforcementVulnerabilities

Key points

  • CVE-2026-142541: a branch name starting with a hyphen can be read by Git as an option, per the record, affecting 5.0.0 before 11.0.0.
  • CVE-2026-142525: unescaped inputs written with core.info() allow forged workflow commands in the job log, affecting 2.3.0 before 11.1.0.
  • Both issues are rated MEDIUM (CVSS 6.3).
  • The records do not say whether either flaw has been exploited.

Two vulnerabilities published by NVD on 2026-12-02 affect the add-and-commit GitHub Action from EndBug. Both are rated MEDIUM with a CVSS score of 6.3. Both stem from the action passing third-party-controlled values onward without neutralizing them, rather than from a flaw in Git itself.

CVE-2026-142541 is an argument delimiter issue (CWE-88) affecting versions from 5.0.0 before 11.0.0. The newbranch input, called branch before 8.0.0, is handed to Git as a single value without validation. According to the record, a branch name beginning with a hyphen, such as --force, would be read by Git as an option. That could discard staged changes during checkout and overwrite the remote branch on push. The party in view is one who controls the branch name a workflow passes to the action. The records do not describe further access requirements.

CVE-2026-142525 is an output neutralization flaw in logging (CWE-117) affecting versions from 2.3.0 before 11.1.0. Several inputs, including message, author and committer fields, and the working directory, are written to the job log through core.info() without escaping. A line feed in one of these inputs can start a line that the runner reads as a workflow command. The record cites ::stop-commands:: and ::add-mask:: as examples. The party in view controls the content of an action input, such as an issue or pull request title that a workflow interpolates.

The records do not state whether either issue has been exploited. They give no workaround or detection guidance.

What to do

  1. Upgrade add-and-commit to 11.1.0 or later, which is past both fixed-in versions named in the records (11.0.0 and 11.1.0).
  2. Review workflows that pass branch names or event-derived text, such as issue or pull request titles, into action inputs.

Our article about all 2 vulnerabilities, written with AI assistance from the official records listed below. Each CVE's page has its details.

The 2 vulnerabilities

  • CVE-2026-142541 6.3 Improper Neutralization of Argument Delimiters in a Command (CWE-88) in add-and-commit from 5.0.0 before 11.0.0 allows a party who controls the branch name a workflow passes to the action to run git checkout and git push with an option of…
  • CVE-2026-142525 6.3 Improper Output Neutralization for Logs (CWE-117) in add-and-commit from 2.3.0 before 11.1.0 allows a party who controls the content of an action input to forge GitHub Actions workflow commands in the job log. The action prints several inp…

Frequently asked questions

How many EndBug add-and-commit vulnerabilities were published on December 2, 2026?

2 vulnerabilities: 2 medium, with CVSS scores up to 6.3.

Are any of them being exploited?

None of them is in CISA's Known Exploited Vulnerabilities catalog yet.

Which one should be fixed first?

CVE-2026-142541 (CVSS 6.3): Improper Neutralization of Argument Delimiters in a Command (CWE-88) in add-and-commit from 5.0.0 before 11.0.0 allows a party who controls the branch name a workflow passes to the action to run git…

Original records