CVE-2026-22814 Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State
Attackers can overwrite internal ORM state via mass assignment, leading to unauthorized record modification and logic bypasses in AdonisJS applications.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2026-22814?
CVE-2026-22814 is a high-severity vulnerability in adonisjs lucid, published on 13 Jan 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-915
Which versions are affected by CVE-2026-22814?
4 open source packages ship an affected version, including @adonisjs/lucid.
| Package | Affected | Fixed in |
|---|---|---|
@adonisjs/lucid npm | All versions | 21.8.2 |
@adonisjs/lucid npm | All versions | 21.8.2 |
@adonisjs/lucid npm | From 22.0.0-next.0 | 22.0.0-next.6 |
@adonisjs/lucid npm | From 22.0.0-next.0 | 22.0.0-next.6 |
How do I fix CVE-2026-22814?
Upgrade @adonisjs/lucid to a fixed version for your release line: 21.8.2 or 22.0.0-next.6.
Is CVE-2026-22814 being exploited?
There is no known exploitation of CVE-2026-22814 in the wild and no public exploit code.
Sources
Also known as GHSA-g5gc-h5hp-555f.