CVE-2026-22814adonisjs lucid
High 8.2 No auth needed
Follow: this CVE · adonisjs · adonisjs lucid We alert you by email or Slack (account required).
- Priority
- 64
- CVSS 4.0
- 8.2
- EPSS
- —
- Auth required
- No
- Published
- Jan 13, 2026
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-915
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
@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.
What to do
- Apply the vendor's security update for lucid.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @adonisjs/lucid |
< 21.8.2 |
21.8.2 |
npm install @adonisjs/lucid@21.8.2 |
| npm | @adonisjs/lucid |
≥ 22.0.0-next.0 < 22.0.0-next.6 |
22.0.0-next.6 |
npm install @adonisjs/lucid@22.0.0-next.6 |
Per OSV / GitHub Advisories (GHSA-g5gc-h5hp-555f). Check the version in your lockfile before upgrading.
Affected products
- adonisjs · lucid
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.