Advisory

GHSA-263q-5cv3-xq9g

Also known as: BIT-gitea-2025-68939, CVE-2025-68939, GO-2025-4261

Summary

Gitea allows attackers to add attachments with forbidden file extensions

Details

Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.

Severity

High Basis: The source's own band: HIGH

Dates

Published
2025-12-26 03:30 UTC
Modified
2026-11-03 16:45 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.23.0-rc0 (semver)

Fixed versions

1.23.0-rc0

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