{
  "id": "CVE-2026-33157",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-33157",
  "published_at": "2026-03-24T17:22:00.966Z",
  "title": "Craft CMS: Potential authenticated Remote Code Execution via malicious attached Behavior",
  "vendor": "craftcms",
  "product": "cms",
  "cvss": {
    "score": 8.6,
    "source": "cna",
    "vector": "CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-09-21T19:16:15Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 181.1,
    "repo": "TRX-0/CVE-2026-33157-craftcms-rce",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Craft CMS is a content management system (CMS). From version 5.6.0 to before version 5.9.13, a Remote Code Execution (RCE) vulnerability exists in Craft CMS, it can be exploited by any authenticated user with control panel access. This is a bypass of a previous fix. The existing patches add cleanseConfig() to assembleLayoutFromPost() and various FieldsController actions to strip Yii2 behavior/event injection keys (\"as\" and \"on\" prefixed keys). However, the fieldLayouts parameter in ElementIndexesController::actionFilterHud() is passed directly to FieldLayout::createFromConfig() without any sanitization, enabling the same behavior injection attack chain. This issue has been patched in version 5.9.13.",
  "cwe": "CWE-470",
  "cpes": [
    "cpe:2.3:a:craftcms:craft_cms:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 8.6,
    "nvd": 7.2
  },
  "repos": [
    {
      "repo": "TRX-0/CVE-2026-33157-craftcms-rce",
      "url": "https://github.com/TRX-0/CVE-2026-33157-craftcms-rce",
      "created_at": "2026-09-21T19:16:15Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2016-04-06T14:00:57Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "craftcms",
        "product": "cms",
        "ranges": [
          "\u003e= 5.6.0, \u003c 5.9.13"
        ],
        "fixed_in": [
          "5.9.13"
        ]
      }
    ],
    "upgrade": [
      "Upgrade cms to 5.9.13 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/craftcms/cms/security/advisories/GHSA-2fph-6v5w-89hh"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/craftcms/cms/commit/97e90b4bdee369c1af3ca77a77531132df240e4e"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/craftcms/cms/releases/tag/5.9.13"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
