Vulnerability DatabaseGHSA-586r-mm5q-xhg2

GHSA-586r-mm5q-xhg2: 
Ruby vulnerability analysis and mitigation

Impact

With hybrid cryptography, an attacker who obtains the encryption key can use it to decrypt data (acting as symmetric encryption rather than asymmetric).

Mitigation

All users running an affected version should upgrade and re-encrypt all data that uses hybrid cryptography. Generate a new key pair (keys will be shorter)

Lockbox.generate_key_pair

Update models, files, and lockboxes to use it

class User < ApplicationRecord
  has_encrypted :email,
    algorithm: "hybrid",
    encryption_key: new_encryption_key,
    decryption_key: new_decryption_key,
    previous_versions: [{algorithm: "hybrid", decryption_key: previous_decryption_key}]
end

And re-encrypt the data

Lockbox.rotate(User, attributes: [:email])

Credits

Thanks to Andrew Evans for reporting this.


Source: NVD

Related Ruby vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-126186HIGH8.8
  • Ruby logoRuby
  • cpe:2.3:a:rubyonrails:rails
NoYesNov 10, 2026
GHSA-v924-7rp8-4mxhHIGH8.8
  • Ruby logoRuby
  • activestorage
NoYesNov 10, 2026
CVE-2026-126085MEDIUM5.3
  • Ruby logoRuby
  • activestorage
NoYesNov 10, 2026
GHSA-586r-mm5q-xhg2MEDIUM4.9
  • Ruby logoRuby
  • lockbox
NoYesNov 11, 2026
CVE-2026-126188LOW3.7
  • Ruby logoRuby
  • rails
NoYesNov 11, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Additional Wiz resources

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management