CVE-2026-22814
January 13, 2026
@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.
Affected Packages
https://github.com/adonisjs/lucid.git (GITHUB):
Affected version(s) >=v22.0.0-next.0 <v22.0.0-next.6Fix Suggestion:
Update to version v22.0.0-next.6https://github.com/adonisjs/lucid.git (GITHUB):
Affected version(s) >=v3.0.0 <v21.8.2Fix Suggestion:
Update to version v21.8.2@adonisjs/lucid (NPM):
Affected version(s) >=22.0.0-next.0 <22.0.0-next.6Fix Suggestion:
Update to version 22.0.0-next.6@adonisjs/lucid (NPM):
Affected version(s) >=4.0.0 <21.8.2Fix Suggestion:
Update to version 21.8.2Related Resources (3)
Do you need more information?
Contact UsCVSS v4
Base Score:
8.2
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
PRESENT
Privileges Required
NONE
User Interaction
NONE
Vulnerable System Confidentiality
NONE
Vulnerable System Integrity
HIGH
Vulnerable System Availability
NONE
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
CVSS v3
Base Score:
7.5
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
NONE
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
NONE
Integrity
HIGH
Availability
NONE
Weakness Type (CWE)
Improperly Controlled Modification of Dynamically-Determined Object Attributes
EPSS
Base Score:
0.10