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

23 Oct 2026, 23:10

Type Values Removed Values Added
Summary
  • (es) Pagy es paginación agnóstica en Ruby puro. Desde la versión 43.0.0 hasta la 43.5.6, Pagy::I18n.locale= en gem/lib/pagy/modules/i18n/i18n.rb almacenaba los valores de configuración regional textualmente y luego los usaba como componentes de ruta de [locale].yml, permitiendo que valores no confiables de params[:locale] con rutas absolutas o secuencias .. / crearan un oráculo de existencia y legibilidad de archivos para archivos YAML. Este problema está corregido en la versión 43.5.6.

Information

Published : 2026-07-28 23:17

Updated : 2026-10-23 23:10


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