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 .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.
{
"cna_assigner": "GitHub_M",
"cwe_ids": [
"CWE-200",
"CWE-22"
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/54xxx/CVE-2026-54659.json"
}{
"extracted_events": [
{
"range": [
{
"introduced": "43.0.0"
},
{
"fixed": "43.5.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StringRangeExpression"
},
{
"range": [
{
"fixed": "efcf09690e9fa7d7abdfb987b785a55f87e287df"
}
],
"source": "REFERENCES_COMMIT"
},
{
"original_tag": "43.5.6",
"range": [
{
"fixed": "ef90524ef31ae03c0c57755d1d462f4233aab22f"
}
],
"source": "REFERENCES_TAG"
}
]
}