---
id: "CVE-2026-114199"
kind: "vulnerability"
aliases: ["CVE-2026-114199"]
title: "Gitea: heatmap API leaks private-repo contribution counts to public-only tokens"
severity: "unknown"
cvss: null
epss: null
exploited: false
status: "open"
category: "runtime"
products: []
ecosystems: []
tags: ["api-tokens", "private-repos", "runtime", "self-hosted"]
not_affected_if: ["no-private-repos", "no-public-only-tokens"]
published_at: "2026-11-01T10:18:34+00:00"
first_seen_at: "2026-11-01T10:49:33+00:00"
updated_at: "2026-11-01T10:51:40+00:00"
sources: [{"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-114199", "first_seen_at": "2026-11-01T10:49:33+00:00"}]
---

# Gitea: heatmap API leaks private-repo contribution counts to public-only tokens

The user heatmap API endpoint ignored the public-only restriction on access tokens and counted contributions from private repositories. A holder of a public-only token could read contribution counts and 15-minute activity buckets for a user, but not repository names or contents.

_Summary, check and fix written by a model from the sources; labelled as such._

## Fix

- For public-only tokens the heatmap now only counts activity visible to anonymous users; the fixed version is unknown

## Timeline

- 2026-11-01T10:49:33+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2026-114199

## From the sources

`GET /api/v1/users/{username}/heatmap` computed the contribution heatmap with the repository access of the token owner and ignored the public-only restriction of the access token, unlike the activity feed endpoints. A holder of a user's public-only token could read contribution counts and their 15-minute time buckets that stem from that user's activity in private repositories. Repository names and contents were not disclosed. For public-only tokens the heatmap now only counts activity visible to anonymous users.

---

_Free to read at a human pace. An API with keys and an MCP server are in preparation; early access: hello@infrastack.ai_
