Gitea 公開専用トークンで組織の非公開リポジトリを一括削除される脆弱性
Summary
Gitea 1.27.0以降28.3.0未満では、公開専用のアクセストークンを使うと、組織の非公開リポジトリをまとめて完全に削除できてしまう脆弱性(CVE-2026-119441)が見つかりました。CVSSは7.5です。修正版の28.3.0で修正されており、利用中の環境は修正版へ更新してください。
AI summary
Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.
Gitea 1.27.0以降28.3.0未満では、公開専用のアクセストークンを使うと、組織の非公開リポジトリをまとめて完全に削除できてしまう脆弱性(CVE-2026-119441)が見つかりました。CVSSは7.5です。修正版の28.3.0で修正されており、利用中の環境は修正版へ更新してください。
Affected packages
| Package | Affected → Fixed | |
|---|---|---|
| GiteaGitea |
≥ 1.27.0, < 28.3.0→ 28.3.0 |
28.3.0 |
Original description The description as published by the source.
DELETE /api/v1/orgs/{org}/repos deletes all repositories of an organization, but it did not enforce the public-only restriction of access tokens: the route only checked that the organization itself was public. A public-only token of an owner of a public organization could therefore permanently delete the organization's private repositories, which such a token must not reach. Routes that require organization ownership now reject public-only tokens.
Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory
References
- advisory github.com
- advisory blog.gitea.com
- advisory github.com
- advisory github.com
- advisory nvd.nist.gov
- patch github.com
- patch github.com