{"id":"CVE-2025-68939","title":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.","summary":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.","severity":"high","cvss":8.2,"cvssVector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","cwe":["CWE-424"],"vendor":"gitea","product":"gitea","affected":["gitea < 1.23.0"],"patched":["gitea 1.23.0"],"published":"2025-12-26","updated":"2026-10-13","sourceUpdated":"2026-10-13T10:10:00.193","source":"NVD","sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2025-68939","references":[{"url":"https://blog.gitea.com/release-of-1.23.0/","label":"cve@mitre.org"},{"url":"https://github.com/go-gitea/gitea/pull/32151","label":"cve@mitre.org"},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.23.0","label":"cve@mitre.org"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68939"},{"url":"https://blog.gitea.com/release-of-1.23.0"},{"url":"https://github.com/go-gitea/gitea"}],"tags":["nvd","osv","go"],"epss":0.00332,"epssPercentile":0.26216,"aliases":["GHSA-263q-5cv3-xq9g","BIT-gitea-2025-68939","GO-2025-4261"],"ecosystem":"go","ingestedAt":"2026-09-12T03:13:01.744Z","slug":"CVE-2025-68939","body":"## Overview\n\nGitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.\n\n## Affected\n\n- `gitea < 1.23.0`\n\n## Remediation\n\nUpgrade past the affected range:\n\n- `gitea 1.23.0`\n\n## Package advisory (CVE-2025-68939)\n\nAffected packages:\n\n- `code.gitea.io/gitea`\n\nSource: https://osv.dev/vulnerability/GHSA-263q-5cv3-xq9g","depth":"twilight","depthScore":45,"depthScoreParts":{"impact":45.1,"likelihood":0.1,"exploitation":0,"ransomware":0},"changes":[]}