IP allowlist bypass when Closing Issue

⚠️ Please read the process on how to fix security issues before starting to work on the issue. Vulnerabilities must be fixed in a security mirror.

HackerOne report #3080621 by salh4ckr on 2025-04-07:

Report | Attachments | How To Reproduce

Report

Summary

Hello,

It is possible to close issue from any ip addresses despite owner restricted group access to specific ip address.

Steps to reproduce

As Owner

  1. Create group-A
  2. Go to group-A and setup ip
  3. Create project A
  4. Go to project A and create Issue-1
  5. Invite reporter user to your project

As Reporter User using prohibited ip adress

  1. Create group-B
  2. Create project-B
  3. Go to project-B and create merge request
  4. Change merge request description to group-A/project-A#1 (1 is the id of issue you want to close)
  5. Now Merge the merge request
What is the current bug behavior?

It is currently possible to close issue from prohibited ip address

What is the expected correct behavior?

It shoul not be possible to close issue if user is not using allowed ip address

POC

Impact

issue can be closed from prohibited ip address

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

How To Reproduce

Please add reproducibility information to this section: