Advisory Database
  • Advisories
  • Dependency Scanning
  1. pypi
  2. ›
  3. instagrapi
  4. ›
  5. GHSA-ggxf-37hm-9wqf

GHSA-ggxf-37hm-9wqf: instagrapi: Unsafe signup challenge path handling in instagrapi

May 23, 2026

instagrapi versions before 2.6.9 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 2.6.9 validates challenge paths before building URLs, solving captcha challenges, or submitting phone/SMS challenge forms.

References

  • github.com/advisories/GHSA-ggxf-37hm-9wqf
  • github.com/subzeroid/instagrapi/security/advisories/GHSA-ggxf-37hm-9wqf

Code Behaviors & Features

Detect and mitigate GHSA-ggxf-37hm-9wqf with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 2.6.9

Fixed versions

  • 2.6.9

Solution

Upgrade to version 2.6.9 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Learn more about CVSS

Weakness

  • CWE-918: Server-Side Request Forgery (SSRF)

Source file

pypi/instagrapi/GHSA-ggxf-37hm-9wqf.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 23 May 2026 12:17:37 +0000.