{"id":"CVE-2026-22814","state":"PUBLISHED","title":"Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State","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.","publishedAt":"2026-01-13T19:42:14.346Z","updatedAt":"2026-01-14T17:26:12.012Z","severity":{"score":8.2,"label":"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","source":"GitHub_M"},"assigner":"GitHub_M","products":["adonisjs lucid"],"affected":[{"vendor":"adonisjs","product":"lucid","versions":[{"version":"< 21.8.2","status":"affected"},{"version":">= 22.0.0-next.0, < 22.0.0-next.6","status":"affected"}]}],"references":["https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f"],"weaknesses":["CWE-915"],"ingestedAt":"2026-10-29T20:11:21.040Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/22xxx/CVE-2026-22814.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-22814","state":"PUBLISHED","datePublished":"2026-01-13T19:42:14.346Z","dateUpdated":"2026-01-14T17:26:12.012Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-01-09T22:50:10.288Z"},"containers":{"cna":{"title":"Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State","descriptions":[{"lang":"en","value":"@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."}],"affected":[{"vendor":"adonisjs","product":"lucid","versions":[{"version":"< 21.8.2","status":"affected"},{"version":">= 22.0.0-next.0, < 22.0.0-next.6","status":"affected"}]}],"references":[{"url":"https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f","name":"https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f","tags":["x_refsource_CONFIRM"]}],"metrics":[{"cvssV4_0":{"attackVector":"NETWORK","attackComplexity":"LOW","attackRequirements":"PRESENT","privilegesRequired":"NONE","userInteraction":"NONE","vulnConfidentialityImpact":"NONE","vulnIntegrityImpact":"HIGH","vulnAvailabilityImpact":"NONE","subConfidentialityImpact":"NONE","subIntegrityImpact":"NONE","subAvailabilityImpact":"NONE","baseScore":8.2,"baseSeverity":"HIGH","vectorString":"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","version":"4.0"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-915","lang":"en","description":"CWE-915: Improperly Controlled Modification of Dynamically-Determined Object Attributes","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-01-13T19:42:14.346Z"},"source":{"advisory":"GHSA-g5gc-h5hp-555f","discovery":"UNKNOWN"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2026-01-14T17:26:06.187349Z","id":"CVE-2026-22814","options":[{"Exploitation":"none"},{"Automatable":"yes"},{"Technical Impact":"partial"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2026-01-14T17:26:12.012Z"}}]}}}