Skip to main content
EPSS 0.2%top 93%

CVE-2026-105221: Improper Certificate Validation in defunkt gist

0
Critical
VulnerabilityCVE-2026-105221cvecve-2026-105221
Published: 10/04/2026 (10/04/2026, 22:31:47 UTC)
Source: CVE Database V5
Vendor/Project: defunkt
Product: 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

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N

Affected software

defunkt

gist

Affected versions
>=4.0.0 <6.1.0
gist
pkg:gem/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

AILast updated: 10/04/2026, 23:03:16 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses