CVE-2025-68939 json
Gitea allows attackers to add attachments with forbidden file extensions
published 2025-12-26 10 mo ago modified 2026-11-03 5 d ago also BIT-gitea-2025-68939 , EUVD-2025-205411 , GHSA-263q-5cv3-xq9g , GO-2025-4261
- cvss
- 8.2
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.3%
- EPSS 0.3% chance of exploitation in 30 days, percentile 26%
- public exploits
- 0
- none known
Summary
Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.
Patch / fix
- go code.gitea.io/gitea 1.23.0-rc0
- bitnami gitea 1.23.0
- Gitea Gitea 1.23.0
- govulncheck-vulndb openSUSE Leap 15.6 0.0.20251230T014957-150000.1.134.1
suse advisories SUSE-SU-2026:0037-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260723T184607-160000.1.1
opensuse advisories openSUSE-SU-2026:21483-1
- github.com/go-gitea/gitea@7adc471 commit
- github.com/go-gitea/gitea#32151 pull request
- github.com/go-gitea/gitea/releases/tag/v1.23.0 release
Vendor advisories
What the vendors themselves say about their products: affected, fixed or not affected, and what to do.
red hat product security vex CVE-2025-68939 updated cvss 8.2
gitea: attachments can be renamed to forbidden file extensions via the attachment API
-
Red Hat OpenShift Pipelines openshift-pipelines/pipelines-pipelines-as-code-cli-rhel8, openshift-pipelines/pipelines-pipelines-as-code-cli-rhel9, openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel8, openshift-pipelines/pipelines-pipelines-as-code-watcher-rhel9, openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel8, openshift-pipelines/pipelines-pipelines-as-code-webhook-rhel9, +2 moreaffected: workaround, no fix available, no fix planned “Red Hat has investigated whether a possible mitigation exists for this issue, and has not been able to identify a practical example. Please update the affected package as soon as possible.”
Red Hat CSAF VEX © Red Hat, Inc., from https://security.access.redhat.com/data/csaf/v2/vex/; changed: reduced to product statuses and remediations. CC BY 4.0 · csaf
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 10 mo ago
Exploit prediction
0.33% chance of exploitation in the next 30 days, higher than 26% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| GitHub | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
| NVD | 3.1 | 5.3 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| OSV | 3.1 | 8.2 | CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.23.0-rc0 all versions |
1.23.0-rc0 |
| bitnami | gitea | <1.23.0 |
1.23.0 |
Affected products
- Gitea Gitea
Classification
- Weakness
-
- CWE-424 Improper Protection of Alternate Path
References
-
github.com
/go-gitea/gitea/pull/32151
web, issue-tracking, patch
-
github.com
/go-gitea/gitea/commit/7adc4717ec8e4f8fe678010866e936cf024f498d
web
-
blog.gitea.com
/release-of-1.23.0/
release-notes, article
-
github.com
/go-gitea/gitea/releases/tag/v1.23.0
web, release-notes, article
-
nvd.nist.gov
/vuln/detail/CVE-2025-68939
advisory, web
-
blog.gitea.com
/release-of-1.23.0
web
-
github.com
/go-gitea/gitea
package
-
github.com
/advisories/GHSA-263q-5cv3-xq9g
advisory
Sources
- CVE List CVE-2025-68939
- GitHub Advisory GHSA-263q-5cv3-xq9g
- NVD CVE-2025-68939
- OSV BIT-gitea-2025-68939
- OSV GO-2025-4261
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.