Gitea versions before 1.26.0 allow API users to fork a repository into an organization without first passing the CanCreateOrgRepo check, which can expose organization secrets.
https://github.com/go-gitea/gitea/security/advisories/GHSA-fhx7-m96w-mv29
https://github.com/go-gitea/gitea/releases/tag/v1.26.0