CVE-2026-71301 Gitea private pull request title disclosure through markup

Medium 4.3 Published Updated

Attackers with Wiki access can view private pull request titles via markup preview, bypassing permission restrictions in Gitea.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Fix
None listed

What is CVE-2026-71301?

CVE-2026-71301 is a medium-severity vulnerability in Gitea, published on 14 Oct 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

Gitea's repository markup endpoint resolves same-repository pull request references without enforcing the viewer's Pull Requests permission. A member with only Wiki access to a private repository can submit a markup preview request and retrieve a private pull request's title and state icon despite lacking Issues and Pull Requests access. This exposes pull request metadata across repository unit permissions.

Weakness: CWE-284

Which versions are affected by CVE-2026-71301?

How do I fix CVE-2026-71301?

No fix has been published for CVE-2026-71301 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-71301 being exploited?

There is no known exploitation of CVE-2026-71301 in the wild and no public exploit code.

Sources

Also known as GHSA-5w72-2mqm-qh46.

Is CVE-2026-71301 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free