HIGH7.5
GHSA-4c8f-3m6h-m56r
Gitea primary email ownership bypass allows cross-user email changes
Quick fix
GHSA-4c8f-3m6h-m56r — code.gitea.io/gitea: upgrade to the fixed version with the command below.
go get code.gitea.io/gitea@v1.25.5Details
Gitea versions before 1.25.5 allow a user to change another user's primary email address.
Are you affected?
Enter the version of the package you're using.
Affected packages
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-27657[ADVISORY]
- https://github.com/go-gitea/gitea/pull/36586[WEB]
- https://github.com/go-gitea/gitea/pull/36607[WEB]
- https://github.com/go-gitea/gitea/commit/8d26ea93738430a57d00c2da0fd97e1ba712eed7[WEB]
- https://github.com/go-gitea/gitea/commit/e927a86586afc138959b462d4040d1547f406f71[WEB]
- https://blog.gitea.com/release-of-1.25.5[WEB]
- https://github.com/go-gitea/gitea[PACKAGE]
- https://github.com/go-gitea/gitea/releases/tag/v1.25.5[WEB]