Members of a team in org can view detail of other teams (in the same org) via api #3222

Closed
opened 2025-11-02 05:04:25 -06:00 by GiteaMirror · 0 comments
Owner

Originally created by @rucciva on GitHub (Apr 22, 2019).

Description

If a user is added to a team in organization, the user could obtains information on other teams in the same organization via api (GET /teams/{id} and GET /teams/{id}/*). Meanwhile, accessing other team's page via web ui is forbidden

Screenshots

Originally created by @rucciva on GitHub (Apr 22, 2019). <!-- NOTE: If your issue is a security concern, please send an email to security@gitea.io instead of opening a public issue --> <!-- 1. Please speak English, this is the language all maintainers can speak and write. 2. Please ask questions or configuration/deploy problems on our Discord server (https://discord.gg/gitea) or forum (https://discourse.gitea.io). 3. Please take a moment to check that your issue doesn't already exist. 4. Please give all relevant information below for bug reports, because incomplete details will be handled as an invalid report. --> - Gitea version (or commit ref): 1.8.0 - Git version: 2.20.1 - Operating system: linux - Database (use `[x]`): - [ ] PostgreSQL - [x] MySQL - [ ] MSSQL - [ ] SQLite - Can you reproduce the bug at https://try.gitea.io: - [x] Yes ( https://rucciva-peasant:mC2yjUj5K5gcFPP@try.gitea.io/api/v1/teams/2633/members) - [ ] No - [ ] Not relevant - Log gist: ## Description If a user is added to a team in organization, the user could obtains information on other teams in the same organization via api (`GET /teams/{id}` and `GET /teams/{id}/*`). Meanwhile, accessing other team's page via web ui is forbidden ## Screenshots <!-- **If this issue involves the Web Interface, please include a screenshot** -->
GiteaMirror added the type/bug label 2025-11-02 05:04:25 -06:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/gitea#3222