Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. gogs.io/gogs
  4. ›
  5. CVE-2026-25921

CVE-2026-25921: Gogs: Cross-repository LFS object overwrite via missing content hash verification

March 5, 2026

Overwritable LFS object across different repos leads to supply-chain attack, all LFS objects are vulnerable to be maliciously overwritten by malicious attackers.

References

  • github.com/advisories/GHSA-cj4v-437j-jq4c
  • github.com/gogs/gogs
  • github.com/gogs/gogs/commit/81ee8836445ac888d99da8b652be7d5cbc5c4d5c
  • github.com/gogs/gogs/pull/8166
  • github.com/gogs/gogs/releases/tag/v0.14.2
  • github.com/gogs/gogs/security/advisories/GHSA-cj4v-437j-jq4c
  • nvd.nist.gov/vuln/detail/CVE-2026-25921

Code Behaviors & Features

Detect and mitigate CVE-2026-25921 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 0.14.2

Fixed versions

  • 0.14.2

Solution

Upgrade to version 0.14.2 or above.

Impact 9.3 CRITICAL

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

Learn more about CVSS

Weakness

  • CWE-345: Insufficient Verification of Data Authenticity

Source file

go/gogs.io/gogs/CVE-2026-25921.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:21 +0000.