Security mailing lists by PureSourceCode

CVE-2026-44837

HIGH 7.5CVSS 3.1

view_component: System Test Entry Point Path Check Allows Sibling Directory Escape

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.

Published
26 May 2026
Last modified
10 Sep 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-187CWE-22
Also known as
GHSA-hg3h-g7xc-f7vp
Sources
NVDJSONOSV GHSA-hg3h-g7xc-f7vpJSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.9 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD viewcomponent view_component
cpe:2.3:a:viewcomponent:view_component:*:*:*:*:*:ruby:*:*
>= 3.0.0, < 4.9.0 4.9.0
OSV RubyGems view_component >= 3.0.0, < 4.9.0 4.9.0

References

History

  • 25 Nov 2026 21:02 UTC · NVD: first stored (published 26 May 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 8 May 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.