Advisory

PYSEC-2026-2337

Also known as: CVE-2026-47157, GHSA-jh37-x3fv-4x72

Summary

aiograpi: Unsafe signup challenge path handling

Details

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.

Severity

Medium Basis: CVSS v3 score 6.5, vector CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Dates

Published
2026-07-13 15:19 UTC
Modified
2026-07-13 16:31 UTC

Affected packages and fixes

aiograpi

PyPI · All systems

Affected

  • introduced 0, fixed 0.9.10 (ecosystem)

Fixed versions

0.9.10

Fix

  • Fixed version 0.9.10
    pip install --upgrade aiograpi==0.9.10

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: PyPA Advisory Database · CC BY 4.0

Sources & licences