Skip to content
High 7.5

Giteaで公開リソース限定のトークンによる権限回避の脆弱性、非公開リポジトリや組織を作成されるおそれ

CVE-2026-118395 First seen on SecPulse

Summary

Giteaの公開リソース限定(public-only)のトークンが、組織へのリポジトリ作成などの一部のAPIで制限を回避でき、非公開のリポジトリや組織を作成されるおそれがあります。影響するのは28.3.0より前のGiteaで、修正版の28.3.0に更新してください。公表は5日前の2026年11月1日です。

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の公開リソース限定(public-only)のトークンが、組織へのリポジトリ作成などの一部のAPIで制限を回避でき、非公開のリポジトリや組織を作成されるおそれがあります。影響するのは28.3.0より前のGiteaで、修正版の28.3.0に更新してください。公表は5日前の2026年11月1日です。

Affected packages

PackageAffected → Fixed
GiteaGitea
< 28.3.0→ 28.3.0
Original description The description as published by the source.

Gitea 1.27.3 stopped personal access tokens restricted to public resources (public-only) from creating repositories through POST /api/v1/user/repos and POST /api/v1/repos/migrate, but POST /api/v1/org/{org}/repos, POST /api/v1/orgs/{org}/repos, POST /api/v1/orgs and POST /api/v1/repos/{owner}/{repo}/generate still accepted such tokens. A holder of a public-only token with the needed write scopes could create private repositories in organizations where the token's owner may create repositories, create private organizations, and generate private repositories from templates. The token still could not read the private repositories it created.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details