Skip to main content

Aider-AI Aider CVE-2026-10177

| EUVDEUVD-2026-33497 LOW
Server-Side Request Forgery (SSRF) (CWE-918)
2026-05-31 VulDB GHSA-hchg-qm84-cj9p
2.1
CVSS 4.0 · Vendor: VulDB
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Obtain low-privilege Aider credentials
  2. Delivery
    Submit URL targeting 169.254.169.254 to scrape endpoint
  3. Exploit
    Aider issues unvalidated outbound HTTP request
  4. Execution
    Cloud metadata service returns IAM role credentials
  5. Persist
    Attacker extracts credentials from response
  6. Impact
    Leverage credentials for lateral movement or privilege escalation

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a low-privilege authenticated session with the Aider instance, confirmed by the CVSS PR:L vector - unauthenticated exploitation is not possible based on available data. The vulnerability is triggered by invoking Aider's URL scraping functionality with a user-supplied URL; no special non-default configuration is required for the SSRF itself, as the missing validation was present in the default scraping code path. Maximum impact (cloud credential theft) requires the Aider host to be running in a cloud environment (AWS EC2, GCP, Azure) where 169.254.169.254 or equivalent metadata addresses are reachable from the instance. Impact against non-cloud on-premises deployments is limited to access to RFC1918 internal services reachable from the Aider host. The CVE description references api_docs.py as the trigger file; however, the fix modifies scrape.py - the exact invocation path should be verified, as this may affect which Aider feature gates the vulnerability.

Impact

The base CVSS score of 6.3 (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L) reflects low-privilege authenticated exploitation with no interaction required over the network at low complexity. The temporal vector adjustments (E:P - partial exploit available, RL:O - official remediation pending, RC:C - confirmed vulnerability) are consistent with the PR being open but not yet merged. The base CIA triple of L/L/L understates real-world cloud impact: SSRF against AWS EC2 IMDSv1 can yield IAM role credentials, which may permit privilege escalation or lateral movement far beyond what a 6.3 score conveys. No EPSS score was provided in input data; exploitation probability cannot be quantified from available signals. There is no CISA KEV listing. The SSVC signals suggest targeted rather than widespread automated exploitation: the attack requires an authenticated session (limiting blast radius) and the exploit is proof-of-concept rather than weaponized tooling. One notable discrepancy: the CVE description attributes the vulnerability to api_docs.py while the fix modifies scrape.py - this mismatch should be independently verified before scoping remediation efforts.

Exploit ScenarioDerived

An authenticated Aider user with any low-privilege account submits a scrape request with the URL http://169.254.169.254/latest/meta-data/iam/security-credentials/ through Aider's normal web-content scraping interface. Aider issues the HTTP request from its host, retrieves the AWS IAM role credentials attached to the EC2 instance, and returns them to the attacker. A publicly available proof-of-concept demonstrating this vector exists at https://github.com/Aider-AI/aider/issues/5075, making the technique immediately reproducible by any authenticated user.

Monitor Track and reassess. Why: LOW severity (CVSS 0.1-3.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – May 31, 2026

Server-side request forgery in Aider-AI Aider 0.86.3 allows authenticated remote attackers to make the application issue arbitrary HTTP requests to internal network resources, including cloud infrastructure metadata endpoints such as the AWS EC2 instance metadata service at 169.254.169.254. The URL scraping component accepts user-supplied URLs without validating whether the destination resolves to private RFC1918 or link-local address space, enabling an attacker to proxy requests through the Aider host. No public exploit identified at time of analysis meets KEV criteria, but publicly available exploit code exists via GitHub issue #5075, and the upstream fix (PR #5137) awaits formal acceptance into a release.

RemediationAI

Apply the upstream fix from PR #5137 (https://github.com/Aider-AI/aider/pull/5137) once it is merged and a tagged release is cut; a formally released patched version number has not been confirmed in the available data, so monitor the repository for the merge and subsequent release. Users who need an immediate fix can apply the PR diff manually to aider/scrape.py, which introduces DNS-based destination validation and a custom TCP backend that blocks non-global IP addresses at connect time. As a compensating control for cloud-hosted deployments, enforce network egress filtering at the host firewall or cloud security group to block outbound requests from the Aider process to 169.254.0.0/16 (AWS/Azure metadata), 100.100.100.200 (Alibaba Cloud metadata), and all RFC1918 ranges - this prevents SSRF reach to metadata endpoints even if the application-layer fix is not yet applied. Additionally, enforce AWS IMDSv2 (session-oriented token requirement) on any EC2 instance running Aider, which mitigates credential theft via metadata SSRF as a defense-in-depth measure. Trade-off: broad egress filtering may interfere with any legitimate internal HTTP scraping use cases. See VulDB entry https://vuldb.com/vuln/367458 for additional advisory context.

Affected VersionsENISA

Aider 0.86.3

Affected Packages

pypi aider-chat no fix
euvd aider no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in pypi, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

CWE-918 (Server-Side Request Forgery) arises in Aider's URL scraping subsystem (aider/scrape.py), which uses requests.get and an httpx-based backend to fetch remote web content on behalf of the user. Prior to the fix in PR #5137, the scraper forwarded user-supplied URLs directly to HTTP client calls without resolving the destination hostname and checking whether it maps to a globally routable address. This allows targeting of RFC1918 private ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16), link-local metadata addresses (169.254.169.254 for AWS EC2 IMDSv1, metadata.google.internal for GCP), and other non-public endpoints. The fix introduces a validate_url() method that resolves DNS and calls is_public_unicast_address() to enforce ip.is_global and not ip.is_multicast and not ip.is_reserved and not ip.is_unspecified, plus a custom ScrapeNetworkBackend that re-validates at TCP connect time to prevent DNS rebinding bypass. The affected CPE is cpe:2.3:a:aider-ai:aider:*:*:*:*:*:*:*:*, indicating all versions are potentially in scope until the fix is formally released.

Know when Aider gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (VulDB) PRIMARY 2.1 LOW
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P

Primary rating from Vendor (VulDB) · only source for this CVE.

CVSS VectorVendor: VulDB

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
Low
User Interaction
None
Vulnerable system: Confidentiality
Low
Vulnerable system: Integrity
Low
Vulnerable system: Availability
Low
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

Lifecycle Timeline

2
Severity Changed
May 31, 2026 - 11:22 NVD
MEDIUM LOW
CVSS changed
May 31, 2026 - 11:22 NVD
6.3 (MEDIUM) 2.1 (LOW)

DescriptionCVE.org

A security vulnerability has been detected in Aider-AI Aider 0.86.3. This affects the function requests.get of the file api_docs.py of the component AWS EC2 Metadata Endpoint. The manipulation leads to server-side request forgery. The attack is possible to be carried out remotely. The exploit has been disclosed publicly and may be used. It is suggested to install a patch to address this issue. The pull request to fix this issue awaits acceptance.

Threat Intelligence Overview

EPSS Score
0.0%
Top 87% exploitable
Exploit
POC
Public exploit code exists
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment CIRCL GitHub VulDB

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity LOW
CISA KEV No
Public POC Yes
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
LOW severity (CVSS 0.1-3.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Low
Technical Impact
Partial

Priority Score

30
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +10
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy