Lookup for vulnerable packages by Package URL.

GET /api/packages/49676?format=api
HTTP 200 OK
Allow: GET, HEAD, OPTIONS
Content-Type: application/json
Vary: Accept

{
    "url": "http://public2.vulnerablecode.io/api/packages/49676?format=api",
    "purl": "pkg:pypi/authlib@1.6.7",
    "type": "pypi",
    "namespace": "",
    "name": "authlib",
    "version": "1.6.7",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.6.11",
    "latest_non_vulnerable_version": "1.6.11",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37302?format=api",
            "vulnerability_id": "VCID-hrf7-xz6n-efcg",
            "summary": "Authlib is a Python library which builds OAuth and OpenID Connect servers. Prior to 1.6.11, there is no CSRF protection on the cache feature in authlib.integrations.starlette_client.OAuth.  This vulnerability is fixed in 1.6.11.",
            "references": [
                {
                    "reference_url": "https://github.com/authlib/authlib/security/advisories/GHSA-jj8c-mmj3-mmgv",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "5.4",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:L/A:N"
                        }
                    ],
                    "url": "https://github.com/authlib/authlib/security/advisories/GHSA-jj8c-mmj3-mmgv"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/49680?format=api",
                    "purl": "pkg:pypi/authlib@1.6.11",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/authlib@1.6.11"
                }
            ],
            "aliases": [
                "CVE-2026-41425",
                "GHSA-jj8c-mmj3-mmgv",
                "PYSEC-2026-25"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-hrf7-xz6n-efcg"
        }
    ],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50683?format=api",
            "vulnerability_id": "VCID-z4uj-gecb-1ucd",
            "summary": "Authlib: Setting `alg: none` and a blank signature appears to bypass signature verification\nAfter upgrading the library from 1.5.2 to 1.6.0 (and the latest 1.6.5) it was noticed that previous tests involving passing a malicious JWT containing alg: none and an empty signature was passing the signature verification step without any changes to the application code when a failure was expected.",
            "references": [
                {
                    "reference_url": "https://github.com/authlib/authlib",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/authlib/authlib"
                },
                {
                    "reference_url": "https://github.com/authlib/authlib/commit/a61c2acb807496e67f32051b5f1b1d5ccf8f0a75",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/authlib/authlib/commit/a61c2acb807496e67f32051b5f1b1d5ccf8f0a75"
                },
                {
                    "reference_url": "https://github.com/authlib/authlib/commit/b87c32ed07b8ae7f805873e1c9cafd1016761df7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/authlib/authlib/commit/b87c32ed07b8ae7f805873e1c9cafd1016761df7"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28802",
                    "reference_id": "CVE-2026-28802",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-28802"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-7wc2-qxgw-g8gg",
                    "reference_id": "GHSA-7wc2-qxgw-g8gg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-7wc2-qxgw-g8gg"
                },
                {
                    "reference_url": "https://github.com/authlib/authlib/security/advisories/GHSA-7wc2-qxgw-g8gg",
                    "reference_id": "GHSA-7wc2-qxgw-g8gg",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/authlib/authlib/security/advisories/GHSA-7wc2-qxgw-g8gg"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/49676?format=api",
                    "purl": "pkg:pypi/authlib@1.6.7",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-hrf7-xz6n-efcg"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/authlib@1.6.7"
                }
            ],
            "aliases": [
                "CVE-2026-28802",
                "GHSA-7wc2-qxgw-g8gg"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-z4uj-gecb-1ucd"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/authlib@1.6.7"
}