CVE-2025-45765: ruby-jwt · Inadequate Encryption Strength
Source CVE Database V5
Not known to be exploited · CVSS 9.1 Critical.
Data as of 26 Oct 2026, 10:12 UTC
- EPSS
- 0.1% chance of exploitation in 30 days – higher than 5% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:HExploitation evidence
Disclosed: evidence found.
CVE published 7 Aug 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
AI-suggested
- Immediate upgrade: Organizations should upgrade ruby-jwt to a stable, patched version that enforces strong encryption key sizes or addresses this vulnerability once available.
- Enforce cryptographic policies: Independently enforce minimum key sizes and strong cryptographic algorithms at the application or infrastructure level, not relying solely on the library defaults.
- Audit JWT usage: Review all applications using ruby-jwt to identify vulnerable versions and assess token encryption configurations.
- Implement defense-in-depth: Use additional layers of security such as Web Application Firewalls (WAFs) to detect and block suspicious JWT-related traffic.
- Monitor and log JWT validation failures and anomalies to detect potential exploitation attempts early.
- Educate developers on secure JWT practices, including key management and token lifecycle.
- If immediate upgrade is not feasible, consider disabling JWT features or replacing them with alternative secure authentication mechanisms temporarily.
- Coordinate with cryptographic library providers (e.g., OpenSSL) to ensure their enforcement of key size policies is up to date and compatible with your environment.
Description
ruby-jwt v3.0.0.beta1 was discovered to contain weak encryption. NOTE: the Supplier's perspective is "keysize is not something that is enforced by this library. Currently more recent versions of OpenSSL are enforcing some key sizes and those restrictions apply to the users of this gem also."