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 (updated November 3, 2026)

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/commit/7adc4717ec8e4f8fe678010866e936cf024f498d
  • 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. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.23.0-rc0

Fixed versions

  • 1.23.0-rc0

Solution

Upgrade to version 1.23.0-rc0 or above.

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 Sun, 08 Nov 2026 00:16:27 +0000.