CVE Explorer
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.
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
0
Affected products and versions
1 source assertion{"product":"view_component","vendor":"ViewComponent","versions":[{"status":"affected","version":">= 3.0.0, < 4.9.0"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:c42c369e2c1fcfa452ade654dec62d5bb80b05c827c4da69b4659386a5174132 · sha256:e6205c34ac5b0344… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":5.9,"baseSeverity":"MEDIUM","confidentialityImpact":"HIGH","integrityImpact":"NONE","privilegesRequired":"NONE","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:c42c369e2c1fcfa452ade654dec62d5bb80b05c827c4da69b4659386a5174132 · sha256:e6205c34ac5b0344… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-187","description":"CWE-187: Partial String Comparison","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:c42c369e2c1fcfa452ade654dec62d5bb80b05c827c4da69b4659386a5174132 · sha256:e6205c34ac5b0344… · /containers/cna/problemTypes/0/descriptions/0
Source references
2 source assertions{"tags":["exploit"],"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c42c369e2c1fcfa452ade654dec62d5bb80b05c827c4da69b4659386a5174132 · sha256:e6205c34ac5b0344… · /containers/adp/0/references/0
{"name":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp","tags":["x_refsource_CONFIRM"],"url":"https://github.com/ViewComponent/view_component/security/advisories/GHSA-hg3h-g7xc-f7vp"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:c42c369e2c1fcfa452ade654dec62d5bb80b05c827c4da69b4659386a5174132 · sha256:e6205c34ac5b0344… · /containers/cna/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.