CVE-2026-10177
Server-Side Request Forgery in Aider-AI Aider
Publication date: 2026-05-31
Last updated on: 2026-05-31
Assigner: VulDB
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| aider-ai | aider | 0.86.3 |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-918 | The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination. |
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?
This vulnerability exists in Aider-AI Aider version 0.86.3, specifically in the function requests.get within the file api_docs.py related to the AWS EC2 Metadata Endpoint component.
The issue allows an attacker to perform server-side request forgery (SSRF), meaning the attacker can manipulate the server to make unauthorized requests to internal or external resources.
The attack can be carried out remotely, and the exploit has been publicly disclosed. A patch is available but not yet accepted.
How can this vulnerability impact me? :
This vulnerability can allow attackers to make the server send unauthorized requests to internal services, such as cloud metadata endpoints.
In cloud environments, this could lead to exposure of sensitive metadata or credentials, potentially compromising security.
Because the vulnerability can be exploited remotely, it increases the risk of unauthorized access or data leakage without requiring local access.
How can this vulnerability be detected on my network or system? Can you suggest some commands?
This vulnerability involves the Aider-AI tool making unauthorized requests to AWS EC2 metadata endpoints such as http://169.254.169.254/latest/meta-data/iam/security-credentials/. Detection can focus on monitoring network traffic for outgoing requests to these private IP addresses or metadata URLs.
You can detect exploitation attempts by checking for HTTP requests targeting the AWS EC2 metadata IP (169.254.169.254) or similar private network addresses from the system running Aider.
- Use network monitoring tools like tcpdump or Wireshark to capture traffic to 169.254.169.254.
- Example tcpdump command: sudo tcpdump -i any host 169.254.169.254
- Check application logs or debug output for any requests made by Aider to metadata endpoints.
- Review the code or runtime behavior of Aider for calls to requests.get in api_docs.py or scraping functions that target private network URLs.
What immediate steps should I take to mitigate this vulnerability?
The primary mitigation is to apply the patch that prevents Aider from making requests to private network URLs, including AWS EC2 metadata endpoints.
Since the fix is pending acceptance in pull request #5137, you can manually apply or backport the changes from that pull request to guard against private network URL requests.
- Validate and restrict hostname resolution to prevent requests to private, loopback, link-local, metadata, multicast, or other non-public network targets.
- Disable proxy and environment routing for HTTPX connections used by Aider.
- Bind HTTPX connections to validated resolved addresses only.
- Implement route-level blocking for unsafe browser requests and restrict Playwright to literal IP URLs.
Additionally, monitor for updates from the Aider project and apply official patches as soon as they are released.
How does this vulnerability affect compliance with common standards and regulations (like GDPR, HIPAA)?:
The vulnerability in Aider-AI Aider 0.86.3 involves server-side request forgery (SSRF) targeting the AWS EC2 Metadata Endpoint, which can lead to unauthorized access to sensitive metadata or credentials in cloud environments.
Such unauthorized access to sensitive information could potentially lead to data breaches or exposure of personal or confidential data, which may impact compliance with data protection regulations like GDPR or HIPAA that require safeguarding sensitive data.
However, the provided information does not explicitly state the direct impact on compliance with these standards or regulations.