CVE-2026-120991 Gitea deletion of shared container blobs on rejected uploads

Medium 6.5 Published Updated

A Gitea user can make another owner's container blobs undownloadable by uploading identical content that failed upload cleanup.

Exploited in the wild
Not known
Login needed
Any signed-in user
Attackable
Over the internet
Victim action needed
Not needed
Harmful if only installed
No
Needs a specific call
No
Fix
None listed

What is CVE-2026-120991?

CVE-2026-120991 is a medium-severity business logic flaw vulnerability in Gitea, published on 15 Nov 2026. Any signed-in user can exploit it over the network, with no action from the victim.

Official description

When a container blob upload was rejected, for example because it exceeded a package size quota, the cleanup removed the blob from storage even if the same content already existed and was used by other packages. On an instance with a package quota configured, a user who can upload container images and has the exact content of another owner's package file or image layer could make it undownloadable. The cleanup now only removes blobs that the failed upload created.

Weakness: CWE-460

Which versions are affected by CVE-2026-120991?

Only installations with a non-default setting turned on are exposed.

How do I fix CVE-2026-120991?

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

Upgrade, and enforce each rule on the server at every step. More about Business logic flaw.

Is CVE-2026-120991 being exploited?

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

Sources

Also known as GHSA-q8pg-ggp9-rm9m.

Is CVE-2026-120991 in your software?

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

Check your SBOMs for free