{"cve":"CVE-2018-7212","nvd":{"published":"2018-02-18T06:29:00.217","modified":"2026-06-17T02:02:48.403","status":"Modified","description":"An issue was discovered in rack-protection/lib/rack/protection/path_traversal.rb in Sinatra 2.x before 2.0.1 on Windows. Path traversal is possible via backslash characters.","cvss_v4":null,"cvss_v3":{"version":"3.0","vector":"CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N","score":5.3},"cwes":["CWE-22"],"references":["https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c","https://github.com/sinatra/sinatra/pull/1379","https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c","https://github.com/sinatra/sinatra/pull/1379"],"products":["sinatrarb:sinatra"],"source":"nvd","synced_at":"2026-10-19T20:48:34.567387330+00:00"},"epss":{"cve":"CVE-2018-7212","score":0.01838,"percentile":0.7897,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-h29f-7f56-j8wh","url":"https://osv.dev/vulnerability/GHSA-h29f-7f56-j8wh","summary":"Sinatra Path Traversal vulnerability","modified":"2023-11-08T04:00:22.311872Z","packages":[{"ecosystem":"RubyGems","name":"sinatra","purl":"pkg:gem/sinatra","ranges":[">=2.0.0.beta1 <2.0.1"],"fixed":["2.0.1"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}