CVE-2026-70406

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.
Configurations

No configuration.

History

14 Oct 2026, 16:17

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 6.5

14 Oct 2026, 15:17

Type Values Removed Values Added
New CVE

Information

Published : 2026-10-14 15:17

Updated : 2026-10-14 16:17


NVD link : CVE-2026-70406

Mitre link : CVE-2026-70406

CVE.ORG link : CVE-2026-70406


JSON object : View

Products Affected

No product.

CWE
CWE-863

Incorrect Authorization