add-and-commit · Log Injection
Source GCVE Database
Not known to be exploited · CVSS 6.3 Medium : upgrade to 11.1.0 when convenient.
Data as of 2 Dec 2026, 22:31 UTC
Thin evidence
One scorer or none| CNA (Secur0) | CVSS 4.0 | 6.3 |
|---|
- Patch
- Available – fixed in 11.1.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:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Dec 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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.1.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| EndBugadd-and-commit | Affected
| Fixed in
|
GitHubadd-and-commitpkg:github/add-and-commitOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A fix is available in version 11.1.0 of the add-and-commit action, which properly neutralizes log output to prevent command injection. Users should upgrade to version 11.1.0 or later. Partial mitigations introduced in version 11.0.0 do not fully address the issue. Until upgrading, avoid interpolating untrusted event data into logged inputs that use core.info().
Description
CVE-2026-142525 describes an improper output neutralization vulnerability (CWE-117) in the add-and-commit GitHub Action versions from 2.3.0 before 11.1.0. This flaw allows an attacker controlling certain action inputs to inject forged GitHub Actions workflow commands into the job log by exploiting unescaped line feeds in log messages. The vulnerability arises because core.info() writes directly to stdout without escaping, enabling command injection via crafted input containing line breaks. From version 11.0.0, partial mitigations exist but do not cover all input paths.
References
- nvd.nist.gov/vuln/detail/CVE-2026-142525 (opens in a new tab)
- github.com/EndBug/add-and-commit/pull/776 (opens in a new tab)
- github.com/EndBug/add-and-commit/commit/60ff4bbcac8250c7f49d341dd5510a1818c545c8 (opens in a new tab)
- github.com/EndBug/add-and-commit/releases/tag/v11.1.0 (opens in a new tab)
- secur0.com/en/cna/cve-list/cve-2026-142525-add-and-commit-workflow-command-injection (opens in a new tab)