CVE-2026-105268 Gitea issue attachment API allows changing comment attachments

Medium 4.3 Published Updated

An attacker can rename or delete other users' comment attachments on issues they opened due to insufficient authorization checks in the API.

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

What is CVE-2026-105268?

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

Official description

The Gitea API routes for issue attachments (`/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}`) also accepted attachments that belong to comments on the issue. Because the author of an issue may edit and delete the issue's attachments, a user who opened an issue could rename or delete attachments that other users had posted in comments on that issue. The contents of the attachments could not be changed.

Weakness: CWE-863, CWE-639

Which versions are affected by CVE-2026-105268?

1 open source package ship an affected version, including gitea. It affects 1 product.

PackageAffectedFixed in
gitea BitnamiAll versions28.1.0

Products include Gitea Gitea.

How do I fix CVE-2026-105268?

Upgrade gitea to 28.1.0 or later.

Upgrade, and check permissions on every request on the server, not only in the interface. More about Missing authorization.

Is CVE-2026-105268 being exploited?

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

All Gitea Gitea vulnerabilities

Sources

Also known as BIT-gitea-2026-105268, GHSA-96qg-qxxj-r8xq, MINI-5234-29cf-32vr, MINI-g5mq-ghcp-7xqv.

Is CVE-2026-105268 in your software?

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

Check your SBOMs for free