# CVE-2018-7212

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2018-02-18 · Modified: 2024-08-05
- Aliases: GHSA-h29f-7f56-j8wh
- Record: https://cvemate.com/vulnerability/CVE-2018-7212 · JSON: https://cvemate.com/vulnerability/CVE-2018-7212/json

## Description

```text
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.
```

## Signals

- CVSS: 5.3 medium (v3.0, NVD) CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- EPSS: 1.838%, percentile 79.701%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- RubyGems sinatra (RubyGems): ≥ 2.0.0.beta1, \< 2.0.1
- sinatrarb sinatra: 2.0.0 \| 2.0.0:beta2 \| 2.0.0:rc1 \| 2.0.0:rc2 \| 2.0.0:rc3 \| 2.0.0:rc4 \| 2.0.0:rc5 \| 2.0.0:rc6 \| 2.0.1:rc1

## References

- <https://github.com/sinatra/sinatra/commit/6ad721abcfe36334108dcdd05d046c361e1b7a9c>
- <https://github.com/sinatra/sinatra/pull/1379>
- <https://nvd.nist.gov/vuln/detail/CVE-2018-7212>
- <https://github.com/sinatra/sinatra>

---

Data as of 2026-12-05T07:57:59.997Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
