Lookup for vulnerable packages by Package URL.

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

{
    "url": "http://public2.vulnerablecode.io/api/packages/73377?format=api",
    "purl": "pkg:npm/%40adonisjs/lucid@22.0.0-next.6",
    "type": "npm",
    "namespace": "@adonisjs",
    "name": "lucid",
    "version": "22.0.0-next.6",
    "qualifiers": {},
    "subpath": "",
    "is_vulnerable": false,
    "next_non_vulnerable_version": null,
    "latest_non_vulnerable_version": null,
    "affected_by_vulnerabilities": [],
    "fixing_vulnerabilities": [
        {
            "url": "http://public2.vulnerablecode.io/api/vulnerabilities/49695?format=api",
            "vulnerability_id": "VCID-jv3q-b2j8-6fbe",
            "summary": "Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State\n**Description**\nA Mass Assignment (CWE-915) vulnerability in AdonisJS Lucid may allow a remote attacker who can influence data that is passed into Lucid model assignments to overwrite the internal ORM state. This may lead to logic bypasses and unauthorized record modification within a table or model. This affects @adonisjs/lucid through version 21.8.1 and 22.x pre-release versions prior to 22.0.0-next.6. This has been patched in @adonisjs/lucid versions 21.8.2 and 22.0.0-next.6.",
            "references": [
                {
                    "reference_url": "https://github.com/adonisjs/lucid",
                    "reference_id": "",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/lucid"
                },
                {
                    "reference_url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22814",
                    "reference_id": "CVE-2026-22814",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-22814"
                },
                {
                    "reference_url": "https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f",
                    "reference_id": "GHSA-g5gc-h5hp-555f",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f"
                },
                {
                    "reference_url": "https://github.com/advisories/GHSA-g5gc-h5hp-555f",
                    "reference_id": "GHSA-g5gc-h5hp-555f",
                    "reference_type": "",
                    "scores": [],
                    "url": "https://github.com/advisories/GHSA-g5gc-h5hp-555f"
                }
            ],
            "fixed_packages": [
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73376?format=api",
                    "purl": "pkg:npm/%40adonisjs/lucid@21.8.2",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/lucid@21.8.2"
                },
                {
                    "url": "http://public2.vulnerablecode.io/api/packages/73377?format=api",
                    "purl": "pkg:npm/%40adonisjs/lucid@22.0.0-next.6",
                    "is_vulnerable": false,
                    "affected_by_vulnerabilities": [],
                    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/lucid@22.0.0-next.6"
                }
            ],
            "aliases": [
                "CVE-2026-22814",
                "GHSA-g5gc-h5hp-555f"
            ],
            "risk_score": null,
            "exploitability": null,
            "weighted_severity": null,
            "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jv3q-b2j8-6fbe"
        }
    ],
    "risk_score": null,
    "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/lucid@22.0.0-next.6"
}