{"id":"CVE-2026-85674","aliases":["CVE-2026-85674"],"related":[],"kind":"vulnerability","state":"published","title":"aider 0.86.2 Remote Code Execution via .aider.conf.yml","summary":"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).","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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).","source":"cvelist"}],"published":"2026-09-04T14:32:28.178Z","modified":"2026-09-10T16:18:00.780Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-94"],"affected":[{"ranges":[{"type":"semver","introduced":"0","lastAffected":"0.86.2","status":"affected"}],"vendor":"Aider-AI","product":"aider","source":"cvelist"}],"references":[{"url":"https://github.com/Aider-AI/aider/issues/5254","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Aider-AI/aider","tags":["product"],"sources":["cvelist","nvd"]},{"url":"https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/aider-0.86.2-remote-code-execution-via-aider-conf-yml","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["George Chen"],"assigner":"VulnCheck","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2026-09-10T14:24:58.286Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-85674","url":"https://www.cve.org/CVERecord?id=CVE-2026-85674","licence":"CVE Terms of Use","modified":"2026-09-10T15:07:53.411Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-85674","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-85674","licence":"Public domain","modified":"2026-09-10T16:18:00.780Z"}],"updatedAt":"2026-11-25T22:59:36.300Z","epss":{"score":0.00249,"percentile":0.09759,"date":"2026-11-30T12:00:22.000Z"}}