๐Ÿ” CVE Alert

CVE-2026-118395

UNKNOWN 0.0

Gitea public-only token bypass in repository and organization creation

CVSS Score
0.0
EPSS Score
0.0%
EPSS Percentile
0th

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.

Vendor gitea
Product gitea
Published Nov 1, 2026
Stay Ahead of the Next One

Get instant alerts for gitea gitea

Be the first to know when new unknown vulnerabilities affecting gitea gitea are published โ€” delivered to Slack, Telegram or Discord.

Get Free Alerts โ†’ Free ยท No credit card ยท 60 sec setup

Affected Versions

Gitea / Gitea
0 < 28.3.0

References

NVD โ†— CVE.org โ†— EPSS Data โ†—
github.com: https://github.com/go-gitea/gitea/security/advisories/GHSA-x5v4-836g-f95x github.com: https://github.com/go-gitea/gitea/pull/39690 github.com: https://github.com/go-gitea/gitea/pull/39853 blog.gitea.com: https://blog.gitea.com/release-of-28.3.0/ github.com: https://github.com/go-gitea/gitea/releases/tag/v28.3.0

Credits

๐Ÿ” https://github.com/DshtAnger ๐Ÿ” https://github.com/tao0845 ๐Ÿ” https://github.com/d3do-23 ๐Ÿ” https://github.com/venkatchalla06 ๐Ÿ” https://github.com/shmulc8 https://github.com/silverwind