{"id":"UBUNTU-CVE-2026-44837","details":"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.","modified":"2026-06-12T09:01:25.268831892Z","published":"2026-05-26T21:16:00Z","upstream":["CVE-2026-44837"],"references":[{"type":"REPORT","url":"https://ubuntu.com/security/CVE-2026-44837"},{"type":"REPORT","url":"https://www.cve.org/CVERecord?id=CVE-2026-44837"},{"type":"REPORT","url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp"}],"affected":[{"package":{"name":"ruby-view-component","ecosystem":"Ubuntu:24.04:LTS","purl":"pkg:deb/ubuntu/ruby-view-component?arch=source&distro=noble"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"}]}],"versions":["2.82.0-1","3.8.0-1"],"ecosystem_specific":{"binaries":[{"binary_name":"ruby-view-component","binary_version":"3.8.0-1"}]},"database_specific":{"source":"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44837.json"}}],"schema_version":"1.7.5","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"},{"type":"Ubuntu","score":"medium"}]}