CVE-2026-22814 Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State

High 8.2 Published Updated

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.

PackageAffectedFixed in
@adonisjs/lucid npmAll versions21.8.2
@adonisjs/lucid npmAll versions21.8.2
@adonisjs/lucid npmFrom 22.0.0-next.022.0.0-next.6
@adonisjs/lucid npmFrom 22.0.0-next.022.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.

Is CVE-2026-22814 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free