{"id":"CVE-2025-68939","aliases":["CVE-2025-68939","GHSA-263q-5cv3-xq9g","BIT-GITEA-2025-68939","GO-2025-4261"],"related":["CGA-7prg-43g9-m6h3"],"kind":"vulnerability","state":"published","title":"Gitea allows attackers to add attachments with forbidden file extensions","summary":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.","source":"cvelist"},{"lang":"en","text":"Gitea allows attackers to add attachments with forbidden file extensions in code.gitea.io/gitea","format":"markdown","source":"go"},{"lang":"es","text":"Gitea antes de 1.23.0 permite a los atacantes añadir adjuntos con extensiones de archivo prohibidas editando un nombre de adjunto a través de una API de adjuntos.","source":"nvd"}],"published":"2025-12-26T02:03:59.691Z","modified":"2026-11-03T16:45:04.012Z","severity":{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","score":8.2,"rating":"HIGH"},"severities":[{"scorer":"mitre","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","score":8.2,"rating":"HIGH"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L","score":8.2,"rating":"HIGH"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N","score":5.3,"rating":"MEDIUM"},{"scorer":"Bitnami Vulnerability Database","scheme":"rating","rating":"HIGH"}],"cwes":["CWE-424"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.23.0","status":"affected"}],"vendor":"Gitea","product":"Gitea","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.23.0-rc0"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"code.gitea.io/gitea","purl":"pkg:golang/code.gitea.io/gitea","source":"go"},{"ranges":[{"status":"affected","fixed":"1.23.0"}],"vendor":"gitea","product":"gitea","cpe":"cpe:2.3:a:gitea:gitea:*:*:*:*:*:-:*:*","source":"nvd"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"1.23.0"}],"ecosystem":"Bitnami","package":"gitea","purl":"pkg:bitnami/gitea","source":"bitnami"}],"references":[{"url":"https://blog.gitea.com/release-of-1.23.0/","tags":["article","release-notes"],"sources":["cvelist","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/releases/tag/v1.23.0","tags":["article","release-notes","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://github.com/go-gitea/gitea/pull/32151","tags":["fix","issue-tracking","patch","web"],"sources":["cvelist","ghsa","go","nvd","bitnami"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68939","tags":["advisory","web"],"sources":["ghsa","go","bitnami"]},{"url":"https://github.com/go-gitea/gitea/commit/7adc4717ec8e4f8fe678010866e936cf024f498d","tags":["web"],"sources":["ghsa"]},{"url":"https://blog.gitea.com/release-of-1.23.0","tags":["web"],"sources":["ghsa","go"]},{"url":"https://github.com/go-gitea/gitea","tags":["package"],"sources":["ghsa"]},{"url":"https://github.com/advisories/GHSA-263q-5cv3-xq9g","tags":["advisory"],"sources":["go"]}],"credits":[],"assigner":"mitre","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2025-12-26T14:40:06.574Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2025-68939","url":"https://www.cve.org/CVERecord?id=CVE-2025-68939","licence":"CVE Terms of Use","modified":"2025-12-26T18:57:27.065Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-263q-5cv3-xq9g","url":"https://github.com/advisories/GHSA-263q-5cv3-xq9g","licence":"CC-BY-4.0","modified":"2026-11-03T16:45:04.012Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2025-4261","url":"https://pkg.go.dev/vuln/GO-2025-4261","licence":"CC-BY-4.0","modified":"2026-06-19T18:29:27.877Z"},{"source":"nvd","name":"NVD","id":"CVE-2025-68939","url":"https://nvd.nist.gov/vuln/detail/CVE-2025-68939","licence":"Public domain","modified":"2026-10-13T10:10:00.193Z"},{"source":"bitnami","name":"Bitnami Vulnerability Database","id":"BIT-GITEA-2025-68939","url":"https://osv.dev/vulnerability/BIT-GITEA-2025-68939","licence":"Apache-2.0","modified":"2026-09-10T16:01:31.864Z"}],"updatedAt":"2026-11-25T22:59:09.925Z","epss":{"score":0.00356,"percentile":0.31319,"date":"2026-12-01T12:00:22.000Z"}}