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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.54%, higher than 46% of CVEs (2026-12-01)
- Published: 2026-01-13T19:42:14.346Z
- Modified: 2026-06-17T10:20:28.580Z
- Also known as: GHSA-g5gc-h5hp-555f
- Weaknesses: CWE-915
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- adonisjs lucid: < 21.8.2; >= 22.0.0-next.0, < 22.0.0-next.6
- @adonisjs/lucid (npm): before 21.8.2; from 22.0.0-next.0 before 22.0.0-next.6

## Every score

- GitHub_M: CVSS:4.0 8.2 High `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`
- GitHub: CVSS:4.0 High `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`

## References

- <https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-22814> (advisory)
- <https://github.com/adonisjs/lucid> (package)

## Sources

- CVE List: [CVE-2026-22814](https://www.cve.org/CVERecord?id=CVE-2026-22814), CVE Terms of Use, modified 2026-01-14
- GitHub Advisory Database: [GHSA-g5gc-h5hp-555f](https://github.com/advisories/GHSA-g5gc-h5hp-555f), CC-BY-4.0, modified 2026-02-03
- NVD: [CVE-2026-22814](https://nvd.nist.gov/vuln/detail/CVE-2026-22814), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-22814 · Whole record: https://cve.day/CVE-2026-22814.json · Rebuilt by cve.day 2026-11-25T22:59:12.815Z
