CVE-2025-68939

gitea: attachments can be renamed to forbidden file extensions via the attachment API

Published Dec 26, 2025 CVSS 3.1 · 8.2 High EPSS < 1% KEV · Not listed
Description
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-263q-5cv3-xq9g Gitea allows attackers to add attachments with forbidden file extensions
History
Type Values Removed Values Added
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*
Type Values Removed Values Added
Title gitea: attachments can be renamed to forbidden file extensions via the attachment API
References
Metrics threat_severity

None

threat_severity

Important

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}

Type Values Removed Values Added
Description Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
First Time appeared Gitea
Gitea gitea
Weaknesses CWE-424
CPEs cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*
Vendors & Products Gitea
Gitea gitea
References
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
mitre
Published
Updated
Dec 26, 2025, 6:57 PM
Reserved
Dec 26, 2025, 2:03 AM
Status
Analyzed
Published
Dec 26, 2025, 3:15 AM
Modified
Oct 13, 2026, 10:10 AM
Severity
Important
Public date
Dec 26, 2025, 2:03 AM