CVE-2026-22814 Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State
HighCVSS 8.2
EPSS 0.54%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: yes · technical impact: partial
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| adonisjs lucid(npm) | < 21.8.2; <= 21.8.1; >= 22.0.0-next.0, < 22.0.0-next.6 | 21.8.2, 22.0.0-next.6 | Fixed |
| adonisjs lucid | = < 21.8.2; = >= 22.0.0-next.0, < 22.0.0-next.6 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| adonisjs lucid | = < 21.8.2 | No fix listed |
| adonisjs lucid | = >= 22.0.0-next.0, < 22.0.0-next.6 | No fix listed |
| adonisjs lucid(npm) | <= 21.8.1 | No fix listed |
| adonisjs lucid(npm) | >= 22.0.0-next.0, < 22.0.0-next.6 | 22.0.0-next.6 |
| adonisjs lucid(npm) | < 21.8.2 | 21.8.2 |
References
- https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product