GHSA-ggxf-37hm-9wqf instagrapi: Unsafe signup challenge path handling in instagrapi
Attacker can force the library to send requests with session headers to arbitrary hosts via malicious challenge paths, potentially leaking data or bypassing controls.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is GHSA-ggxf-37hm-9wqf?
GHSA-ggxf-37hm-9wqf is a server-side request forgery vulnerability in instagrapi, published on 23 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.
Official description
Which versions are affected by GHSA-ggxf-37hm-9wqf?
2 open source packages ship an affected version, including instagrapi.
| Package | Affected | Fixed in |
|---|---|---|
instagrapi PyPI | All versions | 2.6.9 |
instagrapi PyPI | All versions | 2.6.9 |
How do I fix GHSA-ggxf-37hm-9wqf?
Upgrade instagrapi to 2.6.9 or later.
Upgrade, and send outbound requests through an allow-list that blocks internal addresses. More about Server-side request forgery.
Is GHSA-ggxf-37hm-9wqf being exploited?
There is no known exploitation of GHSA-ggxf-37hm-9wqf in the wild and no public exploit code.