sentry Auth Token exposed publicly in docker hub image
A Sentry authentication token was embedded in a publicly available Docker Hub image, and the token remained active. An attacker could use the token to access the Sentry API and view application logs, which may contain sensitive information and PII.
- Fixed in 16 hours
- Paid in 9 days
- Disclosed after 7 months
Summary:
Hi during my recon I found Sentry token which belongs to taskcluster The token is still active.
Steps
- Go to https://hub.docker.com/r/taskcluster/taskcluster/tags
- pull these images tags
v15.0.0-20-g0eca18b7candc061025dcandba7958766andv16.2.0-77-gd8577f62amay be this exist in more tags - You will see this token 5841673fc43843db98088d579568271bcee388b21d91455b9c1fb151bab260b9 in /app/node_modules/sentry-api/test.js
- Try using the token with below curl request
curl -X GET -H "Authorization: Bearer 5841673fc43843db98088d579568271bcee388b21d91455b9c1fb151bab260b9" https://sentry.io/api/0/projects/
- You will see api response.

Supporting Material/References:
Impact
Summary:
Sentry exposes logs of the application which can contain sensitive information and PII. This is basic impact. But sentry contains application logs it can be used to find more vulnerabilities in the code base
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
Impact
The token could allow an attacker to read application logs that may contain sensitive information and PII, and potentially find more vulnerabilities.
What the attacker needed
Public Docker Hub image; no authentication needed to pull image
The fix
The token should be revoked and removed from the image.
How it was found
- Go to the Docker Hub tags page for the taskcluster repository.
- Pull the listed image tags.
- Find the token in the test file inside the image.
- Use the token in an API request to Sentry.
- Observe the API response.
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 secret token used to access a logging service was accidentally left inside a public software container. Anyone who downloaded that container could find the token and use it to read the service's logs, which might include private data.
What is Leaked secrets?
Keys, tokens or passwords left in public code, apps, logs or responses, that grant real access.