CVE-2026-106058
HIGH 7.7GitAhead through 2.7.1 contains an OS command injection vulnerability in src/git/Filter.cpp that allows malicious repositories to execute commands by substituting crafted filenames into clean/smudge filter commands. Attackers can ship files named with $(command) selected via .gitattributes so checkout or staging runs the command through bash -c as the victim.
Severe if exploited (CVSS 7.7), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
1.2%chance of exploitation in 30 days · 68th percentile
Impact if exploited
7.7CVSS 4.0 · HIGH
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityHigh
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ⚠User interaction: Succeeds with passive user activity
- ⚠Complexity: Needs a race window or specific setup
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
References and research data (JSON)
All CVSS metrics
- HIGH 7.7 v4.0 · CNA Primary
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N - HIGH 7.5 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H - HIGH 7.7 v4.0 · NVD Secondary
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/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 - HIGH 7.5 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:H
References
Exploit-tagged references (not proof of a PoC)
- https://github.com/gitahead/gitahead/issues/661 CVE record · VulnCheck · Updated 2026-10-07T11:59:37.841Z
CVE record · CISA-ADP · Updated 2026-10-07T20:55:38.241Z
NVD · CVE-2026-106058 · Updated 2026-10-07T21:17:12.053
Advisories
- https://www.vulncheck.com/advisories/gitahead-through-2.7.1-os-command-injection-via-git-filter-filenames CVE record · VulnCheck · Updated 2026-10-07T11:59:37.841Z
NVD · CVE-2026-106058 · Updated 2026-10-07T21:17:12.053 - https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-94306 EUVD · EUVD-2026-94306
Technical & other
- https://github.com/gitahead/gitahead CVE record · VulnCheck · Updated 2026-10-07T11:59:37.841Z
NVD · CVE-2026-106058 · Updated 2026-10-07T21:17:12.053 - https://github.com/gitahead/gitahead/blob/v2.7.1/src/git/Filter.cpp#L43-L70 CVE record · VulnCheck · Updated 2026-10-07T11:59:37.841Z
NVD · CVE-2026-106058 · Updated 2026-10-07T21:17:12.053