Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessGain adjacent network position (MitM)
-
DeliveryIntercept Instagram challenge API response
-
ExploitInject attacker-controlled host path into challenge payload
-
Executionaiograpi builds URL to attacker server
-
PersistClient sends request with session headers to attacker
-
ImpactCapture and replay stolen session credentials
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 | The aiograpi client must be actively processing an Instagram signup challenge flow (captcha or phone/SMS verification) at the time of attack. The attacker must occupy an adjacent-network position (AV:A) capable of intercepting and modifying HTTP responses between the client and Instagram - for example, on the same LAN, Wi-Fi network, or upstream network path. No authentication to the target system is required (PR:N) and no victim interaction beyond the normal challenge-flow operation is needed (UI:N). Exploitation is limited by the adjacent-network constraint: remote, unauthenticated exploitation across the internet is not possible per the CVSS AV:A vector. Deployments on isolated, firewalled network segments with no untrusted network adjacency have negligible realistic exposure. |
| Impact | The CVSS base score of 6.5 (AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N) reflects a meaningful but constrained threat. The Adjacent Vector (AV:A) is the primary limiting factor: an attacker cannot exploit this from the open internet but must be in a position to tamper with network responses between the aiograpi client and Instagram's servers - for example, via a MitM on a shared Wi-Fi network, a rogue upstream proxy, or a compromised network path. Attack Complexity is Low and no privileges or user interaction are required once that adjacency is achieved, making exploitation straightforward for a suitably positioned adversary. The confidentiality impact is High because session headers, which carry authentication tokens, are forwarded to the attacker-controlled endpoint - effectively achieving session hijacking. Integrity and availability are unaffected. No EPSS score was provided in the input data, so exploitation probability cannot be quantified from that signal. The CVE is not listed in the CISA KEV catalog and no POC code has been reported, indicating no confirmed widespread active exploitation at time of analysis. Overall, this is a moderate-priority issue for applications using aiograpi that operate in untrusted network environments; deployments on hardened, isolated networks face lower realistic risk. |
| Exploit ScenarioDerived | An attacker positioned on the same network segment as a host running aiograpi performs a man-in-the-middle attack against the client's HTTPS session - for example, via ARP spoofing on a shared network or by operating a rogue Wi-Fi access point - and intercepts an Instagram challenge response. The attacker modifies the challenge path value in the payload to point to an attacker-controlled server before forwarding it to the client. aiograpi builds the subsequent challenge request URL using the injected path, sends it to the attacker's server, and includes the client's existing Instagram session headers, which the attacker captures and replays to authenticate as the victim. No POC code has been publicly reported, but the attack requires only standard MitM tooling and manipulation of a single JSON field. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – May 23, 2026
Server-Side Request Forgery in aiograpi before 0.9.10 allows an adjacent-network attacker to redirect Instagram challenge-handling HTTP requests to arbitrary attacker-controlled hosts, exfiltrating the client's active session headers including authentication tokens. The library trusted server-supplied signup challenge paths and used them verbatim to construct outbound URLs without first verifying the path remained within Instagram's API domain. No public exploit code has been identified and this CVE does not appear in the CISA KEV catalog, but the high confidentiality impact (CVSS C:H) reflects that session credential theft is the direct outcome of a successful attack.
RemediationAI
Upgrade aiograpi to version 0.9.10 or later, which validates that all server-supplied challenge paths are relative Instagram API paths before constructing any outbound URLs, solving captcha challenges, or submitting phone/SMS challenge forms. This is the primary and complete fix, confirmed by the vendor advisory at https://github.com/subzeroid/aiograpi/security/advisories/GHSA-jh37-x3fv-4x72. If immediate upgrade is not possible, a compensating control is to deploy the aiograpi client exclusively on network segments with strict egress filtering that denies outbound HTTPS to non-Instagram domains (e.g., *.instagram.com, *.cdninstagram.com whitelist); this would prevent exfiltration of session headers to attacker-controlled hosts, though it introduces operational risk of blocking legitimate API calls if the allowlist is misconfigured. Additionally, rotating session credentials (Instagram session tokens) after any period of operation on untrusted or shared networks reduces the value of credentials that may have already been exposed.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
aiograpi is an asynchronous Python client library (pip package: aiograpi) for the Instagram Private API. During account signup or challenge flows, Instagram's API returns challenge payloads that include path values. Prior to version 0.9.10, the library concatenated these server-supplied paths directly into outbound request URLs - covering captcha challenge resolution and phone/SMS challenge form submission - without validating that the resulting URL remained scoped to a legitimate Instagram API host. This is a textbook CWE-918 (Server-Side Request Forgery) pattern: untrusted input from a server response is used to construct a subsequent outbound request without host-scope enforcement. The CPE identifier is pkg:pip/aiograpi, and the CVSS vector AV:A indicates exploitation requires adjacent-network positioning, consistent with a man-in-the-middle or response-tampering scenario during the challenge exchange.
Know when the next one hits your stack
- 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
AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Primary rating from Vendor (https://github.com/subzeroid/aiograpi) · only source for this CVE.
CVSS VectorVendor: https://github.com/subzeroid/aiograpi
DescriptionCVE.org
aiograpi versions before 0.9.10 accepted server-supplied signup challenge paths and used them to build request URLs before validating that the paths were relative Instagram API paths. A malicious or tampered challenge payload could cause challenge handling requests to be sent outside the intended Instagram host with the client\'s existing session headers. Version 0.9.10 validates challenge paths before building URLs, solving captcha challenges, or submitting phone/SMS challenge forms.
Threat Intelligence Overview
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-36272
GHSA-jh37-x3fv-4x72
NVD
CVE.org
EPSS
VulDB
Exploit-DB