PT-2026-166224

CVE-2026-142525

·

Published

2026-12-02

·

Updated

2026-12-02

Description by

CVSS 4.0
6.3
Medium
MetricsAV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:L/SI:L/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Name of the Vulnerable Software and Affected Versions add-and-commit versions 2.3.0 through 11.0.0
Description Improper output neutralization for logs occurs when the action prints several inputs using the core.info() function, which writes directly to process.stdout.write() without escaping carriage return and line feed characters. This allows an attacker who controls action input content—such as issue titles, pull request titles, or commit messages—to inject line feeds that the GitHub Actions runner interprets as workflow commands. This can lead to the forgery of annotations, suppression of log lines, or the use of ::stop-commands:: to prevent subsequent ::add-mask:: commands from executing, potentially exposing sensitive values in cleartext. The affected inputs include message at src/io.ts, author name, author email, committer name, committer email, and the working directory at src/main.ts.
Recommendations Update add-and-commit to version 11.1.0 or later.
Exploitability
Fix
Vendors
Affected products
Related identifiers
Found an issue in the description? Have something to add? Feel free to write us 👾