Skip to content
Access control Disclosed report Beginner

Iterations from unauthorized descendant groups can be disclosed via include_descendants.

The iterations API endpoint for a public parent group did not properly check access to private descendant groups when the include_descendants parameter was used. An authenticated user could retrieve iteration titles, descriptions and scheduling information from private child groups they should not be able to access.

GitLab

Originally disclosed on GitLab

  • Fixed in 20 days
  • Disclosed after 20 days

⚠️ 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 #3484568 by go7f0 on 2026-01-02, imported by @fvpotvin:

Report | Attachments | How To Reproduce

HackerOne Analyst Summary

Summary

An access control issue exists in GitLab's iterations API endpoint that allows unauthorized disclosure of iteration data from private descendant groups. The vulnerability occurs when the include_descendants parameter is used in the /api/v4/groups/<parent_group_id>/iterations endpoint, which bypasses proper authorization checks for private child groups. When a parent group is configured as public but contains private child groups, authenticated users can retrieve iteration information from those private descendant groups despite lacking direct access permissions.

Steps to Reproduce

  1. Create a parent group that is configured as public visibility
  2. Within the parent group, create a child group with private visibility settings
Screenshot_2026-01-02_at_9.54.47_AM.png
Screenshot_2026-01-02_at_9.54.47_AM.png From the original on GitLab
  1. Navigate to the private child group and access Plan → Iterations to create a new iteration cadence
    • Title: "test cadence"
    • Description: "test cadence"
    • Leave "Enable automatic scheduling" unchecked
Screenshot_2026-01-02_at_9.49.29_AM.png
Screenshot_2026-01-02_at_9.49.29_AM.png From the original on GitLab
  1. Within the newly created cadence, add a new iteration
Screenshot_2026-01-02_at_9.49.59_AM.png
Screenshot_2026-01-02_at_9.49.59_AM.png From the original on GitLab
Screenshot_2026-01-02_at_9.50.21_AM.png
Screenshot_2026-01-02_at_9.50.21_AM.png
  1. Make an API request to the parent group's iterations endpoint with the include_descendants parameter:

    GET /api/v4/groups/<parent_group>/iterations?include_ancestors=false&include_descendants=true
    
Screenshot_2026-01-02_at_10.01.23_AM.png
Screenshot_2026-01-02_at_10.01.23_AM.png From the original on GitLab

Impact

The vulnerability enables unauthorized access to iteration planning data from private descendant groups, potentially exposing project management information. This includes access to iteration titles, descriptions, and scheduling information.

Original Report

Summary

include_descendants allows users to retrieve iterations belonging to descendant groups they should not be able to access.

Steps to reproduce

Construction environment: parent_group is public, child_group is private.

__.png
__.png From the original on GitLab

Create new cadences in private-group Plan -> Iterations.

The Enable automatic scheduling option here can be checked or unchecked; for ease of distinction, it is left unchecked.

__.png
__.png From the original on GitLab

Add iteration in the newly created Cadence.

__.png
__.png From the original on GitLab

Enter sensitive content in the Title and Description fields.

__.png
__.png From the original on GitLab

At this point, since private-group is private, other regular accounts will receive a 404 error when attempting to access it.

__.png
__.png From the original on GitLab

However, since the parent group is public, the content of the iterations in the private group can be obtained through /api/v4/groups/<parent_group_id>/iterations?include_ancestors=false&include_descendants=false.

__.png
__.png From the original on GitLab

Impact

This enables unauthorized access to iteration data from descendant groups, potentially exposing private planning information across group boundaries.

Attachments

Warning: Attachments received through HackerOne, please exercise caution!

How To Reproduce

Please add reproducibility information to this section:

The original report as published on GitLab. Images and videos are our own copies; raw HTML is shown as text. View it on GitLab.

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 iterations API endpoint did not filter descendant groups by the current user's permissions when include_descendants was set.

Impact

An authenticated user could read iteration titles, descriptions and scheduling information from private descendant groups, exposing private planning data.

What the attacker needed

Public parent group; private child group with iterations; authenticated account

How it was found

  1. Create a public parent group.
  2. Create a private child group inside it.
  3. In the private child group, create an iteration cadence and add an iteration with sensitive title and description.
  4. As a regular user who gets a 404 on the private group, call the parent group's iterations API with include_descendants set to true.
  5. Observe the iteration data from the private child group in the 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 group can contain smaller groups, called child groups. A public parent group is visible to everyone, but a private child group should only be visible to its members. The iterations feature stores planning information. The API let anyone list iterations from private child groups just by asking for descendant groups, even though the user had no access to those child groups.

What is Access control?

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.

More from GitLab

View all

The newest disclosed reports for this program.

Similar reports

View all

Same bug class and techniques, clearest first.

Broken access control

The lesson behind this report.

A user can do something their role should not allow: reach an admin function, act on a feature they have not paid for, or skip a permission check. IDOR is the special case where the object belongs to someone else.