{"api_version":"1","generated_at":"2026-12-02T22:37:46+00:00","cve":"CVE-2026-142594","urls":{"html":"https://cve.report/CVE-2026-142594","api":"https://cve.report/api/cve/CVE-2026-142594.json","docs":"https://cve.report/api","cve_org":"https://www.cve.org/CVERecord?id=CVE-2026-142594","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2026-142594"},"summary":{"title":"Rack: `Rack::Multipart` extracts the boundary by substring match rather than parameter parsing, allowing parser differentials and WAF bypass.","description":"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.","state":"PUBLISHED","assigner":"GitHub_M","published_at":"2026-12-02 22:18:36","updated_at":"2026-12-02 22:18:36"},"problem_types":["CWE-436","CWE-436 CWE-436: Interpretation Conflict"],"metrics":[{"version":"3.1","source":"security-advisories@github.com","type":"Secondary","score":"3.7","severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","data":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":3.7,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"}},{"version":"3.1","source":"CNA","type":"DECLARED","score":"3.7","severity":"LOW","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","data":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"references":[{"url":"https://github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4","name":"https://github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rack/rack/releases/tag/v2.2.26","name":"https://github.com/rack/rack/releases/tag/v2.2.26","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx","name":"https://github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0","name":"https://github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rack/rack/releases/tag/v3.1.24","name":"https://github.com/rack/rack/releases/tag/v3.1.24","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d","name":"https://github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d","refsource":"security-advisories@github.com","tags":[],"title":"","mime":"","httpstatus":"","archivestatus":"0"},{"url":"https://www.cve.org/CVERecord?id=CVE-2026-142594","name":"CVE Program record","refsource":"CVE.ORG","tags":["canonical"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-142594","name":"NVD vulnerability detail","refsource":"NVD","tags":["canonical","analysis"]}],"affected":[{"source":"CNA","vendor":"rack","product":"rack","version":"affected < 2.2.26","platforms":[]},{"source":"CNA","vendor":"rack","product":"rack","version":"affected >= 3.0.0, < 3.1.24","platforms":[]},{"source":"CNA","vendor":"rack","product":"rack","version":"affected >= 3.2.0, < 3.2.9","platforms":[]}],"timeline":[],"solutions":[],"workarounds":[],"exploits":[],"credits":[],"nvd_cpes":[],"vendor_comments":[],"enrichments":{"kev":null,"epss":null,"legacy_qids":[]},"source_records":{"cve_program":{"containers":{"cna":{"affected":[{"product":"rack","vendor":"rack","versions":[{"status":"affected","version":"< 2.2.26"},{"status":"affected","version":">= 3.0.0, < 3.1.24"},{"status":"affected","version":">= 3.2.0, < 3.2.9"}]}],"descriptions":[{"lang":"en","value":"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."}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":3.7,"baseSeverity":"LOW","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-436","description":"CWE-436: Interpretation Conflict","lang":"en","type":"CWE"}]}],"providerMetadata":{"dateUpdated":"2026-12-02T21:42:42.507Z","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","shortName":"GitHub_M"},"references":[{"name":"https://github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx","tags":["x_refsource_CONFIRM"],"url":"https://github.com/rack/rack/security/advisories/GHSA-r243-pfwh-7rpx"},{"name":"https://github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d","tags":["x_refsource_MISC"],"url":"https://github.com/rack/rack/commit/6cce362d027f437362eb1d2ae330e7e880e6a01d"},{"name":"https://github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0","tags":["x_refsource_MISC"],"url":"https://github.com/rack/rack/commit/c74dbad94cbe91c7fa6e68f89fad22578a6135e0"},{"name":"https://github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4","tags":["x_refsource_MISC"],"url":"https://github.com/rack/rack/commit/e5045fef634b491f0ea25b0e8bbfb946f7cbadd4"},{"name":"https://github.com/rack/rack/releases/tag/v2.2.26","tags":["x_refsource_MISC"],"url":"https://github.com/rack/rack/releases/tag/v2.2.26"},{"name":"https://github.com/rack/rack/releases/tag/v3.1.24","tags":["x_refsource_MISC"],"url":"https://github.com/rack/rack/releases/tag/v3.1.24"}],"source":{"advisory":"GHSA-r243-pfwh-7rpx","discovery":"UNKNOWN"},"title":"Rack: `Rack::Multipart` extracts the boundary by substring match rather than parameter parsing, allowing parser differentials and WAF bypass."}},"cveMetadata":{"assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","assignerShortName":"GitHub_M","cveId":"CVE-2026-142594","datePublished":"2026-12-02T21:42:42.507Z","dateReserved":"2026-12-02T21:19:22.035Z","dateUpdated":"2026-12-02T21:42:42.507Z","state":"PUBLISHED"},"dataType":"CVE_RECORD","dataVersion":"5.2"},"nvd":{"publishedDate":"2026-12-02 22:18:36","lastModifiedDate":"2026-12-02 22:18:36","problem_types":["CWE-436","CWE-436 CWE-436: Interpretation Conflict"],"metrics":{"cvssMetricV31":[{"source":"security-advisories@github.com","type":"Secondary","cvssData":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:L/A:N","baseScore":3.7,"baseSeverity":"LOW","attackVector":"NETWORK","attackComplexity":"HIGH","privilegesRequired":"NONE","userInteraction":"NONE","scope":"UNCHANGED","confidentialityImpact":"NONE","integrityImpact":"LOW","availabilityImpact":"NONE"},"exploitabilityScore":2.2,"impactScore":1.4}]},"configurations":[]},"legacy_mitre":{"record":{"CveYear":"2026","CveId":"142594","Ordinal":"1","Title":"Rack: `Rack::Multipart` extracts the boundary by substring match","CVE":"CVE-2026-142594","Year":"2026"},"notes":[{"CveYear":"2026","CveId":"142594","Ordinal":"1","NoteData":"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.","Type":"Description","Title":"Rack: `Rack::Multipart` extracts the boundary by substring match"}]}}}