CVE-2017-12976 · mitre
CVE-2017-12976
git-annex before 6.20170818 allows remote attackers to execute arbitrary commands via an ssh URL with an initial dash character in the hostname, as demonstrated by an ssh://-eProxyCommand= URL, a related issue to CVE-2017-9800, CVE-2017-12836, CVE-2017-1000116, and CVE-2017-1000117.
Published 2017-08-20, last changed 2026-06-17. Weakness: CWE-20.
How to fix
Upgrade to a fixed version: git-annex 6.20170818 (Hackage). For the version that clears every advisory for your installed version, ask an agent for get_remediation.
Timeline
| 2017-08-20 | Published |
| 2025-11-14 | Package advisory HSEC-2023-0009 |
| 2026-06-17 | Record last changed |
| 2026-11-30 | EPSS when our history starts: 3.09% |
Affected packages
| Advisory | Package | Fixed in |
|---|---|---|
| HSEC-2023-0009 | git-annex (Hackage) | 6.20170818 |
Also known as: HSEC-2023-0009
Related
| CVE | Published | CVSS | Summary |
|---|---|---|---|
| CVE-2014-6274 | 2025-06-26 | 7.5 | S3 and Glacier remotes creds embedded in the git repo were not encrypted |
| CVE-2018-10857 | 2018-07-16 | 7.5 | same package: git-annex (Hackage) |
| CVE-2018-10859 | 2018-07-16 | 7.5 | same package: git-annex (Hackage) |
| CVE-2026-106804 | 2026-11-02 | 7.5 | same weakness (CWE-20) from the same CNA (mitre) |
| CVE-2025-71383 | 2026-10-06 | 9.8 | same weakness (CWE-20) from the same CNA (mitre) |
| CVE-2026-51997 | 2026-09-24 | 8.8 | same weakness (CWE-20) from the same CNA (mitre) |
| CVE-2026-79410 | 2026-09-15 | 8.1 | same weakness (CWE-20) from the same CNA (mitre) |
| CVE-2025-66974 | 2026-09-15 | 7.5 | same weakness (CWE-20) from the same CNA (mitre) |
Add it to your agent
One command for Claude Code; setup for Claude Desktop, Cursor and others. No signup or key.
claude mcp add --transport http keygraph-cve https://cve-mcp.keygraph.io/mcp
Then ask for triage_cve CVE-2017-12976, or call /api/v1/vulnerabilities/CVE-2017-12976. To prove whether it is exploitable in your running app, run Shannon, Keygraph's open-source AI pentester.