CVE-2026-54659

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

No CVSS.

Configurations

No configuration.

History

29 Jul 2026, 13:19

Type Values Removed Values Added
References () https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc - () https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc -

28 Jul 2026, 23:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-07-28 23:17

Updated : 2026-07-30 19:19


NVD link : CVE-2026-54659

Mitre link : CVE-2026-54659

CVE.ORG link : CVE-2026-54659


JSON object : View

Products Affected

No product.

CWE
CWE-22

Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

CWE-200

Exposure of Sensitive Information to an Unauthorized Actor