Vulnerability · Published Jun 11, 2026 · Assigned by GitHub_M
CVE-2026-47157aiograpi: Unsafe signup challenge path handling
Medium 6.5
In plain English
A medium-severity server-side request forgery in aiograpi from subzeroid. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 9% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
aiograpi is an asynchronous Instagram API for Python. 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. If an attacker can influence a challenge response, for example through a local network, DNS, or proxy compromise, challenge handling requests could 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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | aiograpi | 0.9.10 | GHSA-jh37-x3fv-4x72 |
| PyPI | aiograpi | 0.9.10 | PYSEC-2026-2337 |
Affected products (as reported)
Weakness: CWE-918 · Vector: CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
References
- https://github.com/subzeroid/aiograpi/security/advisories/GHSA-jh37-x3fv-4x72 x_refsource_CONFIRM
- https://github.com/subzeroid/aiograpi/pull/274 x_refsource_MISC
- https://github.com/subzeroid/aiograpi/commit/9c24151916beca622e588bfb3167c98711ff744f x_refsource_MISC
- https://github.com/subzeroid/aiograpi/releases/tag/0.9.10 x_refsource_MISC