Gitea's shared comparison helper omits the token repository-access check used when updating pull requests. A public-only token with read:repository scope can route a comparison or pull request creation through a public base repository and retrieve commit history and diffs from a private head repository accessible to the token owner. This bypasses the token's public-only restriction; it does not remove the account's underlying repository permission checks.
History

Sun, 18 Oct 2026 05:15:00 +0000

Type Values Removed Values Added
First Time appeared Gitea
Gitea gitea
Vendors & Products Gitea
Gitea gitea

Wed, 14 Oct 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 14 Oct 2026 14:45:00 +0000

Type Values Removed Values Added
Description Gitea's shared comparison helper omits the token repository-access check used when updating pull requests. A public-only token with read:repository scope can route a comparison or pull request creation through a public base repository and retrieve commit history and diffs from a private head repository accessible to the token owner. This bypasses the token's public-only restriction; it does not remove the account's underlying repository permission checks.
Title Gitea private comparison disclosure with public-only tokens
Weaknesses CWE-863
References

cve-icon MITRE

Status: PUBLISHED

Assigner: Gitea

Published: 2026-10-14T14:36:53.729Z

Updated: 2026-10-14T15:03:17.796Z

Reserved: 2026-08-13T16:50:58.706Z

Link: CVE-2026-70406

cve-icon Vulnrichment

Updated: 2026-10-14T14:54:26.235Z

cve-icon NVD

Status : Deferred

Published: 2026-10-14T15:17:22.570

Modified: 2026-10-14T16:17:52.077

Link: CVE-2026-70406

cve-icon Redhat

No data.