RubySec

Providing security resources for the Ruby community

CVE-2026-105221 (gist): Gist (< 6.1.0) contains improper certificate validation vulnerability

Gist (< 6.1.0) contains improper certificate validation vulnerability

Published: June 16, 2026

SECURITY IDENTIFIERS

GEM

gist

SEVERITY

CVSS v3.x: 7.4 (High)

UNAFFECTED VERSIONS

>= 2.0.0, < 4.0.0

PATCHED VERSIONS

>= 6.1.0

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.

RELATED