CVE-2026-44837: view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai
CVE-2026-44837 is a medium-severity flaw (CVSS 5.9) affecting view component. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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 this priority
- Public exploit reference
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Risk facts
| CVSS score | 5.9 (Medium) |
| Attack vector | Network (remote) |
| Attack complexity | High |
| Privileges needed | None |
| User interaction | None |
| EPSS exploit chance | 0.4% (top 65%) |
| CISA exploited list | No |
| Weakness | CWE-187 |
| Published | 2026-05-26 |
| Last modified | 2026-07-24 |
Last updated 2026-07-24 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2026-44837?
view component: upgrade to 4.9.0. Exact commands for each OS are on this page.
Is CVE-2026-44837 being exploited?
CVE-2026-44837 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2026-44837 affect?
CVE-2026-44837 affects view component. Severity is medium (CVSS 5.9). 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 whet
How urgent is CVE-2026-44837?
Priority 39/100. Public exploit reference; Remotely exploitable, no login, no user action
Software pages
Ruby on Rails vulnerabilities · Ruby vulnerabilities
Related CVEs
- CVE-2026-54498 HIGH 8.7 UPGRADE view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai
- CVE-2026-54497 MEDIUM 6.8 UPGRADE view_component is a framework for building reusable, testable, and encapsulated view components in Ruby on Rai