Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
🐹
🐹 Go
Not in CISA KEV
HIGH severity

GHSA-44qc-pgvp-wx7v

HIGHFix: go-gitea/gitea#38108

GHSA-44qc-pgvp-wx7v is a high-severity (CVSS 7.5) Information Exposure vulnerability in code.gitea.io/gitea. O3 Security confirms whether GHSA-44qc-pgvp-wx7v is actually reachable in your code before you act, and blocks exploitation at runtime until you patch.

Gitea: Notification API leaks private issue metadata after access revocation

Also known asCVE-2026-58419GO-2026-6041
Published
Jul 21, 2026
Updated
Jul 22, 2026
Affected
1 pkg
Patched
1 / 1
Exploits
None indexed
Exploitation data as of Jul 22, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

Real-World Exposure

1 pkg affected
🐹code.gitea.io/gitea

Real-time download stats are indexed for npm and PyPI packages. This vulnerability affects Go packages — download data is not available via public APIs for these ecosystems.

Description

Summary

An information disclosure issue in the Gitea Notification API allows users who have lost access to a private repository to continue accessing private issue or pull request information through existing notification threads. Although repository information is hidden after access revocation, the subject field remains accessible and continues to expose private metadata.

Details

CVE-2026-20800 was fixed in v1.25.4 to prevent users from accessing private repository information through notification APIs after their repository access had been revoked.

During testing on Gitea v1.26.2, the repository field in NotificationThread responses is correctly set to null after access revocation. However, the associated subject field remains available.

The exposed subject object may contain:

  • Private issue or pull request titles
  • Repository-related API and HTML URLs
  • Issue or pull request state
  • Latest comment URLs and comment identifiers

Additionally, the exposed notification data is not limited to historical information. If new comments are added to the issue or pull request while the notification remains unread, fields such as latest_comment_url and updated_at continue to change. As a result, a user whose repository access has been revoked can still observe ongoing issue or pull request activity through notification APIs.

The observed behavior suggests that access control is applied to the repository field but not consistently applied to the associated subject information.

PoC

Environment

  • Gitea v1.26.2
  • Private repository

Steps to Reproduce

  1. User sun creates a private repository and grants read access to user li.

  2. User li subscribes to repository notifications.

  3. User sun creates a private issue and adds a comment.

  4. User li receives a notification (thread_id = 14).

  5. User sun revokes li's repository access.

  6. User li requests:

    GET /api/v1/repos/sun/{repo}/issues/1
    

    Response:

    404 Not Found
    
  7. User li requests:

    GET /api/v1/notifications?all=true
    
  8. User li requests:

    GET /api/v1/notifications/threads/14
    

Observed Result

The notification is returned successfully. The repository field is null, but the subject field still contains private issue metadata.

Example:

{
  "id": 14,
  "repository": null,
  "subject": {
    "title": "private issue title",
    "url": "http://localhost:3000/api/v1/repos/sun/private-repo/issues/1",
    "latest_comment_url": "http://localhost:3000/api/v1/repos/sun/private-repo/issues/comments/24",
    "html_url": "http://localhost:3000/sun/private-repo/issues/1",
    "state": "open"
  }
}

Expected Result

Users who no longer have access to a repository should not receive private issue or pull request information through notification APIs. The subject field should be removed, redacted, or otherwise protected by the same access controls applied to the repository field.

Detailed PoC

https://anonymous.4open.science/r/Gitea_PoC-EC93/1_poc_notification_leak

Impact

Affected Endpoints

  • GET /api/v1/notifications
  • GET /api/v1/notifications/threads/{id}

Prerequisites

  • The user previously had legitimate access to the private repository.
  • The notification was received before repository access was revoked.

Impact

  • Disclosure of private issue or pull request titles.
  • Disclosure of repository information through notification URLs.
  • Disclosure of issue or pull request state.
  • Disclosure of comment activity metadata.
  • Continued visibility into issue or pull request activity after repository access has been revoked.

Tested Version

  • Confirmed on v1.26.2.

Affected Packages

1 total 1 fixed
EcosystemPackageVulnerable rangeFix
🐹Gocode.gitea.io/giteaall versions1.26.4

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for code.gitea.io/gitea. O3's reachability analysis confirms whether the vulnerable code path is actually invoked in your application, so you act on real exposure instead of every transitive match.

  2. Fix

    Update code.gitea.io/gitea to 1.26.4 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms GHSA-44qc-pgvp-wx7v is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

  4. How O3 protects you

    O3 pinpoints whether GHSA-44qc-pgvp-wx7v is reachable in your code and exactly where to fix it, then blocks exploitation in production at runtime until the patched version is deployed.

Tailored to GHSA-44qc-pgvp-wx7v. Runtime protection reduces exposure until a permanent patch is applied and verified — it complements patching, it doesn't replace it.

Frequently Asked Questions

# Summary An information disclosure issue in the Gitea Notification API allows users who have lost access to a private repository to continue accessing private issue or pull request information through existing notification threads. Although repository information is hidden after access revocation, the `subject` field remains accessible and continues to expose private metadata. # Details CVE-2026-20800 was fixed in v1.25.4 to prevent users from accessing private repository information through notification APIs after their repository access had been revoked. During testing on Gitea v1.26.2,
O3 Security · Impact-Aware SCA

Is GHSA-44qc-pgvp-wx7v in your dependencies?

O3 detects GHSA-44qc-pgvp-wx7v across Go dependencies and uses function-level reachability to confirm whether the vulnerable code path is actually reachable — not just present. No false positives.

GHSA-44qc-pgvp-wx7v: gitea Information… | O3 Security