{
 "id": "CVE-2026-85674",
 "description": "aider (aider-chat) automatically loads a .aider.conf.yml configuration file from the root of the git repository it is launched in. A crafted repository can set test-cmd (executed at startup) or lint-cmd (executed on the first file edit), which aider runs through a shell (subprocess with shell=True) without any user confirmation, LLM interaction, or API key. Consequently, a user who clones and runs aider inside an attacker-supplied repository achieves arbitrary command execution on their machine. The behavior is long-standing and was confirmed on 0.86.3.dev (current main).",
 "published": "2026-09-04",
 "last_modified": "2026-09-10",
 "vuln_status": "Deferred",
 "cna": "disclosure@vulncheck.com",
 "cvss": {
  "version": "4.0",
  "score": 8.5,
  "severity": "HIGH",
  "vector": "CVSS:4.0/AV:L/AC:L/AT:N/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",
  "source": "disclosure@vulncheck.com"
 },
 "cwe": [
  "CWE-94"
 ],
 "products": [
  {
   "vendor": "Aider",
   "product": "Aider",
   "versions_affected": null,
   "fixed_in": null,
   "product_id": "aider"
  }
 ],
 "category": "product",
 "surface": [
  "code_execution",
  "credential_access"
 ],
 "kev": null,
 "fix": {
  "status": "unknown",
  "version": null,
  "url": null
 },
 "references": [
  {
   "url": "https://github.com/Aider-AI/aider",
   "source": "disclosure@vulncheck.com",
   "tags": []
  },
  {
   "url": "https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py",
   "source": "disclosure@vulncheck.com",
   "tags": []
  },
  {
   "url": "https://github.com/Aider-AI/aider/issues/5254",
   "source": "disclosure@vulncheck.com",
   "tags": []
  },
  {
   "url": "https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml",
   "source": "disclosure@vulncheck.com",
   "tags": []
  }
 ],
 "related_agents": [
  "aider-ai-aider"
 ],
 "related_incidents": [],
 "match": {
  "tests": [
   "A:cpe"
  ],
  "terms": [
   "aider:aider:aider"
  ]
 },
 "status": "candidate",
 "note": null,
 "reviewer": null,
 "checked_on": null,
 "retrieved_on": "2026-10-25"
}