Lookup for vulnerabilities affecting packages.

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

{
    "url": "http://public2.vulnerablecode.io/api/vulnerabilities/51309?format=api",
    "vulnerability_id": "VCID-c1pr-7t6u-hkcr",
    "summary": "PyJWT is a JSON Web Token implementation in Python. From 2.8.0 to 2.12.1, when verifying detached JWS tokens using the unencoded-payload option (\"b64\": false, RFC 7797), PyJWT performs Base64URL decoding of the compact-serialization payload segment before enforcing the detached-payload rules. For b64=false, PyJWT later discards that decoded payload and replaces it with the caller-provided detached_payload. In practice, this turns the middle segment into an attacker-controlled “work amplifier”: a remote client can supply an arbitrarily large Base64URL payload segment that forces CPU work + memory allocations even if the signature is invalid. This creates an unauthenticated DoS vector against any endpoint that verifies detached JWS using PyJWT. This vulnerability is fixed in 2.13.0.",
    "aliases": [
        {
            "alias": "CVE-2026-48525"
        },
        {
            "alias": "GHSA-w7vc-732c-9m39"
        },
        {
            "alias": "PYSEC-2026-178"
        }
    ],
    "fixed_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75267?format=api",
            "purl": "pkg:pypi/pyjwt@2.13.0",
            "is_vulnerable": false,
            "affected_by_vulnerabilities": [],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.13.0"
        }
    ],
    "affected_packages": [
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48750?format=api",
            "purl": "pkg:pypi/pyjwt@2.8.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                },
                {
                    "vulnerability": "VCID-gptc-c34t-g3e4"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.8.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48751?format=api",
            "purl": "pkg:pypi/pyjwt@2.9.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                },
                {
                    "vulnerability": "VCID-gptc-c34t-g3e4"
                },
                {
                    "vulnerability": "VCID-hqrd-7f5d-nbh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.9.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48752?format=api",
            "purl": "pkg:pypi/pyjwt@2.10.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                },
                {
                    "vulnerability": "VCID-gptc-c34t-g3e4"
                },
                {
                    "vulnerability": "VCID-hqrd-7f5d-nbh1"
                },
                {
                    "vulnerability": "VCID-v78m-eyzf-abae"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.10.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48753?format=api",
            "purl": "pkg:pypi/pyjwt@2.10.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                },
                {
                    "vulnerability": "VCID-gptc-c34t-g3e4"
                },
                {
                    "vulnerability": "VCID-hqrd-7f5d-nbh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.10.1"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48754?format=api",
            "purl": "pkg:pypi/pyjwt@2.11.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                },
                {
                    "vulnerability": "VCID-gptc-c34t-g3e4"
                },
                {
                    "vulnerability": "VCID-hqrd-7f5d-nbh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.11.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/48755?format=api",
            "purl": "pkg:pypi/pyjwt@2.12.0",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                },
                {
                    "vulnerability": "VCID-hqrd-7f5d-nbh1"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.12.0"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/packages/75266?format=api",
            "purl": "pkg:pypi/pyjwt@2.12.1",
            "is_vulnerable": true,
            "affected_by_vulnerabilities": [
                {
                    "vulnerability": "VCID-2n5t-qfqc-mfbv"
                },
                {
                    "vulnerability": "VCID-35nm-u4sh-nugf"
                },
                {
                    "vulnerability": "VCID-c1pr-7t6u-hkcr"
                },
                {
                    "vulnerability": "VCID-cdtk-hczs-jud3"
                }
            ],
            "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pyjwt@2.12.1"
        }
    ],
    "references": [
        {
            "reference_url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-48525.json",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://access.redhat.com/hydra/rest/securitydata/cve/CVE-2026-48525.json"
        },
        {
            "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-48525",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "0.00054",
                    "scoring_system": "epss",
                    "scoring_elements": "0.17198",
                    "published_at": "2026-06-05T12:55:00Z"
                }
            ],
            "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-48525"
        },
        {
            "reference_url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48525",
            "reference_id": "",
            "reference_type": "",
            "scores": [],
            "url": "https://cve.mitre.org/cgi-bin/cvename.cgi?name=CVE-2026-48525"
        },
        {
            "reference_url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "7.5",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H"
                }
            ],
            "url": "https://ftp.suse.com/pub/projects/security/yaml/suse-cvss-scores.yaml"
        },
        {
            "reference_url": "https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w7vc-732c-9m39",
            "reference_id": "",
            "reference_type": "",
            "scores": [
                {
                    "value": "5.3",
                    "scoring_system": "cvssv3.1",
                    "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L"
                }
            ],
            "url": "https://github.com/jpadilla/pyjwt/security/advisories/GHSA-w7vc-732c-9m39"
        },
        {
            "reference_url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138191",
            "reference_id": "1138191",
            "reference_type": "",
            "scores": [],
            "url": "https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=1138191"
        },
        {
            "reference_url": "https://bugzilla.redhat.com/show_bug.cgi?id=2482752",
            "reference_id": "2482752",
            "reference_type": "",
            "scores": [],
            "url": "https://bugzilla.redhat.com/show_bug.cgi?id=2482752"
        }
    ],
    "weaknesses": [
        {
            "cwe_id": 770,
            "name": "Allocation of Resources Without Limits or Throttling",
            "description": "The product allocates a reusable resource or group of resources on behalf of an actor without imposing any restrictions on the size or number of resources that can be allocated, in violation of the intended security policy for that actor."
        }
    ],
    "exploits": [],
    "severity_range_score": "5.3 - 7.5",
    "exploitability": "0.5",
    "weighted_severity": "4.8",
    "risk_score": 2.4,
    "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-c1pr-7t6u-hkcr"
}