CVE-2026-70406

medium

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.

References

https://github.com/go-gitea/gitea/security/advisories/GHSA-m78w-jjjx-gp8r

https://github.com/go-gitea/gitea/releases/tag/v1.27.3

https://github.com/go-gitea/gitea/pull/39013

https://github.com/go-gitea/gitea/pull/39006

https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-101096

https://blog.gitea.com/release-of-1.27.3/

Details

Source: Mitre, NVD

Published: 2026-10-14

Updated: 2026-10-14

Risk Information

CVSS v2

Base Score: 6.8

Vector: CVSS2#AV:N/AC:L/Au:S/C:C/I:N/A:N

Severity: Medium

CVSS v3

Base Score: 6.5

Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N

Severity: Medium

EPSS

EPSS: 0.00341