# CVE-2026-44837: view\_component: System Test Entry Point Path Check Allows Sibling Directory Escape

- Priority: **Routine**
- Reason: Not severe (CVSS 5.9, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-05-26 · Modified: 2026-05-28
- Aliases: UBUNTU-CVE-2026-44837, DEBIAN-CVE-2026-44837, 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, GHSA-hg3h-g7xc-f7vp, 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
- Record: https://cvemate.com/vulnerability/CVE-2026-44837 · JSON: https://cvemate.com/vulnerability/CVE-2026-44837/json

## Description

```text
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.
```

## Signals

- CVSS: 7.5 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- EPSS: 0.412%, percentile 37.519%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 1 (github)

## Affected (first 20 of 34)

- chainguard commercial-gitlab-rails-ee-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-19.2 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.1 (Chainguard): All versions (No fix recorded)
- chainguard commercial-gitlab-rails-ee-fips-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.11 (Chainguard): \< 18.11.2-r1
- chainguard gitlab-rails-ce-18.3 (Chainguard): \< 18.3.6-r6
- chainguard gitlab-rails-ce-18.4 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.5 (Chainguard): \< 18.5.5-r3
- chainguard gitlab-rails-ce-18.6 (Chainguard): \< 18.6.6-r4
- chainguard gitlab-rails-ce-18.7 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.8 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-18.9 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.0 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-19.2 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.1 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.10 (Chainguard): All versions (No fix recorded)
- chainguard gitlab-rails-ce-fips-18.11 (Chainguard): All versions (No fix recorded)

## References

- <https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp>
- <https://ubuntu.com/security/CVE-2026-44837>
- <https://www.cve.org/CVERecord?id=CVE-2026-44837>
- <https://security-tracker.debian.org/tracker/CVE-2026-44837>
- <https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/44xxx/CVE-2026-44837.json>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-44837>
- <https://github.com/ViewComponent/view_component>
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/view_component/CVE-2026-44837.yml>

---

Data as of 2026-12-05T10:17:47.802Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
