Advisory

GHSA-4xx9-vc8v-87hv

Also known as: BIT-gitea-2026-20912, CVE-2026-20912, GHSA-vfmv-f93v-37mw, GO-2026-4364

Summary

Gitea does not properly validate repository ownership when linking attachments to releases

Details

Gitea does not properly validate repository ownership when linking attachments to releases. An attachment uploaded to a private repository could potentially be linked to a release in a different public repository, making it accessible to unauthorized users.

Severity

Medium Basis: The source's own band: MODERATE

Dates

Published
2026-01-23 00:31 UTC
Modified
2026-02-03 03:08 UTC

Affected packages and fixes

github.com/go-gitea/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.25.4 (semver)

Fixed versions

1.25.4

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences