{
  "id": "CVE-2026-76221",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-76221",
  "published_at": "2026-08-19T14:02:04.795Z",
  "title": "GitPython before 3.1.58 Config Injection via option-name",
  "vendor": "gitpython-developers",
  "product": "GitPython",
  "cvss": {
    "score": 8.8,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "GitPython before 3.1.58 contains a config-name injection vulnerability in the option-name validator that allows attackers to forge arbitrary git-config directives by injecting equals signs, hash symbols, and whitespace into option names. Attackers can inject malicious option names like 'sshCommand = touch /tmp/RCE #' to execute arbitrary commands via core.sshCommand or core.hooksPath on the next git operation.",
  "cwe": "CWE-74",
  "cpes": [
    "cpe:2.3:a:gitpython_project:gitpython:*:*:*:*:*:python:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.8
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "gitpython-developers",
        "product": "GitPython",
        "ranges": [
          "\u003c 3.1.58"
        ],
        "fixed_in": [
          "3.1.58"
        ]
      }
    ],
    "upgrade": [
      "Upgrade GitPython to 3.1.58 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/gitpython-developers/GitPython/security/advisories/GHSA-jm78-9fvv-mhgr"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
