<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<feed xmlns="http://www.w3.org/2005/Atom" xml:lang="en">
  <id>https://cve.radiocsirt.org/rss/recent/all/10</id>
  <title>Most recent entries from all</title>
  <updated>2026-10-02T19:54:06.323314+00:00</updated>
  <author>
    <name>Vulnerability-Lookup</name>
    <email>csirt@opendfir.org</email>
  </author>
  <link href="https://cve.radiocsirt.org" rel="alternate"/>
  <generator uri="https://lkiesow.github.io/python-feedgen" version="1.0.0">python-feedgen</generator>
  <subtitle>Contains only the most 10 recent entries.</subtitle>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/euvd-2026-322414</id>
    <title>EUVD-2026-322414</title>
    <updated>2026-10-02T19:54:06.387044+00:00</updated>
    <content>EUVD-2026-322414</content>
    <link href="https://cve.radiocsirt.org/vuln/euvd-2026-322414"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/fkie_cve-2026-44837</id>
    <title>fkie_cve-2026-44837</title>
    <updated>2026-10-02T19:54:06.387090+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml">
        <p>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.</p>
      </div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/fkie_cve-2026-44837"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ghsa-hg3h-g7xc-f7vp</id>
    <title>GHSA-hg3h-g7xc-f7vp — view_component: System Test Entry Point Path Check Allows Sibling Directory Escape</title>
    <updated>2026-10-02T19:54:06.387127+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> RubyGems: view_component</p>
<p>### Summary</p>
<p>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.</p>
<p>Severity: Medium; test-route scoped.</p>
<p>Example:</p>
<p>```text
Allowed base:  /app/tmp/view_components
Outside path:  /app/tmp/view_components_evil/secret.html.erb
```</p>
<p>The outside path is not inside the base directory, but it passes:</p>
<p>```ruby
@path.start_with?(base_path)
```</p>
<p>### Relevant Code</p>
<p>`app/controllers/view_components_system_test_controller.rb`:</p>
<p>```ruby
base_path = ::File.realpath(self.class.temp_dir)
@path = ::File.realpath(params.permit(:file)[:file], base_path)
raise ViewComponent::SystemTestControllerNefariousPathError unless @path.start_with?(base_path)
```</p>
<p>The route then renders the resolved file:</p>
<p>```ruby
render file: @path
```</p>
<p>### Exploit Flow</p>
<p>Example request:</p>
<p>```text
GET /_system_test_entrypoint?file=../view_components_evil/secret.html.erb
```</p>
<p>Flow:</p>
<p>1. `base_path` resolves to `.../tmp/view_components`.
2. The payload resolves to `.../tmp/view_components_evil/secret.html.erb`.
3. That path is outside the intended temp directory.
4. The string prefix check still passes.
5. Rails renders the sibling file.</p>
<p>The route is mounted only in `Rails.env.test?`, which is why Medium is more appropriate than P1. The issue matters if test routes are reachable in shared CI, staging, review apps, or…</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ghsa-hg3h-g7xc-f7vp"/>
  </entry>
  <entry>
    <id>https://cve.radiocsirt.org/vuln/ubuntu-cve-2026-44837</id>
    <title>UBUNTU-CVE-2026-44837</title>
    <updated>2026-10-02T19:54:06.387198+00:00</updated>
    <content type="xhtml">
      <div xmlns="http://www.w3.org/1999/xhtml"><p><strong>Affected:</strong> Ubuntu:24.04:LTS: ruby-view-component</p>
<p>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.</p></div>
    </content>
    <link href="https://cve.radiocsirt.org/vuln/ubuntu-cve-2026-44837"/>
  </entry>
</feed>
