{"answers":{"affected":"2 open source packages ship an affected version, including instagrapi.","exploited":"There is no known exploitation of GHSA-ggxf-37hm-9wqf in the wild and no public exploit code.","fix":"Upgrade instagrapi to 2.6.9 or later.","what":"GHSA-ggxf-37hm-9wqf is a server-side request forgery vulnerability in instagrapi, published on 23 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for GHSA-ggxf-37hm-9wqf and fix it if it is affected.\n\nWhat it is: GHSA-ggxf-37hm-9wqf is a server-side request forgery vulnerability in instagrapi, published on 23 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: There is no known exploitation of GHSA-ggxf-37hm-9wqf in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- instagrapi (PyPI): affected all versions; fixed in 2.6.9\n- instagrapi (PyPI): affected all versions; fixed in 2.6.9\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/GHSA-ggxf-37hm-9wqf/ (Markdown: https://insights.sbomify.com/GHSA-ggxf-37hm-9wqf/index.md)","id":"GHSA-ggxf-37hm-9wqf","markdown":"https://insights.sbomify.com/GHSA-ggxf-37hm-9wqf/index.md","name":"GHSA-ggxf-37hm-9wqf","record":{"aliases":[],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["data_read","security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Instagram API library","requires_auth":"low_privilege","summary":"Attacker can force the library to send requests with session headers to arbitrary hosts via malicious challenge paths, potentially leaking data or bypassing controls.","user_interaction":"not_required","vuln_class":"ssrf"},"analysis_generated_by":"qwen3.8-flash-next","assigner":null,"cpe":[],"cvss":{"score":null,"severity":null,"source":null,"vector":null,"version":null},"cwes":[],"description":"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.","ecosystems":["PyPI"],"exploits":{"exploitdb":null,"first_seen":null,"github_poc":null,"max_poc_stars":null,"metasploit":null,"nuclei":null,"refs":[],"tier":null},"has_fix":true,"headline":"instagrapi: Unsafe signup challenge path handling in instagrapi","id":"GHSA-ggxf-37hm-9wqf","indexable":true,"kev":null,"kind":"advisory","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"ssrf","year":"2026"},"n_packages":2,"n_references":null,"packages":[{"ecosystem":"PyPI","fixed":["2.6.9"],"introduced":["0"],"last_affected":[],"package":"instagrapi","purl":null,"source":"GHSA-ggxf-37hm-9wqf"},{"ecosystem":"PyPI","fixed":["2.6.9"],"introduced":["0"],"last_affected":[],"package":"instagrapi","purl":"pkg:pypi/instagrapi","source":"GHSA-ggxf-37hm-9wqf"}],"products":null,"published":"2026-05-23","related":[],"sources":[{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"}],"ssvc":{"automatable":null,"exploitation":null,"technical_impact":null},"state":null,"updated":null,"vendors":null},"summary":"Attacker can force the library to send requests with session headers to arbitrary hosts via malicious challenge paths, potentially leaking data or bypassing controls.","url":"https://insights.sbomify.com/GHSA-ggxf-37hm-9wqf/"}