Private RSA key and Server key exposed on the GitHub repository
Private RSA and server keys were committed to a public Kubernetes GitHub repository. An attacker who found them could use them for unauthorised access to servers relying on those keys.
- Disclosed after 5 months
Report Submission Form
Summary:
I was searching for sensitive data in Kubernetes repository where I found these private keys. These are private RSA key and private server key, which could be used for unauthorized access.
Steps To Reproduce:
VISIT THESE LINKS
Repository : kubernetes / kubernetes
Supporting Material/References:
https://hackerone.com/reports/50170 https://hackerone.com/reports/638401
Impact
1).Private key leakage 2). All of the servers using this key will be compromised
Attachments


Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
How it worked
Root cause
Likely test fixture keys were committed to a public source repository without being treated as sensitive.
Impact
The reporter claims all servers using this key could be compromised, though the text does not show that the keys are used in production.
What the attacker needed
Public repository access
How it was found
- Visit the linked file in the Kubernetes repository.
- Observe the private key material exposed in the file.
Explained by bugbounty.wiki with AI from the original and checked against quotes from it; it can still be wrong. Read the original before relying on a detail.
Not written yet. The AI write-up for this report has not been written yet. The Original tab links to the source.
A private key is a secret used to prove identity in encrypted connections. If it is published, someone else could use it for unauthorised access. Here the keys were left in a public code repository.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.