Home › CVE › DevOps / CI
CVE-2026-142525 — EndBug add-and-commit
One of 2 EndBug add-and-commit vulnerabilities published together by NVD: our article covers all of them.
DevOps / CIVulnerabilitiesLaw enforcementSummary
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.
Severity breakdown
Medium · 6.3
An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
- Attack from
- the network (remotely)
- Attack complexity
- low (no special conditions)
- Special conditions
- only in some setups or conditions
- Login needed
- no
- User action needed
- no
- Impact
- low on integrity, none on confidentiality and availability
- Impact on other systems
- low on confidentiality and integrity, none on availability
Weakness
- CWE-117: Improper Output Neutralization for Logs
Affected and fixed versions
| Product | Affected versions | Fixed in |
|---|---|---|
| EndBug add-and-commit | ≥ 2.3.0, < 11.1.0 | 11.1.0 |
References by type
Patches and fixed releases
- github.com/EndBug/add-and-commit/commit/60ff4bbcac8250c7f49d341dd5510a1…
- github.com/EndBug/add-and-commit/pull/776
- github.com/EndBug/add-and-commit/releases/tag/v11.1.0
Other references
Affected
- EndBug add-and-commit
What to do
- Follow the vendor advisory and the references below for fixed versions and workarounds.
Frequently asked questions
What is CVE-2026-142525?
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, authorname and authoremail, committername and committeremail, and the working directory at src/main.ts. Weakness type: Improper Output Neutralization for Logs (CWE-117).
How severe is CVE-2026-142525?
CVE-2026-142525 has a CVSS 4.0 base score of 6.3 (medium), from the CNA. An attacker without an account can exploit this over the network, without any user action, but only under specific conditions.
Is CVE-2026-142525 being exploited?
Not as far as is known: CVE-2026-142525 is not in CISA's Known Exploited Vulnerabilities catalog as of December 2, 2026.
Which versions are affected by CVE-2026-142525?
EndBug add-and-commit ≥ 2.3.0, < 11.1.0 (fixed in 11.1.0).
How do I fix CVE-2026-142525?
Update to a fixed release: EndBug add-and-commit 11.1.0.
Timeline & sources
References
Related vulnerabilities & news
- ToolJet GitHub Actions release workflow command injection via pull request title (CVE-2026-137964)
- Java4Shell flaw in OpenJDK's compiler component threatens apps like Jenkins, Confluence
- Max-Severity CVE-2026-85259 Hits Gemini CLI Triage Workflows
- Code Injection Flaw in Google Gemini CLI Allows Remote Command Execution
- Claude Security Plugin Adds Vulnerability Scanning for GitHub Pull Requests