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:NCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
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 23th 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
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
—
V10.4.1
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
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)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Security testing can detect and prevent partial string comparison flaws before deployment.
Secure coding standards can explicitly prohibit substring-based comparisons for security decisions.
A.8.5 governs the strength and factors of authentication, not the correctness of the string comparison logic inside the authenticator; a partial string comparison flaw in the implementation bypasses the authentication mechanism regardless of how strong the chosen method is.
A.8.8's reach is DISCLOSURE — published advisories and component inventory — and CWE-187 is a first-party implementation defect (strncmp with attacker-controlled length, substring auth checks) that lives in code the organization wrote, not in a third-party component with a CVE. The clause discovers this weakness only where it has already been published as an advisory, which is a minority of latent instances; the bulk is reached by source-reading controls (A.8.28/A.8.29), not by A.8.8.