CVE-2026-22814: @adonisjs/lucid - Broken Access Control
- Cve: CVE-2026-22814
- Name: @adonisjs/lucid - Broken Access Control
- 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.
- Impact: Remote attackers can bypass logic and modify unauthorized records within the ORM, leading to data integrity issues.
- Remediation: Update to versions 21.8.2 or 22.0.0-next.6 or later.
- Vulnerability type: broken_access_control
- Vulnerability impact: data_tampering
- Requirement type: none
- Labels source: projectdiscovery
- Severity: high
- Cvss score: 8.2
- Cvss 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
- Epss score: 0.00536
- Epss percentile: 0.45846
- Assignee: [email protected]
- Published at: 2026-01-13T20:16:11Z
- Age in days: 315
- Modified at: 2026-06-17T10:20:28Z
- References total: 1
- Oss: yes
- Projects total: 1
- Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-22814
- Nvd status: deferred
- Checked, none or zero: patch available, known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, products total, products, rejected by nvd
- Not known: requirements, hackerone
Cwe
| Id | Name |
|---|---|
| CWE-915 | Improperly Controlled Modification of Dynamically-Determined Object Attributes |
References
| Url | Source | Tags |
|---|---|---|
| https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f | nvd |
Projects
| Repository | Link kinds | Indexed | Url |
|---|---|---|---|
| adonisjs/lucid | package, security_advisory | yes | /v1/repositories/adonisjs/lucid |
Index
- Checked, none or zero: repositories, repositories high signal, packages
Exploitation
- Remote: yes
- Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access, authentication required
- Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports, exposed hosts