{"id":"CVE-2026-22814","published":"2026-01-13T19:42:14Z","modified":"2026-01-14T17:26:12Z","title":"Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State","vendor":"adonisjs","product":"lucid","tier":"tail","description":{"text":"@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.","provenance":"source","from":"CVE.org"},"cvss":{"score":8.2,"severity":"HIGH","version":"4.0","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00901,"percentile":0.57686,"provenance":"source"},"cwes":[{"id":"CWE-915","name":"Improperly Controlled Modification of Dynamically-Determined Object Attributes"}],"references":[{"url":"https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f","tags":["x_refsource_CONFIRM"]}],"priority":{"score":17.3,"factors":[{"name":"EPSS percentile","points":11.54},{"name":"CVSS severity","points":5.74}]},"vendorSlug":"adonisjs","affectedVersions":[{"vendor":"adonisjs","product":"lucid","versions":["< 21.8.2",">= 22.0.0-next.0, < 22.0.0-next.6"]}],"ssvc":{"exploitation":"none","automatable":"yes","technicalImpact":"partial","timestamp":"2026-01-14T17:26:06.187349Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@adonisjs/lucid","vulnerableRanges":["<21.8.2",">=22.0.0-next.0, <22.0.0-next.6"],"patched":["21.8.2","22.0.0-next.6"],"from":["GHSA-g5gc-h5hp-555f"],"provenance":"source"}],"summary":{"text":"A mass assignment flaw in the Lucid SQL ORM for AdonisJS (@adonisjs/lucid, built on Knex) lets data passed into model assignments overwrite the ORM's internal state in versions through 21.8.1 and 22.x pre-releases before 22.0.0-next.6. An attacker with remote network access who can influence the data passed into Lucid model assignments, requiring no authentication or user interaction, can bypass application logic and modify records within a table or model.","provenance":"ai","model":"claude-haiku-5-5","generatedAt":"2026-11-20T21:30:37Z"},"euvd":{"id":"EUVD-2026-2020","exploited":false,"provenance":"source"}}