LiveActive security incident?Get immediate response
CVE Record

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

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

HighCVSS 8.2Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

AdonisJS Lucid, an ORM used by Node.js applications, allowed untrusted input passed into model assignments to overwrite internal ORM state. In affected versions, this can cause authorization or business logic bypasses and unauthorized changes to records. Organizations using Lucid should prioritize upgrading because the issue is remotely reachable when applications pass attacker-controlled data into model assignment paths.

Executive priority

Treat as a high-priority application dependency upgrade for AdonisJS services. The business risk is unauthorized data modification where vulnerable Lucid model assignments are exposed to user-controlled input.

Technical view

CVE-2026-22814 is a CWE-915 mass assignment flaw in @adonisjs/lucid before 21.8.2 and 22.0.0-next.6. A remote unauthenticated attacker may influence data passed into Lucid model assignments and overwrite internal ORM state. Reported impact is high integrity compromise, including logic bypasses and unauthorized record modification within a table or model.

Likely exposure

Exposure is limited to applications using @adonisjs/lucid versions below 21.8.2, or 22.x pre-release versions before 22.0.0-next.6. Risk depends on whether external input reaches Lucid model assignment operations.

Exploitation context

The CVE record reports network attack vector, low complexity, no privileges, and no user interaction, with a precondition that attacker-controlled data reaches model assignments. The source bundle does not indicate known active exploitation, and KEV status is false.

Researcher notes

Evidence is currently centered on the CVE record and GitHub advisory. No exploit details or active exploitation evidence are provided in the source bundle. Focus review on mass assignment patterns, internal ORM state handling, and authorization-sensitive model updates.

Mitigation direction

  • Upgrade @adonisjs/lucid to 21.8.2 or later.
  • For 22.x pre-release, upgrade to 22.0.0-next.6 or later.
  • Review vendor advisory for any additional project-specific guidance.
  • Avoid passing unvalidated external input directly into model assignment flows.

Validation and detection

  • Inventory applications and dependencies for @adonisjs/lucid versions.
  • Confirm installed versions are not below 21.8.2 or vulnerable 22.x pre-releases.
  • Review code paths where request data is assigned to Lucid models.
  • Confirm dependency lockfiles and deployed artifacts reflect patched versions.
Prepared
Confidence
high
Sources
3

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-915: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2026-22814 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.2 (4.0)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
2Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.2CVSS 4.0HighCVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N——Primary CVE score

Vulnerability scoring details

Base CVSS 4.0 score

8.2High
CVSS 4.0 vector shape for CVE-2026-22814Attack VectorAttack ComplexityAttack RequirementsPrivileges RequiredUser InteractionVS ConfidentialityVS IntegrityVS AvailabilitySS ConfidentialitySS IntegritySS Availability

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Attack Requirements
NonePresent
Privileges Required
NoneLowHigh
User Interaction
NonePassiveActive
VS Confidentiality
HighLowNone
VS Integrity
HighLowNone
VS Availability
HighLowNone
SS Confidentiality
HighLowNone
SS Integrity
HighLowNone
SS Availability
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
adonisjslucid< 21.8.2, >= 22.0.0-next.0, < 22.0.0-next.6Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-915 · source CWE mapping

Improperly Controlled Modification of Dynamically-Determined Object Attributes

Improperly Controlled Modification of Dynamically-Determined Object Attributes represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.