Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/47023?format=api",
    "purl": "pkg:pypi/mindsdb@24.12.2.0",
    "type": "pypi",
    "namespace": "",
    "name": "mindsdb",
    "version": "24.12.2.0",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": "26.0.0rc1",
    "latest_non_vulnerable_version": "26.0.0rc1",
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37211?format=api",
            "vulnerability_id": "VCID-stp6-86fa-cubn",
            "summary": "A security vulnerability has been detected in MindsDB up to 25.14.1. This vulnerability affects the function clear_filename of the file mindsdb/utilities/security.py of the component File Upload. Such manipulation leads to server-side request forgery. The attack may be performed from remote. The exploit has been disclosed publicly and may be used. The name of the patch is 74d6f0fd4b630218519a700fbee1c05c7fd4b1ed. It is best practice to apply a patch to resolve this issue.",
            "references": [
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mindsdb/mindsdb"
                },
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb/",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://github.com/mindsdb/mindsdb/"
                },
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb/issues/12163",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://github.com/mindsdb/mindsdb/issues/12163"
                },
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb/pull/12213",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://github.com/mindsdb/mindsdb/pull/12213"
                },
                {
                    "reference_url": "https://github.com/themavik/mindsdb/commit/74d6f0fd4b630218519a700fbee1c05c7fd4b1ed",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://github.com/themavik/mindsdb/commit/74d6f0fd4b630218519a700fbee1c05c7fd4b1ed"
                },
                {
                    "reference_url": "https://vuldb.com/?ctiid.346119",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://vuldb.com/?ctiid.346119"
                },
                {
                    "reference_url": "https://vuldb.com/?id.346119",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://vuldb.com/?id.346119"
                },
                {
                    "reference_url": "https://vuldb.com/?submit.748219",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "7.3",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L"
                        }
                    ],
                    "url": "https://vuldb.com/?submit.748219"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-2531",
                    "reference_id": "CVE-2026-2531",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-2531"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-6xw9-2p64-7622",
                    "reference_id": "GHSA-6xw9-2p64-7622",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-6xw9-2p64-7622"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/47612?format=api",
                    "purl": "pkg:pypi/mindsdb@26.0.0rc1",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mindsdb@26.0.0rc1"
                }
            ],
            "aliases": [
                "CVE-2026-2531",
                "GHSA-6xw9-2p64-7622",
                "PYSEC-2026-91"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-stp6-86fa-cubn"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/37180?format=api",
            "vulnerability_id": "VCID-uab9-6bgh-efct",
            "summary": "MindsDB is a platform for building artificial intelligence from enterprise data. Prior to version 25.11.1, an unauthenticated path traversal in the file upload API lets any caller read arbitrary files from the server filesystem and move them into MindsDB’s storage, exposing sensitive data. The PUT handler in file.py directly joins user-controlled data into a filesystem path when the request body is JSON and source_type is not \"url\". Only multipart uploads and URL-sourced uploads receive sanitization; JSON uploads lack any call to clear_filename or equivalent checks. This vulnerability is fixed in 25.11.1.",
            "references": [
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mindsdb/mindsdb"
                },
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb/releases/tag/v25.11.1",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/mindsdb/mindsdb/releases/tag/v25.11.1"
                },
                {
                    "reference_url": "https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
                        }
                    ],
                    "url": "https://github.com/mindsdb/mindsdb/security/advisories/GHSA-qqhf-pm3j-96g7"
                },
                {
                    "reference_url": "https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.1",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:H"
                        }
                    ],
                    "url": "https://www.bluerock.io/post/cve-2025-68472-mindsdb-file-upload-path-traversal"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68472",
                    "reference_id": "CVE-2025-68472",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2025-68472"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-qqhf-pm3j-96g7",
                    "reference_id": "GHSA-qqhf-pm3j-96g7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-qqhf-pm3j-96g7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/47081?format=api",
                    "purl": "pkg:pypi/mindsdb@25.11.1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-stp6-86fa-cubn"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mindsdb@25.11.1"
                }
            ],
            "aliases": [
                "CVE-2025-68472",
                "GHSA-qqhf-pm3j-96g7",
                "PYSEC-2026-90"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-uab9-6bgh-efct"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/mindsdb@24.12.2.0"
}