CVE-2026-22814 Details
Description
@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.
A mass assignment vulnerability has been identified in @adonisjs/lucid, an SQL ORM for AdonisJS that uses Knex. This vulnerability exists in versions through 21.8.1 and in pre-release versions of 22.x prior to 22.0.0-next.6. The issue allows remote attackers to overwrite the internal state of the ORM by manipulating data passed into model assignments. This could lead to unauthorized modifications of records or logic bypasses within a model or table.
Upgrade to @adonisjs/lucid versions 21.8.2 or 22.0.0-next.6. Developers can also mitigate this vulnerability by strictly validating model inputs with an allow list that removes unknown keys.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jan 13, 2026CISA-ADP
Assessed Jan 14, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f | [email protected] | AdvisoryRemedyVendor |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| @adonisjs/lucid | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 13, 2026 | New CVE Received | [email protected] |
Volerion