CVE-2026-54659: Pagy is agnostic pagination in plain Ruby
40
This month
MEDIUM 6.9REMOTE
CVE-2026-54659 is a medium-severity flaw (CVSS 6.9) affecting affected software. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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.
Why this priority
- Remotely exploitable, no login, no user action
A fixed release or distro patch exists.
Publisher (CNA): GitHub, Inc.
Timeline
- Published CVE record published
- Updated Record last modified
Exact fixes by distribution
RubyGems · pagy · FIXED · 43.5.6 · vulnerable: >= 43.0.0, < 43.5.6 · source
bundle update pagy
bundle list | grep pagy
Fedora 46 · kwin-zones · FIXED · 1.0.13-1.fc46 · FEDORA-2026-95888f332b · source
sudo dnf upgrade --advisory=FEDORA-2026-95888f332b
Fedora ELN · nginx-mod-brotli · FIXED · 1.0.0~rc-16.eln159 · FEDORA-2026-501a6a8273 · source
sudo dnf upgrade --advisory=FEDORA-2026-501a6a8273
Public exploits and detection
Public code exists for this CVE. Treat unpatched systems as at risk, and only run PoCs in a lab.
Verify at the official source NVD · CVE Program · Report a problem with this page
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.