CVE-2026-142525
Last modified
CVE-2026-142525 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EndBug | add-and-commit | >= 2.3.0, < 11.1.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-142525?
How severe is CVE-2026-142525?
How do I fix CVE-2026-142525?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-142505CyberPanel before 3.0.9 contains a missing authorization vul…6.5
- CVE-2026-142506CyberPanel before 3.0.9 contains a path traversal vulnerabil…6.5
- CVE-2026-142507CyberPanel 2.4.2 before 3.0.12 contains a missing authentica…3.7
- CVE-2026-14251A flaw was found in the OpenShift GitOps operator. The Clust…7.7
- CVE-2026-14252IBM MQ 9.2.0.0 through 9.2.0.44 LTS, 9.3.0.0 through 9.3.0.4…5.5
- CVE-2026-142524A weakness has been identified in Dipali-Patil-11 Orphanage_…7.3
- CVE-2026-142526A flaw has been found in livealvi Car-Rental-Service-Php-Pro…7.3
- CVE-2026-142527A vulnerability has been found in OPTIMUM-LINKUP Latest-Opti…4.7
- CVE-2026-14253Rejected reason: This CVE ID has been rejected or withdrawn …
- CVE-2026-14254A race condition in the account lockout mechanism in Delphix…8.3
- CVE-2026-142541Improper Neutralization of Argument Delimiters in a Command …6.3
- CVE-2026-142549JWTKit is a Swift library for signing and verifying JSON Web…4.9
Are you affected by CVE-2026-142525?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
