gist — security advisory
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.
- Products
- gist
- Affected versions
- 4.4.2-1, 4.5.0-1, 4.5.0-2, 4.6.1-1, 5.0.0-2, 5.0.0-3, 5.0.0-4, 5.0.0-4ubuntu1, 6.0.0-2, 6.0.0-3, 6.0.0-3build1, 6.1.0-1
- Fixed versions
- Not specified
- CVEs
- CVE-2026-105221
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 02:39 UTC · Revision 1
Source evidence
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.
osv:UBUNTU-CVE-2026-105221
gist
Fixed versions: Not specified
gist
Fixed versions: Not specified
gist
Fixed versions: Not specified
gist
Fixed versions: Not specified
gist
Fixed versions: Not specified
gist
Fixed versions: Not specified
gist
Fixed versions: Not specified
Complete source record
{
"id": "2849d0f19c300779cd753951627445f807e40accf11f3e364515b97a34b987ff",
"url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-105221",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "UBUNTU-CVE-2026-105221",
"summary": "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.",
"evidence": "osv:UBUNTU-CVE-2026-105221",
"products": [
{
"name": {
"value": "gist",
"evidence": "/affected/0/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.4.2-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-1",
"evidence": "/affected/0/versions"
},
{
"value": "4.5.0-2",
"evidence": "/affected/0/versions"
}
]
},
{
"name": {
"value": "gist",
"evidence": "/affected/1/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "4.6.1-1",
"evidence": "/affected/1/versions"
}
]
},
{
"name": {
"value": "gist",
"evidence": "/affected/2/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "5.0.0-2",
"evidence": "/affected/2/versions"
},
{
"value": "5.0.0-3",
"evidence": "/affected/2/versions"
},
{
"value": "5.0.0-4",
"evidence": "/affected/2/versions"
},
{
"value": "5.0.0-4ubuntu1",
"evidence": "/affected/2/versions"
}
]
},
{
"name": {
"value": "gist",
"evidence": "/affected/3/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.0.0-2",
"evidence": "/affected/3/versions"
}
]
},
{
"name": {
"value": "gist",
"evidence": "/affected/4/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.0.0-3",
"evidence": "/affected/4/versions"
}
]
},
{
"name": {
"value": "gist",
"evidence": "/affected/5/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.0.0-3build1",
"evidence": "/affected/5/versions"
},
{
"value": "6.1.0-1",
"evidence": "/affected/5/versions"
}
]
},
{
"name": {
"value": "gist",
"evidence": "/affected/6/package/name"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": [
{
"value": "6.0.0-3",
"evidence": "/affected/6/versions"
},
{
"value": "6.0.0-3build1",
"evidence": "/affected/6/versions"
}
]
}
],
"severity": "critical",
"structured": {
"id": "UBUNTU-CVE-2026-105221",
"aliases": [
"UBUNTU-CVE-2026-105221"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"
},
{
"type": "CVSS_V4",
"score": "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"
},
{
"type": "Ubuntu",
"score": "medium"
}
],
"affected": [
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=xenial",
"ecosystem": "Ubuntu:16.04:LTS"
},
"versions": [
"4.4.2-1",
"4.5.0-1",
"4.5.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "4.5.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=bionic",
"ecosystem": "Ubuntu:18.04:LTS"
},
"versions": [
"4.6.1-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "4.6.1-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=focal",
"ecosystem": "Ubuntu:20.04:LTS"
},
"versions": [
"5.0.0-2",
"5.0.0-3",
"5.0.0-4",
"5.0.0-4ubuntu1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "5.0.0-4ubuntu1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=jammy",
"ecosystem": "Ubuntu:22.04:LTS"
},
"versions": [
"6.0.0-2"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "6.0.0-2"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=noble",
"ecosystem": "Ubuntu:24.04:LTS"
},
"versions": [
"6.0.0-3"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "6.0.0-3"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=stonking",
"ecosystem": "Ubuntu:26.10"
},
"versions": [
"6.0.0-3build1",
"6.1.0-1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "6.1.0-1"
}
]
}
},
{
"ranges": [
{
"type": "ECOSYSTEM",
"events": [
{
"introduced": "0"
}
]
}
],
"package": {
"name": "gist",
"purl": "pkg:deb/ubuntu/gist?arch=source&distro=resolute",
"ecosystem": "Ubuntu:26.04:LTS"
},
"versions": [
"6.0.0-3",
"6.0.0-3build1"
],
"database_specific": {
"source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-105221.json"
},
"ecosystem_specific": {
"binaries": [
{
"binary_name": "gist",
"binary_version": "6.0.0-3build1"
}
]
}
}
],
"modified": "2026-10-17T12:58:42.478026029Z",
"provider": "osv",
"upstream": [
"CVE-2026-105221"
],
"references": [
"https://ubuntu.com/security/CVE-2026-105221",
"https://www.cve.org/CVERecord?id=CVE-2026-105221"
]
},
"related_cves": [
{
"value": "CVE-2026-105221",
"evidence": "/upstream"
}
],
"security_relevant": true,
"severity_evidence": "/severity/1/score"
},
"source_id": "core-osv",
"document_id": 358975,
"published_at": "2026-10-04T23:16:00+00:00"
}