CVE-2026-44837

NameCVE-2026-44837
Descriptionview_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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)
Debian Bugs1138259

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-view-component (PTS)bookworm/contrib2.74.1-1vulnerable
forky4.8.0-1vulnerable
sid4.12.0-1vulnerable

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-view-componentsource(unstable)(unfixed)1138259

Notes

https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp

Search for package or bug name: Reporting problems