{"cve":"CVE-2026-54659","nvd":{"published":"2026-07-28T23:17:09.067","modified":"2026-10-23T23:10:00.157","status":"Deferred","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.","cvss_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N","score":6.9},"cvss_v3":null,"cwes":["CWE-22","CWE-200"],"references":["https://github.com/ddnexus/pagy/commit/efcf09690e9fa7d7abdfb987b785a55f87e287df","https://github.com/ddnexus/pagy/pull/908","https://github.com/ddnexus/pagy/releases/tag/43.5.6","https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc","https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc"],"products":[],"source":"nvd","synced_at":"2026-10-24T16:53:27.712498749+00:00"},"epss":{"cve":"CVE-2026-54659","score":0.0054,"percentile":0.45156,"date":"2026-10-25"},"kev":null,"osv":[{"id":"GHSA-2xmw-f8j8-wfxc","url":"https://osv.dev/vulnerability/GHSA-2xmw-f8j8-wfxc","summary":"Pagy I18n locale option is not validated before being used in a file path","modified":"2026-07-28T22:41:45.721426Z","packages":[{"ecosystem":"RubyGems","name":"pagy","purl":"pkg:gem/pagy","ranges":[">=43.0.0 <43.5.6"],"fixed":["43.5.6"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}