Pagy I18n locale option is not validated before being used in a file path — GHSA-2XMW-F8J8-WFXC
GitHub · GitHub · GHSA-2XMW-F8J8-WFXC
ID
GHSA-2XMW-F8J8-WFXC
GHSA-2XMW-F8J8-WFXC
Date
Source
GitHub
GitHub
Vendor
GitHub
GitHub
Threat
medium
medium
Summary
### Summary `Pagy::I18n.locale=` did not validate its argument before using it as a path component to load the matching dictionary file (`<locale>.yml`). An application that assigns untrusted input to the locale — e.g. the common pattern `Pagy::I18n.locale = params[:locale]` — let that input influence which file Pagy attempted to load. ### Details The setter stored the value as-is, and the loader joined it into a…
Timeline
- Published by source
- 2026-07-29
Risk context
- Reported severity or threat level: medium.
- Review exposure for the affected product or family: rubygems: pagy.
Product
rubygems: pagy
What to do
General, cautious steps (verify details in the official source):
- Review exposure and plan remediation based on risk and environment.
- Identify affected product versions in your inventory and verify whether you are impacted.
- Apply vendor patches/updates or recommended mitigations as soon as available.
- Read the official advisory for exact affected versions and remediation steps.
Official advisory
Evidence and provenance
- Canonical advisory ID
- GHSA-2XMW-F8J8-WFXC
- Source
- GitHub
- Vendor
- GitHub
- Published by source
- 2026-07-29
- Last source activity
- 2026-07-29
- Additional identifiers
- CVE-2026-54659
- Curated by
- hlukh.ch
Related advisories and connections
These advisories are connected by shared CVE, product, vendor, source, or time signals.