{
  "id": "CVE-2026-21876",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-21876",
  "published_at": "2026-01-08T13:55:37.102Z",
  "title": "OWASP CRS has multipart bypass using multiple content-type parts",
  "vendor": "coreruleset",
  "product": "coreruleset",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-01-25T08:57:34Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": 16.8,
    "repo": "Mefhika120/CVE-2026-21876",
    "source": "github"
  },
  "poc_repo_count": 3,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The OWASP core rule set (CRS) is a set of generic attack detection rules for use with compatible web application firewalls. Prior to versions 4.22.0 and 3.3.8, the current rule 922110 has a bug when processing multipart requests with multiple parts. When the first rule in a chain iterates over a collection (like `MULTIPART_PART_HEADERS`), the capture variables (`TX:0`, `TX:1`) get overwritten with each iteration. Only the last captured value is available to the chained rule, which means malicious charsets in earlier parts can be missed if a later part has a legitimate charset. Versions 4.22.0 and 3.3.8 patch the issue.",
  "cwe": "CWE-794",
  "cpes": [
    "cpe:2.3:a:owasp:owasp_modsecurity_core_rule_set:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3,
    "nvd": 5.3
  },
  "repos": [
    {
      "repo": "Mefhika120/CVE-2026-21876",
      "url": "https://github.com/Mefhika120/CVE-2026-21876",
      "created_at": "2026-01-25T08:57:34Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 30,
      "suspicious": false,
      "suspicion_reasons": [
        "owner account created less than 7 days before the repo"
      ],
      "status": "analyzed",
      "owner_created_at": "2026-01-25T07:54:25Z"
    },
    {
      "repo": "CVEs-Labs/CVE-2026-21876",
      "url": "https://github.com/CVEs-Labs/CVE-2026-21876",
      "created_at": "2026-04-22T13:48:44Z",
      "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": "2026-02-18T18:40:37Z"
    },
    {
      "repo": "daytriftnewgen/CVE-2026-21876",
      "url": "https://github.com/daytriftnewgen/CVE-2026-21876",
      "created_at": "2026-06-06T11:26:40Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 1,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2020-04-26T15:24:08Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "coreruleset",
        "product": "coreruleset",
        "ranges": [
          "\u003c 4.22.0",
          "\u003c 3.3.8"
        ],
        "fixed_in": [
          "4.22.0",
          "3.3.8"
        ]
      }
    ],
    "upgrade": [
      "Upgrade coreruleset to 4.22.0 or 3.3.8 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/coreruleset/coreruleset/security/advisories/GHSA-36fv-25j3-r2c5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coreruleset/coreruleset/commit/80d80473abf71bd49bf6d3c1ab221e3c74e4eb83"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/coreruleset/coreruleset/commit/9917985de09a6cf38b3261faf9105e909d67a7d6"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coreruleset/coreruleset/releases/tag/v3.3.8"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/coreruleset/coreruleset/releases/tag/v4.22.0"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://www.exploit-db.com/exploits/52558",
      "source": "exploitdb",
      "title": "coreruleset 4.21.0 - Firewall Bypass",
      "published_at": "2026-05-13T00:00:00Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/submit",
      "headers": [
        {
          "name": "Accept",
          "value": "*/*"
        },
        {
          "name": "Origin",
          "value": "https://example.com"
        }
      ],
      "body_markers": [
        "--------------------------cmOi6twNhVJDu76bOwDTVz\nContent-Disposition: form-data; name=\"username\"\nContent-Type: text/plai"
      ],
      "content_type": "multipart/form-data; boundary=------------------------cmOi6twNhVJDu76bOwDTVz",
      "ports": [
        8083,
        18080
      ],
      "user_agents": [
        "curl/8.17.0"
      ],
      "protocol": "http",
      "repos": [
        "CVEs-Labs/CVE-2026-21876",
        "Mefhika120/CVE-2026-21876",
        "daytriftnewgen/CVE-2026-21876"
      ],
      "repo_count": 3,
      "confidence": 0.85,
      "evidence": [
        "CVEs-Labs/CVE-2026-21876/POC.txt:1",
        "Mefhika120/CVE-2026-21876/README.md:7",
        "daytriftnewgen/CVE-2026-21876/aspnet_stand/demo/send.py:35",
        "daytriftnewgen/CVE-2026-21876/springboot_stand/demo/send.py:40",
        "daytriftnewgen/CVE-2026-21876/springboot_undertow_stand/demo/send.py:40"
      ]
    }
  ],
  "rules": []
}
