ADVISORIES

Vulnerability

CVE-2026-54659

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 <locale>.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.

2 advisories report this vulnerability, across 2 ecosystems.

Medium severity All RubyGems 1Ubuntu 1

Advisories

  • GHSA-2xmw-f8j8-wfxc

    Pagy I18n locale option is not validated before being used in a file path

    Moderate CVE-2026-54659 RubyGems Updated 28 July 2026
  • UBUNTU-CVE-2026-54659

    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 <locale>.yml path components, allowing…

    CVE-2026-54659 Ubuntu Updated 17 October 2026

References