@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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-g5gc-h5hp-555f Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

History

Tue, 13 Jan 2026 19:45:00 +0000

Type Values Removed Values Added
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.
Title Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State
Weaknesses CWE-915
References
Metrics cvssV4_0

{'score': 8.2, 'vector': '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'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-01-13T19:42:14.346Z

Reserved: 2026-01-09T22:50:10.288Z

Link: CVE-2026-22814

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-01-13T20:16:11.427

Modified: 2026-01-13T20:16:11.427

Link: CVE-2026-22814

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses