CVE-2026-142525: EndBug add-and-commit · Log Injection
Affects EndBug add-and-commitSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 11.1.0 when convenient.
Data as of 2 Dec 2026, 19:14 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 EndBug 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
|
CPE configurations (1)
cpe:2.3:a:endbug:add-and-commit:*:*:*:*:*:*:*:*
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
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 inputs through core.info(), among them message at src/io.ts, author_name and author_email, committer_name and committer_email, and the working directory at src/main.ts. core.info() is implemented as process.stdout.write(message + EOL) and performs no escaping, unlike core.warning(), core.error() and core.debug(), which pass through issueCommand() and escapeData() and therefore replace carriage return and line feed with %0D and %0A. The GitHub Actions runner interprets any line on stdout that begins with ::, so a line feed inside an input ends the action's log line and starts a line the runner reads as a command. A workflow that interpolates event data into one of these inputs, which is what the documented example for message does, lets the author of an issue title, pull request title or commit message place that line feed. ::stop-commands:: ends command processing for the rest of the job, so an ::add-mask:: registered by a later step of the same job is never applied and the value it would have masked is written to the log in cleartext. Annotations can also be forged and the action's own log lines suppressed. From 11.0.0 the project carries a neutralizeLogString() helper covering the C0 and C1 ranges, DEL and the Unicode bidi controls, but it is applied in the log() helper and not on the path that prints the inputs.
References
- github.com/EndBug/add-and-commit/commit/60ff4bbcac8250c7f49d341dd5510a1818c545c8 (opens in a new tab)
- github.com/EndBug/add-and-commit/pull/776 (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)