CVE-2026-44837: view_component: System Test Entry Point Path Check Allows Sibling Directory Escape
Vulnerability summary
CVE-2026-44837 is a high (CVSS 7.5) Partial String Comparison vulnerability in viewcomponent view_component. EPSS estimates a 0.41% chance of exploitation in the next 30 days, higher than 37.5% of scored vulnerabilities. 1 public exploit is recorded.
Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
Source freshness unavailable
How is this decided?Advisory lineage
Upstream 0 · Downstream 0 · Related 1Timeline
- 26-05-2026PublishedVulnerability first disclosed.
- 28-05-2026Last modifiedVulnerability information updated.
Description
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.
CVSS metrics
6 scores · 6 sources · 1 version- CVE.orgCNA5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · UbuntuEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · DebianEcosystem advisory · calculated7.5HighCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- OSV · ChainguardEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
- OSV · RubygemsEcosystem advisory · calculated5.9MediumCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NDiffers
EPSS trend
Probability
0.41%
Chance of exploitation in the next 30 days
Percentile
38%
Versus all other CVEs
30-day change
No change 0.00 pp
From 0.41% on 04-11-2026
Known exploited
Compare KEV catalogsNot in the CISA KEV catalog.
Not in the ENISA CNW catalog.
Not in the CIRCL catalog.
Public exploits
1 foundView Component
Maturity: poc
Weaknesses
CWE · root causeAffected systems
Known conditions: network-reachable, no authentication, no user interaction (CVSS vector). Other conditions: not stated in public data.
Chainguard30 products
- commercial-gitlab-rails-ee-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-19.2All versions (No fix recorded)
- commercial-gitlab-rails-ee-fips-19.1All versions (No fix recorded)
- commercial-gitlab-rails-ee-fips-19.2All versions (No fix recorded)
- gitlab-rails-ce-18.1All versions (No fix recorded)
Debian1 product
- ruby-view-componentAll versions (No fix recorded) | < 4.12.0-1
RubyGems1 product
- view_component≥ 3.0.0, < 4.9.0
Ubuntu1 product
- ruby-view-componentAll versions (No fix recorded)
Viewcomponent1 product
- view_component≥ 3.0.0, < 4.9.0
5 vendors · 34 products
References
8 links- github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vpX Refsource CONFIRMREPORTAdvisoryWEBExploitMitigationVendor Advisory