CVE Catalog

CVE-2026-54659

MediumCVSS 6.9
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.54%

45th percentile - higher than 45% of all known CVEs

Summary

In Pagy from version 43.0.0 to 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.

Risk Assessment

An attacker can read arbitrary YAML files on the server, potentially leading to disclosure of sensitive data such as passwords or API keys.

Recommendation

Update Pagy to version 43.5.6 or later.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS