CVE-2026-44837
Viewcomponent View Component 3.0.0 – 4.9.0
Raw vector
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:NSummary
CVE-2026-44837 is a medium-severity Partial String Comparison (CWE-187) vulnerability in Viewcomponent View Component. Its CVSS base score is 5.9 (Medium).
Operationally, exploitation aligns with the MITRE ATT&CK technique Exploit Public-Facing Application (T1190); ranked at the 34th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.
The strongest mitigations our analysis identified map to SA-11 (Developer Testing and Evaluation) and AC-3 (Access Enforcement) — see the control section below for these in your framework.
EU & UK References
No EU or UK CSIRT advisories indexed for this CVE.
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V10.4.1
Mitigating Controls (NIST 800-53 r5) AI
Developer testing and evaluation can discover incomplete string comparisons through targeted test cases.
Access enforcement depends on correct authorization checks; partial comparisons would violate the required enforcement of full authorizations.
Security engineering principles include correct and complete comparison logic to avoid flawed decision points.
Input validation requirements force complete rather than partial string comparisons before decisions are made.
Mitigating Controls (NIST CSF 2.0) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI
Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.
Security testing can detect and prevent partial string comparison flaws before deployment.
Secure development lifecycle practices can include requirements to avoid partial string comparisons in authentication or validation logic.
Application security requirements can mandate full, exact comparisons for sensitive operations.
Secure system architecture principles discourage unsafe partial comparisons in critical paths.
Secure coding standards can explicitly prohibit substring-based comparisons for security decisions.
Secure authentication mechanisms can reduce reliance on partial string comparisons for credential or token validation.