Advisory

GHSA-rrcw-5rjv-vj26

Also known as: BIT-gitea-2025-68940, CVE-2025-68940, GO-2025-4267

Summary

Gitea doesn't adequately enforce branch deletion permissions after merging a pull request.

Details

In Gitea before 1.22.5, branch deletion permissions are not adequately enforced after merging a pull request.

Severity

Low Basis: The source's own band: LOW

Dates

Published
2025-12-26 03:30 UTC
Modified
2026-01-03 12:26 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.22.5 (semver)

Fixed versions

1.22.5

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