CVE-2026-44837

high
Published 2026-05-08 ยท Modified 2026-06-02
CVSS v3
7.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
CVSS v4 NEW
โ€”
not yet in upstream
VIR risk
7.5

Description

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.

Predictions

Exploit likelihood
83%
Patch ETA
โ€”

Heuristic predictions, AS-IS, for prioritization only.

Mitigations

No mitigations published for this CVE yet.

The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or โ€” if you've already worked around this in production โ€” publish your fix to the community-verified tier.

โœš Propose a mitigation on Community โ†’ Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here with source_tier=community-verified.

OS impact

debian Debian Affected 3 releases
VersionStatusFixed in
sid Affected โ€”
forky Affected โ€”
bookworm Affected โ€”

Package impact

EcosystemPackageVulnerableFixed
ruby RubyGemsview_component!< 3.0.0||<>= 4.9.0>= 4.9.0
ruby RubyGemsview_component>=3.0.0,<4.9.04.9.0
ruby RUBYGEMSview_component>= 3.0.0, < 4.9.04.9.0

Application impact

VendorProductVersionsFixed
viewcomponentview_component{"startIncluding":"3.0.0","endExcluding":"4.9.0"}4.9.0

References

CWEs

CWE-187

Community-verified mitigations for this CVE will appear above when contributors publish them.

Verify integrity in audit chain (admin only). AS-IS.