7.5
CVE-2026-44837
- EPSS 0.41%
- Veröffentlicht 26.05.2026 19:40:47
- Zuletzt bearbeitet 02.06.2026 18:43:53
- Quelle security-advisories@github.com
- CVE-Watchlists
- Unerledigt
view_component: System Test Entry Point Path Check Allows Sibling Directory Escape
view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 3.0.0 to 4.9.0, the system test entrypoint canonicalizes a user-controlled file path with File.realpath, then checks whether the resolved path starts with the temp directory path. This is not a safe containment check because sibling directories can share the same string prefix. This vulnerability is fixed in 4.9.0.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Viewcomponent ≫ View Component SwPlatformruby Version >= 3.0.0 < 4.9.0
VulnDex Vulnerability Enrichment
| Typ | Quelle | Score | Percentile |
|---|---|---|---|
| EPSS | FIRST.org | 0.41% | 0.328 |
| Quelle | Base Score | Exploit Score | Impact Score | Vector String |
|---|---|---|---|---|
| nvd@nist.gov | 7.5 | 3.9 | 3.6 |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
|
| security-advisories@github.com | 5.9 | 2.2 | 3.6 |
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
|
CWE-187 Partial String Comparison
The product performs a comparison that only examines a portion of a factor before determining whether there is a match, such as a substring, leading to resultant weaknesses.
https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp