← Back to overview

A critical arbitrary command execution vulnerability exists in aider (aider-chat), an AI-powered coding assistant. The tool automatically loads a .aider.conf.yml configuration file from the root of any git repository it is launched in. An attacker can craft a malicious repository with test-cmd or lint-cmd directives that execute arbitrary shell commands via subprocess with shell=True. These commands run without any user confirmation, LLM interaction, or API key requirement. A victim simply needs to clone and run aider inside the attacker-controlled repository to trigger code execution. The vulnerability is long-standing and was confirmed on version 0.86.3.dev. This represents a significant supply chain and developer tooling risk, especially given the growing adoption of AI coding assistants.

Affected products

  • aider (aider-chat) 0.86.2
  • aider (aider-chat) 0.86.3.dev

Related CVE's

  • CVE-2026-85674

Categories

  • Security Tools
  • Supply Chain & Dependencies
  • Zero-Day Vulnerabilities