CVE-2026-70406
Last modified
CVE-2026-70406 is a medium-severity vulnerability rated 6.5/10 on the CVSS scale. 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.
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | <= 1.27.2 |
References
Timeline
- Published
- Last Modified
- Status
- Deferred
Frequently Asked Questions
What is CVE-2026-70406?
How severe is CVE-2026-70406?
How do I fix CVE-2026-70406?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-70399Allocation of Resources Without Limits or Throttling vulnera…8.7
- CVE-2026-7040Text::Minify::XS versions from 0.3.0 before 0.7.8 for Perl h…7.5
- CVE-2026-70400Gitea's repository migration API accepts a public-only token…5.4
- CVE-2026-70402Gitea creates server-side Git hook directories and scripts w…5.8
- CVE-2026-70403XING CPTrans-ME-X contains a Use of Hard-coded Password (CWE…9.3
- CVE-2026-70405Improper Validation of Specified Quantity in Input vulnerabi…6.3
- CVE-2026-70407Gitea's organization-list API does not enforce the read:orga…4.3
- CVE-2026-70408An incorrect authorization vulnerability exists in acmailer,…8.7
- CVE-2026-70409Improper Validation of Specified Quantity in Input vulnerabi…6.3
- CVE-2026-7041A vulnerability was detected in 666ghj MiroFish up to 0.1.2.…3.7
- CVE-2026-70410Use of Externally-Controlled Input to Select Classes or Code…8.8
- CVE-2026-70411Dell Container Storage Modules (CSM), versions prior to 1.18…6.5
Are you affected by CVE-2026-70406?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
