Text of bounty.github.com › researchers › brainopener.html as Styx crawled it on Nov 19, 2026. The page may have changed since. Only its words are kept, without pictures or layout.

Open the live page

Mark L. Smith | GitHub Bug Bounty

500 pts Mark L. Smith @brainopener Earned badges Sensitive Data Exposure Reported vulnerabilities 500 pts List repositories API returns incorrectly cached response @brainopener discovered that information returned from the List your repositories API sometimes returned entries that were not associated with the currently authenticated user. This API endpoint caches recent requests for one minute for performance reasons.

The cache was accessed using a cache key composed of various pieces of information, including the user’s IP address and the HTTP basic authentication username used to authenticate to the API. However, when a user accesses the API using an OAuth token, the username component is not checked during authentication. As a result, an attacker could make requests to the API using the username of another user, but using the OAuth token for their own user.

If the other user had accessed the API endpoint in the last minute, and the attacker’s request orginated from the same IP address, the cache key would match and the repository list for the other user would be returned to the attacker. This attack did not allow any additional read or write access to repository contents. GitHub addressed this issue by modifying the cache key to only include data from the authenticated user.

Reported on 02-11-2017 for GitHub API