CVE-2025-68939 Details
Description
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
A vulnerability in Gitea versions prior to 1.23.0 allows users to upload attachments with disallowed file extensions by manipulating the attachment name through the attachment API. This issue arises because the API did not properly enforce file extension restrictions, enabling the upload of forbidden file types.
Users can update to Gitea version 1.23.0 or later, where this vulnerability has been addressed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Dec 26, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://blog.gitea.com/release-of-1.23.0/ | [email protected] | Release Notes |
| https://github.com/go-gitea/gitea/pull/32151 | [email protected] | Issue TrackingPatch |
| https://github.com/go-gitea/gitea/releases/tag/v1.23.0 | [email protected] | Release Notes |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-424 | Improper Protection of Alternate Path | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| gitea gitea | < 1.23.0 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Oct 13, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jan 2, 2026 | Initial Analysis | [email protected] |
| Dec 26, 2025 | New CVE Received | [email protected] |