8.5 HIGH
- CVSS version (CVSS): 4.0
- Attack Vector (AV): Local (L)
- Attack Complexity (AC): Low (L)
- Attack Requirement (AT): None (N)
- Privileges Required (PR): None (N)
- User Interaction (UI): Passive (P)
- Vulnerable System Impact Confidentiality (VC): High (H)
- Vulnerable System Impact Integrity (VI): High (H)
- Vulnerable System Impact Availability (VA): High (H)
- Subsequent System Impact Confidentiality (SC): None (N)
- Subsequent System Impact Integrity (SI): None (N)
- Subsequent System Impact Availability (SA): None (N)
- Modified Attack Vector (MAV): Local (L)
- Modified Attack Complexity (MAC): Low (L)
- Modified Attack Requirement (MAT): None (N)
- Modified Privileges Required (MPR): None (N)
- Modified User Interaction (MUI): Passive (P)
- Modified Vulnerable System Impact Confidentiality (MVC): High (H)
- Modified Vulnerable System Impact Integrity (MVI): High (H)
- Modified Vulnerable System Impact Availability (MVA): High (H)
- Modified Subsequent System Impact Confidentiality (MSC): Negligible (N)
- Modified Subsequent System Impact Integrity (MSI): Negligible (N)
- Modified Subsequent System Impact Availability (MSA): Negligible (N)
- Safety (S): Not Defined (X)
- Automatable (AU): Not Defined (X)
- Recovery (R): Not Defined (X)
- Value Density (V): Not Defined (X)
- Vulnerability Response Effort (RE): Not Defined (X)
- Provider Urgency (U): Not Defined (X)
- Confidentiality Req. (CR): Not Defined (X)
- Integrity Req. (IR): Not Defined (X)
- Availability Req. (AR): Not Defined (X)
- Exploit Maturity (E): Not Defined (X)
by @LeSuisse Activity log
- Created suggestion
- @LeSuisse ignored package raider
- @LeSuisse ignored reference https://g…
- @LeSuisse accepted
- @LeSuisse published on GitHub
aider 0.86.2 Remote Code Execution via .aider.conf.yml
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).
References
-
GitHub Issue #5254 issue-tracking
-
https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py technical-description
-
VulnCheck Advisory: aider 0.86.2 Remote Code Execution via .aider.conf.yml third-party-advisory
Ignored references (1)
Affected products
- =<0.86.2
Matching in nixpkgs
pkgs.aider-chat
AI pair programming in your terminal
pkgs.aider-chat-full
AI pair programming in your terminal
pkgs.pkgsRocm.aider-chat
None
pkgs.aider-chat-with-help
AI pair programming in your terminal
pkgs.aider-chat-with-bedrock
AI pair programming in your terminal
pkgs.aider-chat-with-browser
AI pair programming in your terminal
pkgs.pkgsRocm.aider-chat-full
AI pair programming in your terminal
pkgs.aider-chat-with-playwright
AI pair programming in your terminal
pkgs.pkgsRocm.aider-chat-with-help
AI pair programming in your terminal
pkgs.pkgsRocm.vimPlugins.aider-nvim
None
pkgs.pkgsRocm.aider-chat-with-bedrock
None
pkgs.pkgsRocm.aider-chat-with-browser
None
Package maintainers
-
@yzx9 Zexin Yuan <yuan.zx@outlook.com>
-
@happysalada Raphael Megzari <raphael@megzari.com>