{"id":"CVE-2026-125110","state":"PUBLISHED","title":"Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch","description":"Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Static serves a path after Utils.clean_path_info normalization but evaluates header_rules against a path that is only URL-decoded. An unauthenticated attacker can request a known file through raw or percent-encoded dot segments and receive it without path-specific security headers such as Content-Disposition or Content-Security-Policy. Applications that do not use path-specific header_rules are not affected. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8.","publishedAt":"2026-11-09T22:00:40.811Z","updatedAt":"2026-11-09T22:00:40.811Z","severity":{"score":5.3,"label":"Medium","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","source":"GitHub_M"},"assigner":"GitHub_M","products":["rack rack"],"affected":[{"vendor":"rack","product":"rack","versions":[{"version":"< 2.2.25","status":"affected"},{"version":">= 3.0, < 3.1.23","status":"affected"},{"version":">= 3.2, < 3.2.8","status":"affected"}]}],"references":["https://github.com/rack/rack/security/advisories/GHSA-wvg4-6p58-3gh3","https://github.com/rack/rack/commit/18a07fe553afb4d8a678d6a948cd6ba1e11e28be","https://github.com/rack/rack/commit/9d7f19484ffd5ed5e032678c26ee6eff96d3a0a3","https://github.com/rack/rack/commit/e88097ccb88be44d06d47b42daffe04929516ee4"],"weaknesses":["CWE-180"],"ingestedAt":"2026-11-09T22:14:06.228Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2026/125xxx/CVE-2026-125110.json","commit":"c9a6fe5e0ec6065765766582c6238d8d696001a1","baselineCommit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2026-125110","state":"PUBLISHED","datePublished":"2026-11-09T22:00:40.811Z","dateUpdated":"2026-11-09T22:00:40.811Z","assignerShortName":"GitHub_M","assignerOrgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateReserved":"2026-11-09T17:45:35.935Z"},"containers":{"cna":{"title":"Rack: Rack::Static header_rules bypass via dot-segment normalization mismatch","descriptions":[{"lang":"en","value":"Rack is a modular Ruby web server interface. Prior to 2.2.25, 3.1.23, and 3.2.8, Rack::Static serves a path after Utils.clean_path_info normalization but evaluates header_rules against a path that is only URL-decoded. An unauthenticated attacker can request a known file through raw or percent-encoded dot segments and receive it without path-specific security headers such as Content-Disposition or Content-Security-Policy. Applications that do not use path-specific header_rules are not affected. This issue is fixed in versions 2.2.25, 3.1.23, and 3.2.8."}],"affected":[{"vendor":"rack","product":"rack","versions":[{"version":"< 2.2.25","status":"affected"},{"version":">= 3.0, < 3.1.23","status":"affected"},{"version":">= 3.2, < 3.2.8","status":"affected"}]}],"references":[{"url":"https://github.com/rack/rack/security/advisories/GHSA-wvg4-6p58-3gh3","name":"https://github.com/rack/rack/security/advisories/GHSA-wvg4-6p58-3gh3","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/rack/rack/commit/18a07fe553afb4d8a678d6a948cd6ba1e11e28be","name":"https://github.com/rack/rack/commit/18a07fe553afb4d8a678d6a948cd6ba1e11e28be","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/9d7f19484ffd5ed5e032678c26ee6eff96d3a0a3","name":"https://github.com/rack/rack/commit/9d7f19484ffd5ed5e032678c26ee6eff96d3a0a3","tags":["x_refsource_MISC"]},{"url":"https://github.com/rack/rack/commit/e88097ccb88be44d06d47b42daffe04929516ee4","name":"https://github.com/rack/rack/commit/e88097ccb88be44d06d47b42daffe04929516ee4","tags":["x_refsource_MISC"]}],"metrics":[{"cvssV3_1":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.3,"baseSeverity":"MEDIUM","confidentialityImpact":"NONE","integrityImpact":"LOW","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","version":"3.1"}}],"problemTypes":[{"descriptions":[{"cweId":"CWE-180","lang":"en","description":"CWE-180: Incorrect Behavior Order: Validate Before Canonicalize","type":"CWE"}]}],"providerMetadata":{"shortName":"GitHub_M","orgId":"a0819718-46f1-4df5-94e2-005712e83aaa","dateUpdated":"2026-11-09T22:00:40.811Z"},"source":{"advisory":"GHSA-wvg4-6p58-3gh3","discovery":"UNKNOWN"}}}}}