Vulnerability

CVE-2026-54659

mediumCVSS 4.0 6.9Published 28 Jul 2026

A plain-language summary of this CVE is being written; the description below is the NVD's own text.

Description

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.

Affected products

The NVD has not attached product data to this record yet; the description names what is affected.

Weakness type

References

  • github.com /ddnexus/pagy/commit/efcf09690e9fa7d7abdfb987b785a55f87e287…
  • github.com /ddnexus/pagy/pull/908
  • github.com /ddnexus/pagy/releases/tag/43.5.6
  • github.com /ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc

Ingati scans your site every week and tells you when a CVE like this one affects something it found there.

Start scanning