{"id":"CVE-2025-68939","state":"PUBLISHED","title":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.","description":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.","publishedAt":"2025-12-26T02:03:59.691Z","updatedAt":"2025-12-26T18:57:27.065Z","severity":{"score":8.2,"label":"High","version":"3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","source":"mitre"},"assigner":"mitre","products":["Gitea Gitea"],"affected":[{"vendor":"Gitea","product":"Gitea","packageURL":"pkg:golang/code.gitea.io/gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.23.0","versionType":"semver"}]}],"references":["https://blog.gitea.com/release-of-1.23.0/","https://github.com/go-gitea/gitea/releases/tag/v1.23.0","https://github.com/go-gitea/gitea/pull/32151"],"weaknesses":["CWE-424"],"ingestedAt":"2026-10-29T20:09:56.034Z","source":{"repository":"CVEProject/cvelistV5","path":"cves/2025/68xxx/CVE-2025-68939.json","commit":"556c9d3a8cd17e218bb8e452ba7cd619a384ff47"},"raw":{"dataType":"CVE_RECORD","dataVersion":"5.2","cveMetadata":{"cveId":"CVE-2025-68939","state":"PUBLISHED","datePublished":"2025-12-26T02:03:59.691Z","dateUpdated":"2025-12-26T18:57:27.065Z","assignerShortName":"mitre","assignerOrgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateReserved":"2025-12-26T02:03:59.388Z"},"containers":{"cna":{"descriptions":[{"lang":"en","value":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API."}],"affected":[{"vendor":"Gitea","product":"Gitea","packageURL":"pkg:golang/code.gitea.io/gitea","defaultStatus":"unaffected","versions":[{"version":"0","status":"affected","lessThan":"1.23.0","versionType":"semver"}]}],"references":[{"url":"https://blog.gitea.com/release-of-1.23.0/"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.23.0"},{"url":"https://github.com/go-gitea/gitea/pull/32151"}],"metrics":[{"cvssV3_1":{"attackComplexity":"HIGH","attackVector":"NETWORK","availabilityImpact":"LOW","baseScore":8.2,"baseSeverity":"HIGH","confidentialityImpact":"HIGH","integrityImpact":"HIGH","privilegesRequired":"NONE","scope":"CHANGED","userInteraction":"REQUIRED","vectorString":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","version":"3.1"},"format":"CVSS","scenarios":[{"lang":"en","value":"GENERAL"}]}],"problemTypes":[{"descriptions":[{"cweId":"CWE-424","description":"CWE-424 Improper Protection of Alternate Path","lang":"en","type":"CWE"}]}],"providerMetadata":{"shortName":"mitre","orgId":"8254265b-2729-46b6-b9e3-3dfca2d5bfca","dateUpdated":"2025-12-26T18:57:27.065Z"},"cpeApplicability":[{"nodes":[{"operator":"OR","negate":false,"cpeMatch":[{"vulnerable":true,"criteria":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:*:*:*","versionEndExcluding":"1.23.0"}]}]}],"x_generator":{"engine":"CVE-Request-form 0.0.1"}},"adp":[{"title":"CISA ADP Vulnrichment","metrics":[{"other":{"type":"ssvc","content":{"timestamp":"2025-12-26T14:40:06.574200Z","id":"CVE-2025-68939","options":[{"Exploitation":"none"},{"Automatable":"no"},{"Technical Impact":"total"}],"role":"CISA Coordinator","version":"2.0.3"}}}],"providerMetadata":{"shortName":"CISA-ADP","orgId":"134c704f-9b21-4f2e-91b3-4a467353bcc0","dateUpdated":"2025-12-26T14:51:01.455Z"}}]}}}