CVE-2026-54659: Ruby pagy · Pagy is agnostic pagination in plain Ruby
Affects ruby-pagySource GCVE Database
Not known to be exploited · CVSS 6.9 Medium · fixed in 43.5.6 : update ruby-pagy when convenient.
Data as of 24 Nov 2026, 20:44 UTC
- Patch
- Available – fixed in 43.5.6
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 28 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 23 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 26.10ruby-pagypkg:deb/ubuntu/ruby-pagy?arch=source&distro=stonkingOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2026-54659 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2026-54659 (opens in a new tab)
- github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc (opens in a new tab)
- github.com/ddnexus/pagy/pull/908 (opens in a new tab)
- github.com/ddnexus/pagy/commit/efcf09690e9fa7d7abdfb987b785a55f87e287df (opens in a new tab)
- github.com/ddnexus/pagy/releases/tag/43.5.6 (opens in a new tab)