{
  "id": "CVE-2026-22814",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-22814",
  "published_at": "2026-01-13T19:42:14.346Z",
  "title": "Mass Assignment in AdonisJS Lucid Allows Overwriting Internal ORM State",
  "vendor": "adonisjs",
  "product": "lucid",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "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.",
  "cwe": "CWE-915",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "adonisjs",
        "product": "lucid",
        "ranges": [
          "\u003c 21.8.2",
          "\u003e= 22.0.0-next.0, \u003c 22.0.0-next.6"
        ],
        "fixed_in": [
          "21.8.2",
          "22.0.0-next.6"
        ]
      }
    ],
    "upgrade": [
      "Upgrade lucid to 21.8.2 or 22.0.0-next.6 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/adonisjs/lucid/security/advisories/GHSA-g5gc-h5hp-555f"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
