CVE-2026-105221: Improper Certificate Validation in defunkt gist
Description
The gist RubyGem before 6.1.0 contains an improper certificate validation vulnerability that allows on-path attackers to intercept HTTPS traffic because http_connection in lib/gist.rb sets VERIFY_NONE. Attackers can present any certificate to read or modify GitHub API traffic, stealing OAuth tokens and login credentials to read and modify the victim's gists.
CVSS v4.0
Score 9.1critical
Affected software
defunkt
gist
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The gist RubyGem versions from 4.0.0 up to but not including 6.1.0 contain an improper certificate validation vulnerability. The vulnerability arises because the http_connection method in lib/gist.rb sets SSL verification to VERIFY_NONE, effectively disabling certificate validation. This allows attackers positioned on the network path to present any certificate and intercept or modify HTTPS traffic to the GitHub API. Successful exploitation can lead to theft of OAuth tokens and login credentials, enabling attackers to read and modify the victim's gists.
Potential Impact
An attacker who can intercept network traffic can bypass SSL certificate validation, allowing them to read or modify sensitive data exchanged with the GitHub API. This includes stealing OAuth tokens and login credentials, which compromises the confidentiality and integrity of the victim's gists and potentially other GitHub resources accessible via those credentials.
Mitigation Recommendations
A fix is available in gist RubyGem version 6.1.0 and later. Users should upgrade to version 6.1.0 or newer to resolve this vulnerability. No vendor advisory was provided, so patch status is based on the version range given. Until upgrading, avoid using vulnerable versions in untrusted network environments.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-10-04T13:04:00.479Z
- Cvss Version
- 4.0
- State
- PUBLISHED
Threat ID: 6ac2d7d52cdf04f6565d4738
Added to database: 10/04/2026, 22:48:53 UTC
Last enriched: 10/04/2026, 23:03:16 UTC
Last updated: 10/05/2026, 21:23:07 UTC
Views: 28
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.