UBUNTU-CVE-2026-44836

Source
https://ubuntu.com/security/CVE-2026-44836
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44836.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-44836
Upstream
  • CVE-2026-44836
Published
2026-05-26T21:16:00Z
Modified
2026-06-03T13:41:48.207022724Z
Severity
  • 6.5 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

viewcomponent is a framework for building reusable, testable, and encapsulated view components in Ruby on Rails. From 3.0.0 to 4.9.0, the preview route derives an example name from the URL and calls it with publicsend. The code does not verify that the requested method is one of the preview examples explicitly defined by the preview class. As a result, inherited public methods on ViewComponent::Preview are route-reachable. The most important one is renderwithtemplate, which accepts template: and locals:. Those values can come from request params and are later passed to Rails as render template:. If previews are exposed, an attacker can render internal Rails templates that are not otherwise routable. This vulnerability is fixed in 4.9.0.

References

Affected packages

Ubuntu:24.04:LTS / ruby-view-component

Package

Name
ruby-view-component
Purl
pkg:deb/ubuntu/ruby-view-component?arch=source&distro=noble

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0Unknown introduced version / All previous versions are affected

Affected versions

2.*
2.82.0-1
3.*
3.8.0-1

Ecosystem specific

{
    "binaries": [
        {
            "binary_version": "3.8.0-1",
            "binary_name": "ruby-view-component"
        }
    ]
}

Database specific

source
"https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-44836.json"