Skip to content
OpenAdvisories
High · 8.2 CVE-2025-68939 BIT-gitea-2025-68939EUVD-2025-205411GHSA-263q-5cv3-xq9gGO-2025-4261

Gitea allows attackers to add attachments with forbidden file extensions

Published Dec 26, 2025 · Updated Dec 26, 2025 · Assigned by mitre

Description

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

Affected products

VendorProductAffectedFixed
Gitea Gitea < 1.23.0 1.23.0

Fixed in Linux distributions

Distributions backport fixes, so the version that fixes this vulnerability differs per release — upgrade to at least the version shown. From the distributions' security trackers and advisories.

ReleasePackageFixed inAdvisory
openSUSE Leap 16.0 govulncheck-vulndb 0.0.20260723T184607-160000.1.1 openSUSE-SU-2026:21483-1
openSUSE Leap 15.6 govulncheck-vulndb 0.0.20251230T014957-150000.1.134.1 SUSE-SU-2026:0037-1

Affected packages

EcosystemPackageAffectedFixedRecord
Go code.gitea.io/gitea < 1.23.0-rc0 1.23.0-rc0 GHSA-263q-5cv3-xq9g
Go code.gitea.io/gitea all versions — GO-2025-4261

Advisories 3

References