CVE-2026-0798 Gitea Release Email Notifications Leak Private Repository Release Details After Access Revocation

Low 3.5 Published Updated

Gitea leaks private repository release details via email to users whose access was revoked after repository visibility changes.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
Available

What is CVE-2026-0798?

CVE-2026-0798 is a low-severity vulnerability in Gitea Gitea, published on 22 Jan 2026. Any signed-in user can exploit it over the network, and only if a user opens a file or follows a link.

Official description

Gitea may send release notification emails for private repositories to users whose access has been revoked. When a repository is changed from public to private, users who previously watched the repository may continue to receive release notifications, potentially disclosing release titles, tags, and content.

Weakness: CWE-284

Which versions are affected by CVE-2026-0798?

4 open source packages ship an affected version, including code.gitea.io/gitea and gitea. It affects 1 product.

PackageAffectedFixed in
code.gitea.io/gitea GoAll versions1.25.4
code.gitea.io/gitea GoAll versions1.25.4
code.gitea.io/gitea GoAll versions1.25.4
gitea BitnamiAll versions1.25.4

Products include Gitea Gitea.

How do I fix CVE-2026-0798?

Upgrade code.gitea.io/gitea to 1.25.4 or later.

Is CVE-2026-0798 being exploited?

There is no known exploitation of CVE-2026-0798 in the wild and no public exploit code.

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2026-0798, GHSA-8fwc-qjw5-rvgp, GHSA-f4wq-6ww5-m56p, GO-2026-4365.

Is CVE-2026-0798 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free