CVE-2026-105221
CRITICAL 9.1The 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.
Severe if exploited (CVSS 9.1), but no known exploitation and low modeled probability. Patch on a normal cadence.
Exploitation likelihood
0.2%chance of exploitation in 30 days · 13th percentile
Impact if exploited
9.1CVSS 4.0 · CRITICAL
- ConfidentialityHigh
- IntegrityHigh
- AvailabilityNone
What an attacker needs
- ✓Access: Reachable over the network — no local access needed
- ✓Privileges: No account or privileges required
- ✓User interaction: No user interaction needed
- ⚠Complexity: Needs a race window or specific setup
- ⚠Requirements: Specific conditions must be present
✓ lowers the bar for an attacker · ⚠ raises it
Proof of concept
No public PoC is currently catalogued.
Search for new PoCs
Search GitHub now — results may be empty or unverified.
Tracked sources are checked daily for recent CVEs, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.
Data snapshot:
Weakness (CWE)
- CWE-295: Improper Certificate Validation
CVSS vector
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
References and research data (JSON)
Vendor product assessments
All currently supported Red Hat products · known not affected
Vendor assessment for this product only.
Reason: vulnerable code not present
Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00
Unverified PoC candidates
Catalogue matches for further research. These repositories have not been validated as working exploits.
1 candidate
- https://github.com/abraxas/cve-2026-105221-gist-tls
CVE-2026-105221 - gist RubyGem - High - MITM - GitHub OAuth token theft
PoC-in-GitHub · CVE-2026-105221
PoC-in-GitHub · CVE-2026-105221 · Updated 2026-10-07T00:37:04Z
All CVSS metrics
- CRITICAL 9.1 v4.0 · CNA Primary
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 - HIGH 7.4 v3.1 · CNA Primary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N - CRITICAL 9.1 v4.0 · NVD Secondary
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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X - HIGH 7.4 v3.1 · NVD Secondary
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
References
Patches & mitigations
- https://github.com/defunkt/gist/commit/07ccc1a6d46e9d36f0e85d0b1c5d795890ae6bcf CVE record · VulnCheck · Updated 2026-10-04T22:31:47.153Z
NVD · CVE-2026-105221 · Updated 2026-10-06T16:08:43.180
Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00
Advisories
- https://www.vulncheck.com/advisories/gist-rubygem-before-6.1.0-disabled-tls-certificate-verification CVE record · VulnCheck · Updated 2026-10-04T22:31:47.153Z
NVD · CVE-2026-105221 · Updated 2026-10-06T16:08:43.180
Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00 - https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-105221.json Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-92134 EUVD · EUVD-2026-92134
Technical & other
- https://github.com/defunkt/gist/issues/373 CVE record · VulnCheck · Updated 2026-10-04T22:31:47.153Z
NVD · CVE-2026-105221 · Updated 2026-10-06T16:08:43.180
Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00 - https://github.com/defunkt/gist CVE record · VulnCheck · Updated 2026-10-04T22:31:47.153Z
NVD · CVE-2026-105221 · Updated 2026-10-06T16:08:43.180
Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00 - https://github.com/defunkt/gist/blob/v6.0.0/lib/gist.rb#L466-L468 CVE record · VulnCheck · Updated 2026-10-04T22:31:47.153Z
NVD · CVE-2026-105221 · Updated 2026-10-06T16:08:43.180
Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00 - https://access.redhat.com/security/cve/CVE-2026-105221 Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00
- https://www.cve.org/CVERecord?id=CVE-2026-105221 Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00
- https://nvd.nist.gov/vuln/detail/CVE-2026-105221 Red Hat · CVE-2026-105221 · Updated 2026-10-06T05:35:07+00:00