Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/959838?format=api",
    "purl": "pkg:npm/%40cubejs-backend/server-core@0.29.37",
    "type": "npm",
    "namespace": "@cubejs-backend",
    "name": "server-core",
    "version": "0.29.37",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "1.0.14",
    "latest_non_vulnerable_version": "1.5.13",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/50084?format=api",
            "vulnerability_id": "VCID-qdb3-kvy6-kkby",
            "summary": "Cube Core is vulnerable to privilege escalation via a specially crafted request\n### **Impact**\n\nIt is possible to make a specially crafted request with a valid API token that leads to privilege escalation.\n\n### Affected Versions:\n\n`≥= 0.27.19` \n\n### Mitigation:\n\nUpgrade to a patched version:\n\n- 1.5.13 and later (regular release)\n- 1.4.2 (active [LTS release](https://cube.dev/docs/product/administration/distribution#long-term-support))\n- 1.0.14 (end-of-life LTS release)\n\n### **References**\n\nThe issue was reported by our Core engineer, Dmitrii Patsura (@ovr), in our internal Slack and was promptly patched in a recent update.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-25958",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.06545",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.06506",
                            "published_at": "2026-06-09T12:55:00Z"
                        },
                        {
                            "value": "0.00022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.06504",
                            "published_at": "2026-06-08T12:55:00Z"
                        },
                        {
                            "value": "0.00022",
                            "scoring_system": "epss",
                            "scoring_elements": "0.06556",
                            "published_at": "2026-06-06T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-25958"
                },
                {
                    "reference_url": "https://github.com/cube-js/cube",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/cube-js/cube"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25958",
                    "reference_id": "CVE-2026-25958",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-25958"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-v226-32c7-x2v7",
                    "reference_id": "GHSA-v226-32c7-x2v7",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/advisories/GHSA-v226-32c7-x2v7"
                },
                {
                    "reference_url": "https://github.com/cube-js/cube/security/advisories/GHSA-v226-32c7-x2v7",
                    "reference_id": "GHSA-v226-32c7-x2v7",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.7",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:N/A:N"
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "cvssv3.1_qr",
                            "scoring_elements": ""
                        },
                        {
                            "value": "HIGH",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-11T21:26:50Z/"
                        }
                    ],
                    "url": "https://github.com/cube-js/cube/security/advisories/GHSA-v226-32c7-x2v7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73961?format=api",
                    "purl": "pkg:npm/%40cubejs-backend/server-core@1.0.14",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540cubejs-backend/server-core@1.0.14"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73962?format=api",
                    "purl": "pkg:npm/%40cubejs-backend/server-core@1.4.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540cubejs-backend/server-core@1.4.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73963?format=api",
                    "purl": "pkg:npm/%40cubejs-backend/server-core@1.5.13",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540cubejs-backend/server-core@1.5.13"
                }
            ],
            "aliases": [
                "CVE-2026-25958",
                "GHSA-v226-32c7-x2v7"
            ],
            "risk_score": 4.0,
            "exploitability": "0.5",
            "weighted_severity": "8.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-qdb3-kvy6-kkby"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.0",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540cubejs-backend/server-core@0.29.37"
}