CVE-2026-54659

NameCVE-2026-54659
DescriptionPagy 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.
SourceCVE (at NVD; CERT, ENISA, LWN, oss-sec, fulldisc, Debian ELTS, Red Hat, Ubuntu, Gentoo, SUSE bugzilla/CVE, GitHub advisories/code/issues, web search, more)

Vulnerable and fixed packages

The table below lists information on source packages.

Source PackageReleaseVersionStatus
ruby-pagy (PTS)forky, sid43.6.1-1fixed

The information below is based on the following data on fixed versions.

PackageTypeReleaseFixed VersionUrgencyOriginDebian Bugs
ruby-pagysource(unstable)(not affected)

Notes

- ruby-pagy <not-affected> (Fixed with initial upload to Debian)
https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc
https://github.com/ddnexus/pagy/pull/908
Fixed by: https://github.com/ddnexus/pagy/commit/efcf09690e9fa7d7abdfb987b785a55f87e287df (43.5.6)

Search for package or bug name: Reporting problems