Submit #819911: paul-gauthier Aider 0.86.3 Server-Side Request Forgeryinfo

Titlepaul-gauthier Aider 0.86.3 Server-Side Request Forgery
DescriptionAider v0.86.3 contains a missing protection mechanism in its built‑in URL scraping feature. When repository content (e.g., README.md) references internal or cloud metadata endpoints such as http://x.x.x.x/latest/meta-data/iam/security-credentials/, Aider's scraping path attempts to fetch those URLs without filtering private or link‑local addresses and without warning the user. In a verified test, Aider immediately tried to scrape the AWS EC2 metadata endpoint before generating code, and subsequently produced an unrestricted fetch function and test script targeting the same endpoint. In a cloud‑hosted environment, this behavior could expose sensitive metadata or credentials. The vulnerability allows a remote attacker who can insert a URL into repository content to induce Aider to make requests to internal services.
Source⚠️ https://github.com/Aider-AI/aider/issues/5075
User
 tchen200311 (UID 97733)
Submission05/06/2026 02:46 (2 months ago)
Moderation05/30/2026 18:21 (25 days later)
StatusAccepted
VulDB entry367458 [Aider-AI Aider 0.86.3 AWS EC2 Metadata Endpoint api_docs.py requests.get server-side request forgery]
Points20

Do you want to use VulDB in your project?

Use the official API to access entries easily!