CVE-2026-144938: EndBug add-and-commit · Unchecked Error Condition
Affects EndBug add-and-commitSource CVE Database V5
Not known to be exploited · CVSS 6.3 Medium : upgrade to 11.0.0 when convenient.
Data as of 4 Dec 2026, 15:46 UTC
Thin evidence
One scorer or none| CNA (Secur0) | CVSS 4.0 | 6.3 |
|---|
- Patch
- Available – fixed in 11.0.0
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 4 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 4 Dec 2026.
What to do
Upgrade EndBug add-and-commit to 11.0.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.
AI-suggested
Upgrade EndBug add-and-commit to version 11.0.0 or later where this issue is fixed. The vendor has released an official fix in version 11.0.0. Until upgrading, be aware that commits may include gitlinks set by contributors, and review commits accordingly.
Description
CVE-2026-144938 is a vulnerability in EndBug's add-and-commit component affecting versions from 5.0.0 up to but not including 11.0.0. It involves improper handling of unusual conditions when adding files, allowing a contributor controlling a directory under the add pathspec to commit a gitlink of their choosing. This occurs because the add() function does not properly detect errors when git add writes warnings to stderr but exits with code 0, resulting in the commit retaining the gitlink with a path and commit name set by the contributor.
References
- github.com/EndBug/add-and-commit/commit/ebc24bfdec878c7a9b73d6fd429c88cbb0316100 (opens in a new tab)
- github.com/EndBug/add-and-commit/pull/761 (opens in a new tab)
- github.com/EndBug/add-and-commit/releases/tag/v11.0.0 (opens in a new tab)
- secur0.com/en/cna/cve-list/cve-2026-144938-add-and-commit-unchecked-gitlink-in-git-add (opens in a new tab)