Skip to content
Heist/ feed
Back to feed
MediumFix available

Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection

Type: advisorySources: OSV2 source records

### Summary Coraza's JSON body processor converts nested JSON properties into dot-separated `ARGS_POST` names without escaping dots contained in literal property names. Two distinct JSON properties can therefore collapse into the same Coraza variable An unauthenticated attacker can place a malicious value in a nested property and then overwrite only Coraza's representation with a harmless dotted property: ```json { "account": { "role": "1' OR '1'='1" }, "account.role": "safe" } ``` Coraza stores both properties as `ARGS_POST:json.account.role`; the later value `safe` replaces the SQL-injection value. Standard backend JSON parsers preserve the two distinct properties and expose the malicious nested value as `account.role`. This bypasses the complete current OWASP Core Rule Set (CRS) for the hidden value. In the supplied control-pair PoC, CRS v4.25 blocks the nested SQL-injection value with rule `949110`. Adding the dotted decoy makes the same attack pass with no interruption, while Go's standard JSON parser still returns the malicious nested value. ### Details The affected component is the JSON body processor in [`internal/bodyprocessors/json.go`](https://github.com/corazawaf/coraza/blob/db9850b2dd8992f97a8cefe08d0cb4edd966a04c/internal/bodyprocessors/json.go#L21-L48). `readJSON` creates a single `map[string]string` and begins every generated path with `json`: ```go func readJSON(s string, maxRecursion int) (map[string]string, error) { res := make(map[string]string) key := []b

Products
github.com/corazawaf/coraza, github.com/corazawaf/coraza/v2, github.com/corazawaf/coraza/v3
Affected versions
Not specified
Fixed versions
3.8.1
CVEs
CVE-2026-114099
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 14:08 UTC · Revision 2

Source evidence

Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection

core-osv · Original source

Published 8 Oct 2026, 17:45 UTC

### Summary Coraza's JSON body processor converts nested JSON properties into dot-separated `ARGS_POST` names without escaping dots contained in literal property names. Two distinct JSON properties can therefore collapse into the same Coraza variable An unauthenticated attacker can place a malicious value in a nested property and then overwrite only Coraza's representation with a harmless dotted property: ```json { "account": { "role": "1' OR '1'='1" }, "account.role": "safe" } ``` Coraza stores both properties as `ARGS_POST:json.account.role`; the later value `safe` replaces the SQL-injection value. Standard backend JSON parsers preserve the two distinct properties and expose the malicious nested value as `account.role`. This bypasses the complete current OWASP Core Rule Set (CRS) for the hidden value. In the supplied control-pair PoC, CRS v4.25 blocks the nested SQL-injection value with rule `949110`. Adding the dotted decoy makes the same attack pass with no interruption, while Go's standard JSON parser still returns the malicious nested value. ### Details The affected component is the JSON body processor in [`internal/bodyprocessors/json.go`](https://github.com/corazawaf/coraza/blob/db9850b2dd8992f97a8cefe08d0cb4edd966a04c/internal/bodyprocessors/json.go#L21-L48). `readJSON` creates a single `map[string]string` and begins every generated path with `json`: ```go func readJSON(s string, maxRecursion int) (map[string]string, error) { res := make(map[string]string) key := []b

osv:GHSA-5gj4-9gm7-2fx2

github.com/corazawaf/coraza/v3

Fixed versions: 3.8.1

Complete source record
{
  "id": "71c0dc1be2180a9397b049bbf549bf3020c18c714fd87840f001506e44017d46",
  "url": "https://osv.dev/vulnerability/GHSA-5gj4-9gm7-2fx2",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection",
    "summary": "### Summary Coraza's JSON body processor converts nested JSON properties into dot-separated `ARGS_POST` names without escaping dots contained in literal property names. Two distinct JSON properties can therefore collapse into the same Coraza variable An unauthenticated attacker can place a malicious value in a nested property and then overwrite only Coraza's representation with a harmless dotted property: ```json { \"account\": { \"role\": \"1' OR '1'='1\" }, \"account.role\": \"safe\" } ``` Coraza stores both properties as `ARGS_POST:json.account.role`; the later value `safe` replaces the SQL-injection value. Standard backend JSON parsers preserve the two distinct properties and expose the malicious nested value as `account.role`. This bypasses the complete current OWASP Core Rule Set (CRS) for the hidden value. In the supplied control-pair PoC, CRS v4.25 blocks the nested SQL-injection value with rule `949110`. Adding the dotted decoy makes the same attack pass with no interruption, while Go's standard JSON parser still returns the malicious nested value. ### Details The affected component is the JSON body processor in [`internal/bodyprocessors/json.go`](https://github.com/corazawaf/coraza/blob/db9850b2dd8992f97a8cefe08d0cb4edd966a04c/internal/bodyprocessors/json.go#L21-L48). `readJSON` creates a single `map[string]string` and begins every generated path with `json`: ```go func readJSON(s string, maxRecursion int) (map[string]string, error) { res := make(map[string]string) key := []b",
    "evidence": "osv:GHSA-5gj4-9gm7-2fx2",
    "products": [
      {
        "name": {
          "value": "github.com/corazawaf/coraza/v3",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.8.1",
            "evidence": "/affected/0/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "GHSA-5gj4-9gm7-2fx2",
      "aliases": [
        "CVE-2026-114099",
        "GHSA-5gj4-9gm7-2fx2",
        "GO-2026-6692"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.0.0"
                },
                {
                  "fixed": "3.8.1"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/corazawaf/coraza/v3",
            "purl": "pkg:golang/github.com/corazawaf/coraza/v3",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/10/GHSA-5gj4-9gm7-2fx2/GHSA-5gj4-9gm7-2fx2.json"
          }
        }
      ],
      "modified": "2026-10-21T10:57:16.166426844Z",
      "provider": "osv",
      "references": [
        "https://github.com/corazawaf/coraza/security/advisories/GHSA-5gj4-9gm7-2fx2",
        "https://github.com/corazawaf/coraza/commit/52af139cab5ad10c5cb0152a161063b523907bdf",
        "https://github.com/corazawaf/coraza/commit/5f577a548aeb9ca836122df4258f93ef6cfab38a",
        "https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a",
        "https://github.com/corazawaf/coraza",
        "https://github.com/corazawaf/coraza/releases/tag/v3.8.1"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-20",
          "CWE-436"
        ],
        "severity": "MODERATE",
        "github_reviewed": true,
        "nvd_published_at": null,
        "github_reviewed_at": "2026-10-08T17:45:31Z"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-114099",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 392971,
  "published_at": "2026-10-08T17:45:31+00:00"
}

Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection in github.com/corazawaf/coraza

core-osv · Original source

Published 19 Oct 2026, 21:08 UTC

Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection in github.com/corazawaf/coraza

osv:GO-2026-6692

github.com/corazawaf/coraza

Fixed versions: Not specified

github.com/corazawaf/coraza/v2

Fixed versions: Not specified

github.com/corazawaf/coraza/v3

Fixed versions: 3.8.1

Complete source record
{
  "id": "792707618018c2ca88209f3f39b13cee39daa0df681159977852afd3e9dae8be",
  "url": "https://osv.dev/vulnerability/GO-2026-6692",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection in github.com/corazawaf/coraza",
    "summary": "Coraza body processor has a JSON key collision that allows unauthenticated attackers to bypass OWASP CRS inspection in github.com/corazawaf/coraza",
    "evidence": "osv:GO-2026-6692",
    "products": [
      {
        "name": {
          "value": "github.com/corazawaf/coraza",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/corazawaf/coraza/v2",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": []
      },
      {
        "name": {
          "value": "github.com/corazawaf/coraza/v3",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [
          {
            "value": "3.8.1",
            "evidence": "/affected/2/ranges"
          }
        ],
        "affected_versions": []
      }
    ],
    "severity": "unknown",
    "structured": {
      "id": "GO-2026-6692",
      "aliases": [
        "CVE-2026-114099",
        "GHSA-5gj4-9gm7-2fx2",
        "GO-2026-6692"
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/corazawaf/coraza",
            "purl": "pkg:golang/github.com/corazawaf/coraza",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-6692.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/corazawaf/coraza/v2",
            "purl": "pkg:golang/github.com/corazawaf/coraza/v2",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-6692.json"
          },
          "ecosystem_specific": {}
        },
        {
          "ranges": [
            {
              "type": "SEMVER",
              "events": [
                {
                  "introduced": "3.0.0"
                },
                {
                  "fixed": "3.8.1"
                }
              ]
            }
          ],
          "package": {
            "name": "github.com/corazawaf/coraza/v3",
            "purl": "pkg:golang/github.com/corazawaf/coraza/v3",
            "ecosystem": "Go"
          },
          "database_specific": {
            "source": "https://vuln.go.dev/ID/GO-2026-6692.json"
          },
          "ecosystem_specific": {}
        }
      ],
      "modified": "2026-10-21T10:57:16.166426844Z",
      "provider": "osv",
      "references": [
        "https://github.com/corazawaf/coraza/security/advisories/GHSA-5gj4-9gm7-2fx2",
        "https://github.com/corazawaf/coraza/commit/52af139cab5ad10c5cb0152a161063b523907bdf",
        "https://github.com/corazawaf/coraza/commit/5f577a548aeb9ca836122df4258f93ef6cfab38a",
        "https://github.com/corazawaf/coraza/commit/cae3c7407e7b84372c207033de03f15f89bf351a",
        "https://github.com/corazawaf/coraza/releases/tag/v3.8.1"
      ],
      "provider_metadata": {
        "url": "https://pkg.go.dev/vuln/GO-2026-6692",
        "review_status": "UNREVIEWED"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2026-114099",
        "evidence": "/aliases"
      }
    ],
    "security_relevant": true,
    "severity_evidence": null
  },
  "source_id": "core-osv",
  "document_id": 392972,
  "published_at": "2026-10-19T21:08:17+00:00"
}