Vulnerability Instance
Lookup for vulnerabilities affecting packages.
GET /api/vulnerabilities/49695?format=api
{ "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.", "aliases": [ { "alias": "CVE-2026-22814" }, { "alias": "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" } ], "affected_packages": [ { "url": "http://public2.vulnerablecode.io/api/packages/73375?format=api", "purl": "pkg:npm/%40adonisjs/lucid@22.0.0-next.0", "is_vulnerable": true, "affected_by_vulnerabilities": [ { "vulnerability": "VCID-jv3q-b2j8-6fbe" } ], "resource_url": "http://public2.vulnerablecode.io/packages/pkg:npm/%2540adonisjs/lucid@22.0.0-next.0" } ], "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" } ], "weaknesses": [ { "cwe_id": 915, "name": "Improperly Controlled Modification of Dynamically-Determined Object Attributes", "description": "The product receives input from an upstream component that specifies multiple attributes, properties, or fields that are to be initialized or updated in an object, but it does not properly control which attributes can be modified." }, { "cwe_id": 937, "name": "OWASP Top Ten 2013 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2013." }, { "cwe_id": 1035, "name": "OWASP Top Ten 2017 Category A9 - Using Components with Known Vulnerabilities", "description": "Weaknesses in this category are related to the A9 category in the OWASP Top Ten 2017." } ], "exploits": [], "severity_range_score": null, "exploitability": null, "weighted_severity": null, "risk_score": null, "resource_url": "http://public2.vulnerablecode.io/vulnerabilities/VCID-jv3q-b2j8-6fbe" }