GitHub Advisoryadvisory · PyPI
GHSA-jh37-x3fv-4x72 aiograpi: Unsafe signup challenge path handling
MEDIUM
Official page ↗
- Aliases
- CVE-2026-47157
- Ecosystem
- PyPI
- Packages
- aiograpi
- Severity
- Moderate
- CVSS vector
- CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-918
- Reviewed
- 2026-05-23
Affected packages
• PyPI aiograpi: < 0.9.10 → fixed in 0.9.10
Description
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.
Related
Alias · CVE (1)
- CVE-2026-47157 aiograpi is an asynchronous Instagram API for Python. vulnerability
Weakness · CWE (1)
- CWE-918 Server-Side Request Forgery weakness
References
- https://github.com/subzeroid/aiograpi/security/advisories/GHSA-jh37-x3fv-4x72 web
- https://nvd.nist.gov/vuln/detail/CVE-2026-47157 advisory
- https://github.com/subzeroid/aiograpi/pull/274 web
- https://github.com/subzeroid/aiograpi/commit/9c24151916beca622e588bfb3167c98711ff744f web
- https://github.com/subzeroid/aiograpi package
- https://github.com/subzeroid/aiograpi/releases/tag/0.9.10 web