Vulnerabilities in pkg:pypi/aiograpi
PACKAGECVE-2026-47157 is a MODERATE (CVSS 6.5) unsafe signup challenge path handling vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting aiograpi libraries in the PyPI ecosystem. The issue involves unsafe signup challenge path handling. Remediation is available by upgrading affected packages to version 0.9.10.
pkg:pypi/aiograpi
Vulnerability advisories affecting package pkg:pypi/aiograpi. Select an advisory below to view technical details or fixes.
| Advisory ID | CVE / NVD | Severity | Summary |
|---|---|---|---|
| GHSA-jh37-x3fv-4x72 | CVE-2026-47157 | MODERATE | aiograpi: Unsafe signup challenge path handling |
| GHSA-7mw3-79jq-xc7f | - | LOW | aiograpi has dependency on vulnerable orjson 3.11.4 (CVE-2025-67221) |
CVE-2026-47157 at a Glance
Security Impact
CVSS: 6.5
The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N).
How to Fix CVE-2026-47157
To remediate this vulnerability, upgrade all affected aiograpi dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.
pip install aiograpi>=0.9.10
Run the following command in your project directory to verify that all resolved dependencies use the patched release:
pip show aiograpi
How to Check if You Are Affected
To determine whether your Python environment is affected by CVE-2026-47157, inspect your installed packages using pip:
pip show aiograpi
Analyze the terminal output to locate any version of aiograpi in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.9.10), your application is affected.
Note: The pip show aiograpi command checks currently installed packages in your active Python environment.
Technical Details
Vulnerability Mechanism & Technical Analysis
This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In aiograpi, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.
Source Advisory Statement
CVE-2026-47157 Affected aiograpi Versions
1 component(s)| Product / Package | Ecosystem | Affected Versions | Fixed Version |
|---|---|---|---|
|
aiograpi
|
PyPI |
< 0.9.10
|
0.9.10
|
References
Frequently Asked Questions
What is CVE-2026-47157?
Which aiograpi versions are affected?
What version fixes CVE-2026-47157?
Is aiograpi affected?
What is the CVSS score of CVE-2026-47157?
What CWE is associated with CVE-2026-47157?
How can I check PyPI dependencies for CVE-2026-47157?
Machine-readable OSV JSON
OSV v1.5 Schema
{
"schema_version" : "1.4.0",
"id" : "GHSA-jh37-x3fv-4x72",
"modified" : "2026-06-12T19:25:40Z",
"published" : "2026-05-23T00:11:53Z",
"aliases" : [ "CVE-2026-47157" ],
"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" : [ {
"type" : "CVSS_V3",
"score" : "CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
} ],
"affected" : [ {
"package" : {
"ecosystem" : "PyPI",
"name" : "aiograpi"
},
"ranges" : [ {
"type" : "ECOSYSTEM",
"events" : [ {
"introduced" : "0"
}, {
"fixed" : "0.9.10"
} ]
} ]
} ],
"references" : [ {
"type" : "WEB",
"url" : "https://github.com/subzeroid/aiograpi/security/advisories/GHSA-jh37-x3fv-4x72"
}, {
"type" : "ADVISORY",
"url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47157"
}, {
"type" : "WEB",
"url" : "https://github.com/subzeroid/aiograpi/pull/274"
}, {
"type" : "WEB",
"url" : "https://github.com/subzeroid/aiograpi/commit/9c24151916beca622e588bfb3167c98711ff744f"
}, {
"type" : "PACKAGE",
"url" : "https://github.com/subzeroid/aiograpi"
}, {
"type" : "WEB",
"url" : "https://github.com/subzeroid/aiograpi/releases/tag/0.9.10"
} ],
"database_specific" : {
"cwe_ids" : [ "CWE-918" ],
"severity" : "MODERATE",
"github_reviewed" : true,
"github_reviewed_at" : "2026-05-23T00:11:53Z",
"nvd_published_at" : "2026-06-11T18:16:26Z"
}
}