UBUNTU-CVE-2026-54659

Source
https://ubuntu.com/security/CVE-2026-54659
Import Source
https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-54659.json
JSON Data
https://api.osv.dev/v1/vulns/UBUNTU-CVE-2026-54659
Upstream
Published
2026-07-28T23:17:00Z
Modified
2026-10-17T13:00:25Z
Severity
  • 6.9 (Medium) CVSS_V4 - CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N CVSS Calculator
  • Ubuntu - medium
Summary
[none]
Details

Pagy is agnostic pagination in plain Ruby. From 43.0.0 until 43.5.6, Pagy::I18n.locale= in gem/lib/pagy/modules/i18n/i18n.rb stored locale values verbatim and later used them as .yml path components, allowing untrusted params[:locale] values with absolute paths or ../ sequences to create a file existence and readability oracle for YAML files. This issue is fixed in version 43.5.6.

References

Affected packages

Ubuntu:26.10 / ruby-pagy

Package

Name
ruby-pagy
Purl
pkg:deb/ubuntu/ruby-pagy?arch=source&distro=stonking

Affected ranges

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

Affected versions

43.*
43.5.6-2
43.6.1-1

Ecosystem specific

{
    "binaries":  [
        {
            "binary_name":  "ruby-pagy",
            "binary_version":  "43.6.1-1"
        }
    ]
}

Database specific

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