{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "fixed": "2.2.26"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.0.0"
                  },
                  {
                    "fixed": "3.1.24"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "introduced": "3.2.0"
                  },
                  {
                    "fixed": "3.2.9"
                  }
                ],
                "source": "AFFECTED_FIELD",
                "strategy": "StringRangeExpression"
              },
              {
                "range": [
                  {
                    "fixed": "6cce362d027f437362eb1d2ae330e7e880e6a01d"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "c74dbad94cbe91c7fa6e68f89fad22578a6135e0"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "range": [
                  {
                    "fixed": "e5045fef634b491f0ea25b0e8bbfb946f7cbadd4"
                  }
                ],
                "source": "REFERENCES_COMMIT"
              },
              {
                "original_tag": "v2.2.26",
                "range": [
                  {
                    "fixed": "320778d0cdd17d8791d986626e2d09084d32c84d"
                  }
                ],
                "source": "REFERENCES_TAG"
              },
              {
                "original_tag": "v3.1.24",
                "range": [
                  {
                    "fixed": "f1ebc3d8c3eea89908b931db76b131fea9bda52b"
                  }
                ],
                "source": "REFERENCES_TAG"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "fixed": "320778d0cdd17d8791d986626e2d09084d32c84d"
            },
            {
              "introduced": "52901caf09ebcda879512a8605059963a49df55d"
            },
            {
              "fixed": "f1ebc3d8c3eea89908b931db76b131fea9bda52b"
            },
            {
              "introduced": "b68251c03788ff39d4a4b25424df7360426e4afd"
            },
            {
              "fixed": "52941a02842fd956e3c5532147116354a0240149"
            },
            {
              "fixed": "6cce362d027f437362eb1d2ae330e7e880e6a01d"
            },
            {
              "fixed": "c74dbad94cbe91c7fa6e68f89fad22578a6135e0"
            },
            {
              "fixed": "e5045fef634b491f0ea25b0e8bbfb946f7cbadd4"
            }
          ],
          "repo": "https://github.com/rack/rack",
          "type": "GIT"
        }
      ]
    }
  ],
  "aliases": [
    "GHSA-r243-pfwh-7rpx"
  ],
  "database_specific": {
    "cna_assigner": "GitHub_M",
    "cwe_ids": [
      "CWE-436"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142594.json"
  },
  "details": "Rack is a modular Ruby web server interface. Prior to 2.2.26, 3.1.24, and 3.2.9, Rack::Multipart::Parser.parse_boundary locates boundary= as a substring anywhere in a Content-Type header instead of parsing named parameters consistently with Rack::MediaType.params, truncates quoted boundary values at delimiters, preserves surrounding whitespace, and does not correctly process quoted-pair escapes. A conforming intermediary can therefore find no boundary or a different boundary while Rack parses attacker-controlled multipart parts, allowing form fields or uploads to bypass web application firewall inspection. Exploitation requires an intermediary that inspects multipart bodies using a conforming parser, and Rack itself grants no capability beyond a well-formed request carrying the same body. This issue is fixed in versions 2.2.26, 3.1.24, and 3.2.9.",
  "id": "CVE-2026-142594",
  "modified": "2026-12-02T22:45:16.193675659Z",
  "published": "2026-12-02T21:42:42.507Z",
  "references": [
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/142xxx/CVE-2026-142594.json"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0"
    },
    {
      "type": "FIX",
      "url": "https://github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rack/rack/releases/tag/v2.2.26"
    },
    {
      "type": "WEB",
      "url": "https://github.com/rack/rack/releases/tag/v3.1.24"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-142594"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Rack: `Rack::Multipart` extracts the boundary by substring match rather than parameter parsing, allowing parser differentials and WAF bypass."
}