Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/803151?format=api",
    "purl": "pkg:pypi/pandasai@2.2.11",
    "type": "pypi",
    "namespace": "",
    "name": "pandasai",
    "version": "2.2.11",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": true,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/56629?format=api",
            "vulnerability_id": "VCID-k4v8-82h3-wudh",
            "summary": "PandasAI interactive prompt function Remote Code Execution (RCE)\nPandasAI uses an interactive prompt function that is vulnerable to prompt injection and run arbitrary Python code that can lead to Remote Code Execution (RCE) instead of the intended explanation of the natural language processing by the LLM. The security controls of PandasAI (2.4.3 and earlier) fail to distinguish between legitimate and malicious inputs, allowing the attackers to manipulate the system into executing untrusted code, leading to untrusted code execution (RCE), system compromise, or pivoting attacks on connected services.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2024-12366",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.05903",
                            "scoring_system": "epss",
                            "scoring_elements": "0.90783",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.07806",
                            "scoring_system": "epss",
                            "scoring_elements": "0.92131",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2024-12366"
                },
                {
                    "reference_url": "https://docs.getpanda.ai/v3/privacy-security",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-02-11T19:27:49Z/"
                        }
                    ],
                    "url": "https://docs.getpanda.ai/v3/privacy-security"
                },
                {
                    "reference_url": "https://docs.pandas-ai.com/advanced-security-agent",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:T/P:M/B:A/M:M/D:T/2025-02-11T19:27:49Z/"
                        }
                    ],
                    "url": "https://docs.pandas-ai.com/advanced-security-agent"
                },
                {
                    "reference_url": "https://github.com/sinaptik-ai/pandas-ai",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://github.com/sinaptik-ai/pandas-ai"
                },
                {
                    "reference_url": "https://www.kb.cert.org/vuls/id/148244",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://www.kb.cert.org/vuls/id/148244"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2024-12366",
                    "reference_id": "CVE-2024-12366",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "9.8",
                            "scoring_system": "cvssv3.1",
                            "scoring_elements": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H"
                        },
                        {
                            "value": "CRITICAL",
                            "scoring_system": "generic_textual",
                            "scoring_elements": ""
                        }
                    ],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-12366"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-vv2h-2w3q-3fx7",
                    "reference_id": "GHSA-vv2h-2w3q-3fx7",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-vv2h-2w3q-3fx7"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/803158?format=api",
                    "purl": "pkg:pypi/pandasai@3.0.0a1",
                    "is_vulnerable": true,
                    "affected_by_vulnerabilities": [
                        {
                            "vulnerability": "VCID-mzr7-u6ds-1ybs"
                        }
                    ],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pandasai@3.0.0a1"
                }
            ],
            "aliases": [
                "CVE-2024-12366",
                "GHSA-vv2h-2w3q-3fx7"
            ],
            "risk_score": 4.5,
            "exploitability": "0.5",
            "weighted_severity": "9.0",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-k4v8-82h3-wudh"
        },
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/307053?format=api",
            "vulnerability_id": "VCID-mzr7-u6ds-1ybs",
            "summary": "pandas-ai v3.0.0 was discovered to contain a SQL injection vulnerability via the pandasai.agent.base._execute_sql_query component.",
            "references": [
                {
                    "reference_url": "https://api.first.org/data/v1/epss?cve=CVE-2026-30273",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [
                        {
                            "value": "0.00038",
                            "scoring_system": "epss",
                            "scoring_elements": "0.11763",
                            "published_at": "2026-06-05T12:55:00Z"
                        },
                        {
                            "value": "0.00038",
                            "scoring_system": "epss",
                            "scoring_elements": "0.11722",
                            "published_at": "2026-06-07T12:55:00Z"
                        },
                        {
                            "value": "0.00038",
                            "scoring_system": "epss",
                            "scoring_elements": "0.11757",
                            "published_at": "2026-06-06T12:55:00Z"
                        },
                        {
                            "value": "0.0004",
                            "scoring_system": "epss",
                            "scoring_elements": "0.12241",
                            "published_at": "2026-06-08T12:55:00Z"
                        }
                    ],
                    "url": "https://api.first.org/data/v1/epss?cve=CVE-2026-30273"
                },
                {
                    "reference_url": "https://github.com/sinaptik-ai/pandas-ai",
                    "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"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-01T18:18:48Z/"
                        }
                    ],
                    "url": "https://github.com/sinaptik-ai/pandas-ai"
                },
                {
                    "reference_url": "https://gist.github.com/CafeD1/21c32edbf1b63fd88a79c290ed2a8059",
                    "reference_id": "21c32edbf1b63fd88a79c290ed2a8059",
                    "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"
                        },
                        {
                            "value": "Track",
                            "scoring_system": "ssvc",
                            "scoring_elements": "SSVCv2/E:N/A:Y/T:P/P:M/B:A/M:M/D:T/2026-04-01T18:18:48Z/"
                        }
                    ],
                    "url": "https://gist.github.com/CafeD1/21c32edbf1b63fd88a79c290ed2a8059"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30273",
                    "reference_id": "CVE-2026-30273",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-30273"
                }
            ],
            "fixed_packages": [],
            "aliases": [
                "CVE-2026-30273"
            ],
            "risk_score": 3.3,
            "exploitability": "0.5",
            "weighted_severity": "6.6",
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-mzr7-u6ds-1ybs"
        }
    ],
    "fixing_vulnerabilities": [],
    "risk_score": "4.5",
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:pypi/pandasai@2.2.11"
}