Attacker is able to access commit title and team member comments which are supposed to be private
A user could subscribe to another user's profile and receive email notifications containing private commit titles and comments from an internal project, even though the project's visibility was set to 'Only Team Members' and the subscriber was not a team member. This allowed an attacker to read information that should have been restricted.
- Triaged in 44 hours
- Fixed in 2 months
- Paid in 2 months
- Disclosed after 4 months
Summary: [add summary of the vulnerability]
Description: [add more details about this vulnerability]
Steps To Reproduce:
To reproduce this vulnerability, we need two accounts, lets say those accounts are: -> [email protected] -> [email protected]
- Create a project from account [email protected] with the following permissions:

Note that the project visibility should be internal.
- Go to profile of
[email protected]from[email protected]and subscribe to all events, like this:

- From victim account, comment on any commit, and you should receive it's notification on [email protected], like this:

As you can see, the message of the commit, team members who commented, what the comment was, everything is visible from the email received. This shouldn't be sent via email because the settings selected for repository is 'Only Team Members' whereas [email protected] is not a team member.
I have tried my best to have perfect steps to reproduce this, still do tell me if you need more info :)
Thanks, Yash :)
Impact
An attacker will be able to view any commit titles, and all comments which shouldn't be visible to him using this vulnerability
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 the notification system did not check whether the subscriber had permission to view the project before sending commit and comment details.
What the attacker needed
Two accounts; victim creates internal project with 'Only Team Members'; attacker subscribes to victim's profile
How it was found
- Create an internal project from the victim account with permissions set to 'Only Team Members'.
- From the attacker account, go to the victim's profile and subscribe to all events.
- From the victim account, comment on any commit.
- The attacker receives an email notification containing the commit message, commenters, and comment content.
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 project can be set so only team members see its activity. But the system sent email alerts about new comments to anyone who subscribed to a user's profile, even if that person was not on the team. So an outsider could read private messages just by subscribing.
What is Info disclosure?
Data the application should keep private (personal data, internal details, other users' records) reaches someone it should not.