Skip to content
Heist/ feed
Back to feed
Medium

aiograpi: Unsafe signup challenge path handling

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2026-47157
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 18:31 UTC · Revision 1

Source evidence

aiograpi: Unsafe signup challenge path handling

core-osv · Original source

Published 11 Jun 2026, 17:18 UTC

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.

osv:CVE-2026-47157
Complete source record
{
  "id": "480c0e01a4c3a65a71a32cfca1daeb9d8369112f94e18063af668986fb9cd93b",
  "url": "https://osv.dev/vulnerability/CVE-2026-47157",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "aiograpi: Unsafe signup challenge path handling",
    "summary": "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.",
    "evidence": "osv:CVE-2026-47157",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2026-47157",
      "aliases": [
        "CVE-2026-47157",
        "GHSA-jh37-x3fv-4x72",
        "PYSEC-2026-2337"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/subzeroid/aiograpi",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "f8979af674eb03b468f265ba021215e2083a256d"
                },
                {
                  "fixed": "9c24151916beca622e588bfb3167c98711ff744f"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "0.9.10"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "9c24151916beca622e588bfb3167c98711ff744f"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "f8979af674eb03b468f265ba021215e2083a256d"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "0.9.10"
                  }
                ]
              }
            }
          ],
          "versions": [
            "0.9.9",
            "0.9.8",
            "0.9.7",
            "0.9.6",
            "0.9.5",
            "0.9.4",
            "0.9.3",
            "0.9.2",
            "0.9.1",
            "0.9.0",
            "0.8.11",
            "0.8.10",
            "0.8.9",
            "0.8.8",
            "0.8.7",
            "0.8.6",
            "0.8.5",
            "0.8.4",
            "0.8.3",
            "0.8.2",
            "0.8.1",
            "0.8.0",
            "0.7.2",
            "0.7.1",
            "0.7.0",
            "0.6.6",
            "0.6.5",
            "0.6.4",
            "0.6.3",
            "0.6.2",
            "0.6.1",
            "0.6.0",
            "0.5.0",
            "0.4.1",
            "0.4.0",
            "0.3.1",
            "0.3.0",
            "0.2.0",
            "0.1.1",
            "0.0.4",
            "0.0.3",
            "0.0.2",
            "0.0.1"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-47157.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:38.306078233Z",
      "provider": "osv",
      "references": [
        "https://github.com/subzeroid/aiograpi/releases/tag/0.9.10",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47157.json",
        "https://github.com/subzeroid/aiograpi/security/advisories/GHSA-jh37-x3fv-4x72",
        "https://nvd.nist.gov/vuln/detail/CVE-2026-47157",
        "https://github.com/subzeroid/aiograpi/commit/9c24151916beca622e588bfb3167c98711ff744f",
        "https://github.com/subzeroid/aiograpi/pull/274"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-918"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/47xxx/CVE-2026-47157.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-47157",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 505725,
  "published_at": "2026-06-11T17:18:21.071+00:00"
}