Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. code.gitea.io/gitea
  4. ›
  5. CVE-2025-68939

CVE-2025-68939: Gitea allows attackers to add attachments with forbidden file extensions

December 26, 2025

Gitea before 1.23.0 allows attackers to add attachments with forbidden file extensions by editing an attachment name via an attachment API.

References

  • blog.gitea.com/release-of-1.23.0
  • github.com/advisories/GHSA-263q-5cv3-xq9g
  • github.com/go-gitea/gitea
  • github.com/go-gitea/gitea/pull/32151
  • github.com/go-gitea/gitea/releases/tag/v1.23.0
  • nvd.nist.gov/vuln/detail/CVE-2025-68939

Code Behaviors & Features

Detect and mitigate CVE-2025-68939 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions

Solution

Unfortunately, there is no solution available yet.

Impact 8.2 HIGH

CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:H/I:H/A:L

Learn more about CVSS

Weakness

  • CWE-424: Improper Protection of Alternate Path

Source file

go/code.gitea.io/gitea/CVE-2025-68939.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Wed, 04 Feb 2026 00:36:01 +0000.