# GitHub's RSA SSH host key briefly exposed in a public repo · pwn.watch > GitHub's private RSA SSH host key for github.com was briefly exposed in a public repository. GitHub rotated it as a precaution, which meant anyone connecting over SSH with RSA saw a host key mismatch warning until they updated known_hosts. Page: https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023 · generated 2026-12-06T19:58:06.567Z ## Status - Severity: medium · status: closed · patch: patched - Product: GitHub (github.com SSH) - Started: 2023-03-24 · closed: 2023-03-24 ## Follow this incident - RSS (one item per update): https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023/feed.xml - JSON Feed: https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023.json - This file: https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023/llms.txt ## Updates (newest first) - 2023-03-24: GitHub replaces its RSA SSH host key; users must update known_hosts (https://github.blog/news-insights/company-news/we-updated-our-rsa-ssh-host-key/) ## Fix brief # Security brief: GitHub's RSA SSH host key briefly exposed in a public repo Source: https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023 · status: closed (closed Mar 24, 2023) · severity: medium · updated Mar 24, 2023 ## Patch status **PATCHED: fixed releases exist. Upgrade to a fixed version.** ## What it is GitHub's private RSA SSH host key for github.com was briefly exposed in a public repository. GitHub rotated it as a precaution, which meant anyone connecting over SSH with RSA saw a host key mismatch warning until they updated known_hosts. Severity detail: Precautionary key rotation; GitHub said there was no evidence of misuse - Product: GitHub (github.com SSH) ## Affected versions - Not specified in the data. Check the advisories below. ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix No fixed version is listed. Follow the vendor advisory below. ## Latest updates - Mar 24, 2023: GitHub replaces its RSA SSH host key; users must update known_hosts ## Advisories - [We updated our RSA SSH host key](https://github.blog/news-insights/company-news/we-updated-our-rsa-ssh-host-key/) (GitHub) --- Machine-readable: https://pwn.watch/i/github-rsa-ssh-host-key-exposed-2023.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.