The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-0798

CVE-2026-0798: Gitea Information Disclosure Vulnerability

CVE-2026-0798 is an information disclosure vulnerability in Gitea that leaks private repository release notifications to revoked users. This article covers the technical details, affected versions, impact, and mitigation.

Published: January 23, 2026

CVE-2026-0798 Overview

CVE-2026-0798 is an information disclosure vulnerability in Gitea, a self-hosted Git service. The vulnerability occurs when a repository is changed from public to private, allowing users who previously watched the repository to continue receiving release notifications even after their access has been revoked. This can result in the disclosure of sensitive information including release titles, tags, and content to unauthorized users.

Critical Impact

Unauthorized users may receive release notifications for private repositories, potentially exposing confidential release information, software versions, and proprietary content to individuals who should no longer have access.

Affected Products

  • Gitea versions prior to 1.25.4

Discovery Timeline

  • 2026-01-22 - CVE CVE-2026-0798 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2026-0798

Vulnerability Analysis

This vulnerability is classified under CWE-284 (Improper Access Control). The issue stems from Gitea's notification system failing to properly validate current user permissions when distributing release notifications. When a repository transitions from public to private visibility, the system does not re-evaluate or purge the watch list of users who no longer have legitimate access to the repository.

The flaw exists in the release notification workflow where the application checks if a user is watching a repository but does not verify whether that user still has valid read permissions at the time the notification is sent. This creates a window where former collaborators, users whose access was explicitly revoked, or users who watched the repository while it was public can continue to receive email notifications about new releases.

Root Cause

The root cause is an improper access control check in the notification dispatch mechanism. When Gitea generates release notifications, it iterates through users who have subscribed to watch the repository without performing a secondary authorization check to confirm the user's current access level. The watch relationship persists independently of the access control changes made to the repository, creating a disconnect between who should receive notifications and who actually receives them.

Attack Vector

An attacker who previously had access to a public repository (either through watching it or having explicit access) could passively receive release notifications even after the repository becomes private or their access is revoked. This requires no active exploitation—the attacker simply needs to have watched the repository at some point when they had legitimate access.

The disclosed information through notifications may include:

  • Release titles that could reveal product roadmaps or feature names
  • Version tags that expose internal versioning schemes
  • Release notes and content that may contain sensitive technical details or security fixes

Detection Methods for CVE-2026-0798

Indicators of Compromise

  • Review email server logs for release notification emails sent to users who are not current members of private repositories
  • Audit user watch lists for private repositories to identify users without current read access
  • Monitor for complaints from users receiving notifications for repositories they should not have access to

Detection Strategies

  • Implement logging to track release notification distribution and compare against current repository access lists
  • Create periodic audits that cross-reference repository watchers with current permission sets
  • Monitor for unusual patterns of notification delivery to external or former user accounts

Monitoring Recommendations

  • Enable detailed logging for the Gitea notification subsystem
  • Set up alerts for repository visibility changes from public to private
  • Regularly audit watcher lists following any access control modifications to repositories

How to Mitigate CVE-2026-0798

Immediate Actions Required

  • Upgrade Gitea to version 1.25.4 or later immediately
  • Review all repositories that have been changed from public to private and audit their watcher lists
  • Consider manually removing watchers who no longer have repository access

Patch Information

Gitea has released version 1.25.4 which addresses this vulnerability. The fix ensures that release notifications are only sent to users who have current, valid read access to the repository at the time the notification is generated.

For detailed patch information, see the Gitea Release Announcement and the GitHub Pull Request Discussion.

Additional resources:

  • Gitea Version 1.25.4 Release
  • GitHub Security Advisory GHSA-f4wq-6ww5-m56p

Workarounds

  • Manually clear all watchers when changing a repository from public to private
  • Disable email notifications for release events on sensitive private repositories until the patch can be applied
  • Implement network-level controls to restrict email delivery to approved domains only
  • Review and clean up watcher lists on all private repositories as a precautionary measure
bash
# Configuration example
# After upgrading to Gitea 1.25.4, verify the version
gitea --version

# Review repository watchers via Gitea admin CLI (if available)
# Navigate to Repository Settings > Collaborators to audit access
# Consider disabling release notifications temporarily:
# In app.ini, under [mailer] section
# ENABLED = false  # Temporary workaround - disables all email

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeInformation Disclosure

  • Vendor/TechGitea

  • SeverityNONE

  • CVSS ScoreN/A

  • Known ExploitedNo
  • Impact Assessment
  • ConfidentialityNone
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-284
  • Technical References
  • Gitea Release Announcement

  • GitHub Pull Request Discussion

  • Gitea Version 1.25.4 Release

  • GitHub Security Advisory GHSA-f4wq-6ww5-m56p
  • Related CVEs
  • CVE-2026-20800: Gitea Information Disclosure Vulnerability

  • CVE-2026-20912: Gitea Auth Bypass Vulnerability

  • CVE-2026-20904: Gitea Auth Bypass Vulnerability

  • CVE-2026-20897: Gitea Auth Bypass Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English