Backend: Schedule pipelines are visible to unauthenticated users despite public pipeline disabled
When public pipelines are disabled for a public project, unauthenticated users can still view the list of scheduled pipelines. This exposes pipeline schedule information that should only be visible to project members with Reporter role or higher.
GitLab
Originally disclosed on GitLab
- Fixed in 3 months
- Disclosed after 3 months
⚠️ 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 #2036470 by ashish_r_padelkar on 2023-06-23, assigned to @ottilia_westerlund:
Report | Attachments | How To Reproduce
Report
Summary
Hello,
As per this documentation, https://docs.gitlab.com/ee/ci/pipelines/settings.html#change-which-users-can-view-your-pipelines when public pipelines are disabled from the public projects, guest or unauthenticated users wont see CI/CD menu items and can only see pipeline and job statuses.
For Public projects, job logs, job artifacts, the pipeline security dashboard, and the CI/CD menu items are visible only to project members (Reporter or higher). Other users, including guest users, can only view the status of pipelines and jobs, and only when viewing merge requests or commits.
However, any unauthenticated user can see the pipelines that are scheduled to run by admins even when public pipelines are disabled and this Schedule Pipeline is one of the menu items from CI/CD.
Steps to reproduce
1.As a public project admin, go to your CI/CD settings at https://gitlab.com/<groupNamespace>/<projectNamespace>/-/settings/ci_cd and clear the public pipeline checkbox. Make sure you save this settings.

2.Add schedule pipelines here at https://gitlab.com/<groupNamespace>/<projectNamespace>/-/pipeline_schedules.
3.Now as any unauthenticated user, go to https://gitlab.com/<groupNamespace>/<projectNamespace>/-/pipeline_schedules and you see those schedule pipelines which they shouldn't as per documentation provided above.
What is the current bug behavior?
Any unauthenticated user can see schedule pipelines despite public pipeline being disabled.
What is the expected correct behavior?
It should be visible only to Reporters and higher role users.
Output of checks
This bug happens on GitLab.com. GitLab Enterprise Edition 16.2.0-pre 2a4d9de2b78
Regards,
Ashish
Impact
Schedule pipelines are visible to unauthenticated users despite public pipeline disabled
Attachments
Warning: Attachments received through HackerOne, please exercise caution!
How To Reproduce
Please add reproducibility information to this section:
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 pipeline schedules page did not enforce the public pipelines visibility setting, allowing unauthenticated access.
Impact
Unauthenticated users could view scheduled pipelines that should be restricted to project members.
What the attacker needed
Public project; public pipelines disabled; scheduled pipelines exist
How it was found
- As a public project admin, go to CI/CD settings and clear the public pipeline checkbox, then save.
- Add scheduled pipelines via the pipeline schedules page.
- As an unauthenticated user, visit the pipeline schedules URL and observe the scheduled pipelines.
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.
In GitLab, admins can disable public pipelines so only members see them. However, unauthenticated users could still see the scheduled pipelines page.
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.