CVE catalog

CVE-2026-44837

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 p

[CVE catalog]

Severity
Medium · CVSS 5.9
Published
Source
[NVD] · [CVE record]
EPSS
0.41% · Oct 25, 2026

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.

Vulnerable and fixed packages

Distribution-reported package versions and fixes. These do not depend on matching against the OpenFactory package catalog.

DistributionPackageReleaseVersionStatus
Debianruby-view-componentsid4.16.0-1fixed
Debianruby-view-componentforky4.16.0-1fixed
Debianruby-view-componentbookworm2.74.1-1vulnerable
Cperuby-view-componentNot reportedNot reportedvulnerable
Cpeview_componentNot reported4.9.0fixed

Fixed-version evidence

DistributionPackageTypeReleaseFixed versionUrgencyOriginBugs
Debianruby-view-componentsourcesid4.12.0-1not yet assignedNot reported[1138259]
Debianruby-view-componentsourceforky4.12.0-1not yet assignedNot reported[1138259]
Debianruby-view-componentsourcebookworm(unfixed)not yet assignedNot reported[1138259]
Cpeview_componentcpeNot reported4.9.0Not reportedNot reportedNot reported

[Debian bug #1138259]

Notes

[bookworm] ruby-view-component: Contrib not supported

OpenFactory catalog packages

[Debian 12 (Bookworm)]

  • Details (2)
    • 2.74.1-1 · all · bookworm

      Affected

      nvd · ruby-view-component · debian · bookworm; nvd · ruby-view-component · debian · 12

    • 2.74.1-1 · all · bookworm

      Affected

      nvd · ruby-view-component · debian · bookworm; nvd · ruby-view-component · debian · 12

Observed:

References