CVEvulnerability

CVE-2026-70406

6.5 MEDIUM Published 2026-10-14 Modified 2026-10-14 Official page ↗
Status
Deferred
Published
2026-10-14
Last modified
2026-10-14
Assigner
88ee5874-cf24-4952-aea0-31affedb7ff2
CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
6.5 MEDIUM — CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
Weaknesses
CWE-863

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.

Related

Weakness · CWE (1)

  • CWE-863 Incorrect Authorization weakness

References