Read the docs
TI-2026-32717 Aliases CVE-2026-44837GHSA-hg3h-g7xc-f7vp

view_component: System Test Entry Point Path Check Allows Sibling Directory Escape

Priority HIGH 66CWE-187Published · Updated

Key facts

Attack vector
Network
Privileges required
None
User interaction
None
Attack complexity
Low
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA and GitHub. Impact type from CWE-22 and the CVSS impact.

Summary

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.

Why it matters now

Exploitation Proof of concept CISA SSVC · not in CISA KEV
EPSS 0.00412 35th percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Fixed view_component (ViewComponent): 4.9.0view_component (RubyGems): 4.9.0

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
Poc
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
ViewComponentview_component3.0.0 to before 4.9.04.9.0Patch availableCNA
—view_component (RubyGems)3.0.0 to before 4.9.04.9.0Patch availableGHSA-hg3h-g7xc-f7vp
  • view_component VendorViewComponent Affected 3.0.0 to before 4.9.0 Fixed in 4.9.0 Patch available CNA
  • view_component (RubyGems) Vendor— Affected 3.0.0 to before 4.9.0 Fixed in 4.9.0 Patch available GHSA-hg3h-g7xc-f7vp

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*3.0.0 to before 4.9.0VulnerableViewComponent
  • cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:* Versions 3.0.0 to before 4.9.0 Vulnerable ·ViewComponent

Remediation

  • Fix · CNA view_component (ViewComponent) Fixed in 4.9.0
  • Fix · GHSA-hg3h-g7xc-f7vp view_component (RubyGems) Fixed in 4.9.0 Advisory →

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-44837
  2. 2026-10-03 Alias added: GHSA-hg3h-g7xc-f7vp

References

  • TI-2026-39344 view_component: around_render HTML-Safety Bypass CVSS 3.1HIGH 8.7
  • TI-2026-39343 view_component: Reused Component Instances Retain Stale Render Context CVSS 3.1MEDIUM 6.8
  • TI-2024-14361 view_component Cross-site Scripting vulnerability CVSS 3.1MEDIUM 6.1

Sources