CVE-2026-129525 is a missing authorization vulnerability in Gitea affecting several API endpoints related to issues and pull requests. The flaw allowed users with read access to either issues or pull requests, but not both, to access data from the other type through issue sub-resources and repository pages. This improper access was corrected by adding read access checks specific to the item type. The vulnerability was fixed in Gitea versions 28.2.0, 28.3.0, and fully resolved in 28.4.0.
CVE-2026-129341 is an authorization vulnerability in Gitea affecting versions from 1.11.0 up to but not including 28.4.0. The flaw allowed users who uploaded attachments or release assets to delete them even after losing write access to the repository or when only having read access to issues or pull requests. The issue has been fixed in version 28.4.0 by restricting deletion to attachments uploaded by the user that are not linked to any issue, comment, or release.
A missing authorization vulnerability in Gitea allows users with read access to push branches and tags to repositories that are still being created by migration, fork, or template generation, due to the absence of server-side hooks during that window. This issue affects Gitea versions from 1.16.0 up to but not including 28.4.0. The vulnerability has been addressed in version 28.4.0, which now refuses Git over HTTP requests to repositories still in creation.
CVE-2026-128365 is an authorization vulnerability in Gitea affecting versions from 1.19.0 up to but not including 28.4.0. The flaw involves improper handling when removing a team's review request on a pull request, where a review by the built-in Actions user could be incorrectly counted as an official approval. This could allow a user with permission to change review requests to make an approval by the Actions user count toward branch protection requirements, although merging still requires explicit merge permission. The issue is fixed in version 28.4.0.
Gitea versions prior to 28.4.0 have an insufficient session expiration vulnerability when acting as an OAuth2 or OpenID Connect provider. The token endpoint did not verify the user's sign-in status, allowing refresh tokens and unused authorization codes to be exchanged for new tokens even after account deactivation or sign-in prohibition. This could allow continued access for users who should no longer be signed in. The issue is fixed in version 28.4.0, where the token endpoint refuses users who may not sign in and token introspection marks their tokens as inactive.
CVE-2026-127958 is a vulnerability in Gitea where draft pull request reviews created via the API were prematurely visible to all users who can read the pull request, including anonymous visitors of public repositories. This occurred because draft reviews were added to the pull request timeline and announced through notifications and activity feeds before being submitted. The issue was fixed in version 28.4.0 by preventing pending reviews from generating timeline entries or notifications until submission.
CVE-2026-126338 is an authorization bypass vulnerability in Gitea affecting versions from 1.14.0 up to but not including 28.4.0. It allows a signed-in user to reply to a code review comment using a review ID from a different pull request, potentially exposing diff context from repositories they cannot access. The issue is fixed in version 28.4.0 by restricting replies to only reviews of the same pull request and only allowing pending review replies from the review's author.
A vulnerability in Gitea allowed any signed-in user to query the API endpoint GET /api/v1/users/{username}/orgs/{org}/permissions and learn the role of another user within a public or limited organization, even if the membership was concealed. This exposure of sensitive information was fixed in version 28.4.0 by restricting role information to the user themselves, organization members, and site administrators.
A missing authorization check in Gitea's AGit flow allowed users with limited access (read-only code or wiki write access) to create pull requests without proper permissions. This flaw was fixed in version 28.4.0 by requiring read access to pull requests when creating them through AGit.
The "Protected file patterns" setting of a branch protection rule was checked against file names as git prints them, and git quotes names that contain a double quote, a backslash or a control character. Such names never matched a pattern, so a user with write access could add or change files under a protected pattern by direct push or through a pull request merge, and could move a protected file out of the pattern's reach by renaming it. Where the patterns protect workflow files, this allowed adding a workflow that then ran on the repository's runners. Changed files are now listed unquoted, and a rename reports both the old and the new path.
When a release was edited, the files of the attachments to remove were deleted by the identifiers submitted in the form rather than by the attachments verified to belong to the release. A user with write access to the releases of any repository, including their own, could submit a crafted identifier that resolves to the stored file of another attachment and delete it, provided they know that attachment's UUID. The attachment record stayed, so downloads of the affected issue, comment or release file failed. Release edits now only delete the files of attachments that belong to the release.
When a file is edited in a fork through the web editor, Gitea can first copy a branch from the base repository into the fork. That copy did not check whether the user may read the base repository's code. A user who had forked a repository and later lost access to it, for example after it was made private or they were removed as a collaborator, could keep copying its current branches into their fork and read them. The copy now requires read access to the code of the base repository.
Gitea accepted an unlimited number of wrong TOTP passcodes during sign-in, in the password reset flow and for Basic authentication with the `X-Gitea-OTP` header. An attacker who already knows an account's password could guess the six-digit passcode by trying codes at a high rate and sign in despite two-factor authentication. After five failed passcodes, further attempts for the account are now refused for 15 minutes.
When a container blob upload was rejected, for example because it exceeded a package size quota, the cleanup removed the blob from storage even if the same content already existed and was used by other packages. On an instance with a package quota configured, a user who can upload container images and has the exact content of another owner's package file or image layer could make it undownloadable. The cleanup now only removes blobs that the failed upload created.
The popup shown when hovering an issue reference loaded its data from the path of the hovered link and inserted part of the response as HTML. A user who can post a comment or other rendered content could add a link that is displayed as an ordinary issue reference but points to a file in a repository they control, so that the popup inserted that file's content into the page of anyone hovering the link and ran script in the viewer's session. The popup now requests the issue by the owner, repository and index parsed from the link.
With `REQUIRE_SIGNIN_VIEW = true`, the Git LFS endpoints still answered unauthenticated requests for repositories that are not private. An anonymous client who knows the path of such a repository and the SHA-256 of an LFS object could download the object, and could use the batch endpoint to test whether an object exists. The Git LFS endpoints now require authentication when sign-in is required to view the instance.
A repository registered by its owner as a source of scoped workflows kept that registration when it was transferred to another owner. The new owner could then change the workflows in the transferred repository, and they kept running in the previous owner's repositories with access to their Actions secrets and job tokens. A transfer now removes the owner-level registrations of the repository, and registrations whose source repository no longer belongs to the registering owner are ignored.
The RubyGems package registry accepted gems whose platform, dependency names or dependency version requirements contain newline characters. Because the compact index served to clients is line-based, a user who can publish a gem to an owner's registry could forge index entries, such as packages that do not exist or additional versions of an existing gem with dependencies of their choice. Clients that resolve gems from that registry could then be led to install attacker-chosen dependencies. Gems with such metadata are now rejected.
CVE-2026-125423 is a vulnerability in Gitea versions before 28.4.0 where a repository created with auto-init accepted pushes before initialization was complete. This allowed an attacker with repository creation permissions to push a crafted tree that followed a symbolic link, overwriting a server-side git hook. The git hook runs commands as the Gitea system user, potentially leading to privilege escalation. The issue has been fixed by ensuring the initial commit is built in a freshly initialized directory and that repositories only accept pushes once initialization is complete.
A vulnerability in Gitea versions 28.0.0 through 28.3.x allowed signed-in users to retrieve sensitive information including password hashes, salts, and email addresses of repository owners via the repository search endpoint. This issue was fixed in version 28.4.0 by limiting the commit status response to only include the state and target URL.