GitHub Advisoryadvisory · PyPI

GHSA-jh37-x3fv-4x72 aiograpi: Unsafe signup challenge path handling

MEDIUM Published 2026-05-23 Modified 2026-06-12 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