Gitea up to 1.22.x Attachment API improper protection of alternate path
| CVSS Meta Temp Score | Current Exploit Price (≈) | CTI Interest Score |
|---|---|---|
| 6.1 | $0-$5k | 0.00 |
Summary
A vulnerability was found in Gitea up to 1.22.x. It has been declared as problematic. Impacted is an unknown function of the component Attachment API. The manipulation results in improper protection of alternate path. This vulnerability is reported as CVE-2025-68939. The attack can be launched remotely. No exploit exists. It is recommended to upgrade the affected component.
Details
A vulnerability was found in Gitea up to 1.22.x. It has been classified as problematic. Affected is some unknown processing of the component Attachment API. The manipulation with an unknown input leads to a improper protection of alternate path vulnerability. CWE is classifying the issue as CWE-424. The product does not sufficiently protect all possible paths that a user can take to access restricted functionality or resources. This is going to have an impact on confidentiality, integrity, and availability. CVE summarizes:
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
The advisory is available at blog.gitea.com. This vulnerability is traded as CVE-2025-68939 since 12/26/2025. The exploitability is told to be difficult. It is possible to launch the attack remotely. The exploitation doesn't require any form of authentication. Successful exploitation requires user interaction by the victim. The technical details are unknown and an exploit is not available.
Upgrading to version 1.23.0 eliminates this vulnerability. The upgrade is hosted for download at github.com. Applying a patch is able to eliminate this problem. The bugfix is ready for download at github.com. The best possible mitigation is suggested to be upgrading to the latest version.
The vulnerability is also documented in the databases at EUVD (EUVD-2025-205411) and CERT Bund (WID-SEC-2025-2925). If you want to get best quality of vulnerability data, you may have to visit VulDB.
Affected
- Open Source Gitea
Product
Name
Version
License
CPE 2.3
CPE 2.2
CVSSv4
VulDB Vector: 🔒VulDB Reliability: 🔍
CVSSv3
VulDB Meta Base Score: 6.2VulDB Meta Temp Score: 6.1
VulDB Base Score: 5.0
VulDB Temp Score: 4.8
VulDB Vector: 🔒
VulDB Reliability: 🔍
NVD Base Score: 5.3
NVD Vector: 🔒
CNA Base Score: 8.2
CNA Vector (MITRE): 🔒
CVSSv2
| AV | AC | Au | C | I | A |
|---|---|---|---|---|---|
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| 💳 | 💳 | 💳 | 💳 | 💳 | 💳 |
| Vector | Complexity | Authentication | Confidentiality | Integrity | Availability |
|---|---|---|---|---|---|
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
| Unlock | Unlock | Unlock | Unlock | Unlock | Unlock |
VulDB Base Score: 🔒
VulDB Temp Score: 🔒
VulDB Reliability: 🔍
Exploiting
Class: Improper protection of alternate pathCWE: CWE-424
CAPEC: 🔒
ATT&CK: 🔒
Physical: No
Local: No
Remote: Yes
Availability: 🔒
Status: Not defined
EPSS Score: 🔒
EPSS Percentile: 🔒
Price Prediction: 🔍
Current Price Estimation: 🔒
| 0-Day | Unlock | Unlock | Unlock | Unlock |
|---|---|---|---|---|
| Today | Unlock | Unlock | Unlock | Unlock |
Threat Intelligence
Interest: 🔍Active Actors: 🔍
Active APT Groups: 🔍
Countermeasures
Recommended: UpgradeStatus: 🔍
0-Day Time: 🔒
Upgrade: Gitea 1.23.0
Patch: github.com
Timeline
12/26/2025 Advisory disclosed12/26/2025 CVE reserved
12/26/2025 VulDB entry created
01/03/2026 VulDB entry last update
Sources
Advisory: blog.gitea.comStatus: Confirmed
CVE: CVE-2025-68939 (🔒)
GCVE (CVE): GCVE-0-2025-68939
GCVE (VulDB): GCVE-100-338442
EUVD: 🔒
CERT Bund: WID-SEC-2025-2925 - Gitea: Mehrere Schwachstellen
Entry
Created: 12/26/2025 08:46Updated: 01/03/2026 11:09
Changes: 12/26/2025 08:46 (64), 12/26/2025 10:33 (1), 01/03/2026 03:37 (11), 01/03/2026 11:09 (7)
Complete: 🔍
Cache ID: 216::103
If you want to get best quality of vulnerability data, you may have to visit VulDB.
No comments yet. Languages: en.
Please log in to comment.