Skip to content
OpenAdvisories
High · 8.2 CVE-2026-22814 EUVD-2026-2020GHSA-g5gc-h5hp-555f

Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State

Published Jan 13, 2026 · Updated Jan 14, 2026 · Assigned by GitHub_M

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.

Affected products

VendorProductAffectedFixed
adonisjs lucid < 21.8.2, >= 22.0.0-next.0, < 22.0.0-next.6 —

Affected packages

EcosystemPackageAffectedFixedRecord
npm @adonisjs/lucid < 21.8.2 21.8.2 GHSA-g5gc-h5hp-555f
npm @adonisjs/lucid >= 22.0.0-next.0, < 22.0.0-next.6 22.0.0-next.6 GHSA-g5gc-h5hp-555f

References