CVE-2026-22814
HIGH 8.2CVSS 4.0Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State
@adonisjs/lucid is an SQL ORM for AdonisJS built on top of Knex. Prior to 21.8.2 and 22.0.0-next.6, there is a Mass Assignment vulnerability in AdonisJS Lucid which 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.
- Published
- 13 Jan 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-915
- Also known as
- GHSA-g5gc-h5hp-555f
- Sources
- NVDJSONOSV GHSA-g5gc-h5hp-555fJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 4.0 | HIGH 8.2 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X |
| OSV | GitHub | CVSS 4.0 | CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | npm | @adonisjs/lucid | < 21.8.2 | 21.8.2 |
| OSV | npm | @adonisjs/lucid | >= 22.0.0-next.0, < 22.0.0-next.6 | 22.0.0-next.6 |
References
- https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2026-22814 · ADVISORY
- https://github.com/adonisjs/lucid · PACKAGE
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 13 Jan 2026)
- 25 Nov 2026 20:11 UTC · OSV: first stored (published 13 Jan 2026)