---
id: CVE-2026-47157
aliases:
  - GHSA-jh37-x3fv-4x72
  - PYSEC-2026-2337
title: 'aiograpi: Unsafe signup challenge path handling'
summary: 'aiograpi: Unsafe signup challenge path handling'
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'
vendor: aiograpi
product: aiograpi
ecosystem: pip
affected:
  - aiograpi < 0.9.10
patched:
  - aiograpi 0.9.10
published: '2026-05-23'
updated: '2026-07-13'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-jh37-x3fv-4x72'
references:
  - url: >-
      https://github.com/subzeroid/aiograpi/security/advisories/GHSA-jh37-x3fv-4x72
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-47157'
  - url: 'https://github.com/subzeroid/aiograpi/pull/274'
  - url: >-
      https://github.com/subzeroid/aiograpi/commit/9c24151916beca622e588bfb3167c98711ff744f
  - url: 'https://github.com/subzeroid/aiograpi'
  - url: 'https://github.com/subzeroid/aiograpi/releases/tag/0.9.10'
tags:
  - osv
  - pip
epss: 0.00304
epssPercentile: 0.2056
ingestedAt: '2026-07-13T18:57:59.756Z'
---

## Overview

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.

## Affected packages

- `aiograpi < 0.9.10`

## Remediation

Upgrade to a patched release:

- `aiograpi 0.9.10`
