PatchSiren cyber security CVE debrief
CVE-2026-54659 ddnexus CVE debrief
CVE-2026-54659 is a vulnerability in the Pagy gem, a pagination library for Ruby. The vulnerability allows an attacker to read arbitrary YAML files by providing a specially crafted locale value. This issue arises from the Pagy::I18n.locale= method in gem/lib/pagy/modules/i18n/i18n.rb storing locale values verbatim and using them as <locale>.yml path components. The vulnerability is fixed in version 43.5.6. Defenders should be aware of this issue and take steps to upgrade to the fixed version to prevent potential attacks. The vulnerability has a CVSS score of 6.9 and is considered MEDIUM severity. It requires authentication but has a high CVSS score due to its potential impact. Defe
- Vendor
- ddnexus
- Product
- pagy
- CVSS
- MEDIUM 6.9
- CISA KEV
- Not listed in stored evidence
- Original CVE published
- 2026-07-28
- Original CVE updated
- 2026-10-23
- Advisory published
- 2026-07-28
- Advisory updated
- 2026-10-23
Who should care
Defenders who use the Pagy gem in their Ruby applications should be aware of this vulnerability and take steps to upgrade to version 43.5.6 or later. They should review and update affected systems, monitor for potential attacks, and verify if their systems are affected. Defenders should also prioritize upgrading to the fixed version to prevent potential attacks.
Why it matters
CVE-2026-54659 is a vulnerability in the Pagy gem that allows attackers to read arbitrary YAML files. Defenders should prioritize upgrading to version 43.5.6 or later to prevent potential attacks.
- Attackers may be able to read sensitive information from YAML files
- Defenders need to verify if their systems are affected and upgrade to a fixed version
- The vulnerability requires authentication but has a high CVSS score due to its potential impact
Technical summary
The Pagy gem is vulnerable to a file existence and readability oracle attack due to its handling of locale values. An attacker can provide a specially crafted locale value to read arbitrary YAML files. The issue arises from the Pagy::I18n.locale= method storing locale values verbatim and using them as <locale>.yml path components. The vulnerability is fixed in version 43.5.6. Defenders should prioritize upgrading to the fixed version to prevent potential attacks. The vulnerability has a CVSS score of 6.9 and is considered MEDIUM severity.
Defensive priority
Defenders should prioritize upgrading to version 43.5.6 or later to prevent potential attacks.
Recommended defensive actions
- Upgrade to version 43.5.6 or later
- Review and update affected systems
- Monitor for potential attacks
- Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up.
- Review compensating controls for exposed systems while remediation is scheduled and verified.
- Check relevant monitoring, detection, and logs for exposed assets that need extra review.
- Track exceptions, retest remediated assets, and close the item only after evidence is documented.
Evidence notes
The vulnerability is caused by the Pagy::I18n.locale= method storing locale values verbatim and later using them as <locale>.yml path components. This allows an attacker to provide a specially crafted locale value to read arbitrary YAML files. The issue is fixed in version 43.5.6. The CVE record was published on 2026-07-28T23:17:09.067Z and has not been modified since then. The vulnerability has a CVSS score of 6.9 and is considered MEDIUM severity.
Sources and references
Verified primary and authoritative sources
-
CVE-2026-54659 CVE Program record
Publisher, destination, and source semantics verified
URL: https://www.cve.org/CVERecord?id=CVE-2026-54659
CVE Program - Official CVE Program record with source-provided CVE metadata.
-
CVE-2026-54659 NVD vulnerability detail
Publisher, destination, and source semantics verified
URL: https://nvd.nist.gov/vuln/detail/CVE-2026-54659
NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.
Supplemental references
-
Source reference
Unverified legacy reference
URL: https://github.com/ddnexus/pagy/commit/efcf09690e9fa7d7abdfb987b785a55f87e287df
-
Source reference
Unverified legacy reference
URL: https://github.com/ddnexus/pagy/pull/908
-
Source reference
Unverified legacy reference
URL: https://github.com/ddnexus/pagy/releases/tag/43.5.6
-
Source reference
Unverified legacy reference
URL: https://github.com/ddnexus/pagy/security/advisories/GHSA-2xmw-f8j8-wfxc
Methodology and review provenance
AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.