Description
Aider through 0.86.2 contains a command execution vulnerability that allows attackers to run shell commands by committing a malicious .aider.conf.yml that is auto-loaded without a trust prompt. Attackers can set notifications-command or editor values that are executed via subprocess with shell=True after model replies or /editor use, running commands with the victim's privileges.
Affected products
Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.
Aider-AI aider
Default version status: unaffected
0 to ≤ 0.86.2affected
pkg:pypi/aider-chatReferences
- https://github.com/Aider-AI/aider/issues/5885 ↗
- https://github.com/Aider-AI/aider/blob/v0.86.2/aider/io.py#L1088-L1094 ↗
- https://github.com/Aider-AI/aider/blob/v0.86.2/aider/editor.py#L89-L134 ↗
- https://github.com/Aider-AI/aider/blob/v0.86.2/aider/main.py#L464-L479 ↗
- https://www.vulncheck.com/advisories/aider-through-0.86.2-command-execution-via-repository-aider-conf-yml-settings ↗