CVE-2026-144938
Last modified
CVE-2026-144938 is a medium-severity vulnerability rated 6.3/10 on the CVSS scale. Improper Check for Unusual or Exceptional Conditions (CWE-754) in add-and-commit, in src/main.ts, from 5.0.0 before 11.0.0. A contributor who controls a directory under the add pathspec can commit a gitlink of their choosing.
Description
Improper Check for Unusual or Exceptional Conditions (CWE-754) in add-and-commit, in src/main.ts, from 5.0.0 before 11.0.0. A contributor who controls a directory under the add pathspec can commit a gitlink of their choosing. The add input takes the arguments for git add, and the default value is .. git add records a directory that has its own nested .git directory as a gitlink. The index entry has mode 160000 and names the commit at the nested repository's HEAD. git stores none of the files inside that directory, writes a warning and the remediation hints to stderr, and exits 0. add() in src/main.ts, at lines 220 to 258 in 10.0.0, calls simple-git's add() with a callback that reaches log(). simple-git builds that task with straightThroughStringTask, whose parser takes one argument, so callTaskParser passes stdout and stderr and the parser returns stdout alone. isTaskError is exitCode && stdErr.length, so a zero exit code raises no error, whatever stderr contains. log() in src/util.ts prints the data and reports the error, and both arguments are empty, so the job log shows no warning. add() never reads the staged entries back, so the commit keeps the gitlink, whose path and commit name the contributor sets. The value reaches the action in a workflow that checks out pull request content and then runs the action over a pathspec that covers that content.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| EndBug | add-and-commit | >= 5.0.0, < 11.0.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-144938?
How severe is CVE-2026-144938?
How do I fix CVE-2026-144938?
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-14492The WP Duplicate – WordPress Migration Plugin plugin for Wor…9.8
- CVE-2026-144920A security vulnerability has been detected in eosphoros-ai D…5
- CVE-2026-144934A security flaw has been discovered in SourceCodester/code-p…4.3
- CVE-2026-144935A weakness has been identified in SourceCodester/code-projec…4.3
- CVE-2026-144936A security vulnerability has been detected in SourceCodester…5.3
- CVE-2026-144937A vulnerability has been found in Tenda AC5 03.03.14.11. Aff…9.9
- CVE-2026-144939A vulnerability was found in Tenda AC5 03.03.14.11. Affected…8.8
- CVE-2026-14494The Sigma Forms Pro plugin for WordPress is vulnerable to Re…9.8
- CVE-2026-144941A vulnerability was identified in Tenda AC5 03.03.14.11. Thi…2.7
- CVE-2026-144944Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a br…8.1
- CVE-2026-14495The DoLogin Security plugin for WordPress is vulnerable to A…8.8
- CVE-2026-144950mcp-proxy from 0.10.0 before 0.13.3 contains an information …5.5
Are you affected by CVE-2026-144938?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
