Vulnerability
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 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.
62 advisories report this vulnerability, across 4 ecosystems.
Advisories
- CGA-2986-4jxr-qphf
- CGA-2r97-3x4w-j84r
- CGA-2xw5-33ch-9jjh
- CGA-3p37-3mv4-698f
- CGA-3p65-jghf-28p2
- CGA-45x7-r5ww-5c4w
- CGA-532w-c76f-57j3
- CGA-57xm-gp5w-4gx6
- CGA-596h-7rqp-m28j
- CGA-5g4q-76v4-6prr
- CGA-5pxc-5hxw-w27j
- CGA-62pv-68cg-pmff
- CGA-6r4m-jppr-q679
- CGA-73jw-jr4x-grf8
- CGA-74h7-xp7x-5c4r
- CGA-76f2-7c9x-f4p4
- CGA-7gwf-8p7c-h2qh
- CGA-7h3v-m4pj-vmcx
- CGA-7x33-mh26-p3cw
- CGA-83ph-v7rw-g6rg
- CGA-855m-3724-499m
- CGA-88p4-vx97-9g28
- CGA-9289-2cvq-357p
- CGA-9454-86m2-mr86
- CGA-94j4-56g6-jq3c
- CGA-98fr-q487-gxrf
- CGA-99hv-84wh-9fgq
- CGA-9qv6-ch5r-q65p
- CGA-ccg2-vwrx-7hgw
- CGA-cm5j-6vv8-2g4m
- CGA-f35j-qhqq-93rw
- CGA-f46x-mh6p-2927
- CGA-f8rj-3gfh-wgff
- CGA-fjp4-xhv3-m95h
- CGA-fr34-xv96-p3hh
- CGA-g9qg-97qh-2p92
- CGA-gg3h-mmh6-cw2g
- CGA-gmvg-629g-7q62
- CGA-gv68-8662-hm3p
- CGA-j2fp-vjhh-xq8g
- CGA-j565-49m3-w6j3
- CGA-j8h3-jjvp-9g7j
- CGA-m2qp-wv7w-5cmc
- CGA-mmfp-rgqr-2wrg
- CGA-p45f-p877-38h3
- CGA-pcq7-x4g7-8847
- CGA-pr99-m84j-pp48
- CGA-qg3x-8vr3-whj5
- CGA-qr9v-h97w-gxjx
- CGA-r399-3c5p-9956
- CGA-r995-rgw6-mqv2
- CGA-rm7j-358g-xqg5
- CGA-v3p6-hmrh-grv8
- CGA-vmxj-ghp7-xqvc
- CGA-w459-gvx9-ffmh
- CGA-w959-g8ph-r2h6
- CGA-wg3w-6v5g-q5h5
- CGA-xhr6-hr27-f863
- CGA-xmvr-qjx9-jx53
-
DEBIAN-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 path with…
-
GHSA-hg3h-g7xc-f7vp
view_component: System Test Entry Point Path Check Allows Sibling Directory Escape
-
UBUNTU-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 path with…