CVE-2026-25718Gitea Open Source Git Server
Critical 9.1 No auth needed
Follow: this CVE · Gitea · Gitea Open Source Git Server We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- —
- Auth required
- No
- Published
- Jul 3, 2026
- Updated
- Oct 25, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-59
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
Gitea versions before 1.25.5 mishandle path resolution during template repository generation, allowing template processing to read or write through symlinked or otherwise non-regular paths.
What to do
- Apply the vendor's security update for Gitea Open Source Git Server.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Go | code.gitea.io/gitea |
< 1.25.5 |
1.25.5 |
go get code.gitea.io/gitea@v1.25.5 |
| Go | code.gitea.io/gitea |
< 1.25.5 |
1.25.5 |
go get code.gitea.io/gitea@v1.25.5 |
Per OSV / GitHub Advisories (GHSA-h697-89cp-24q8, GO-2026-6340). Check the version in your lockfile before upgrading.
Affected products
- Gitea · Gitea Open Source Git Server
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official advisories
- Security update for govulncheck-vulndb · SUSE · openSUSE-SU-2026:21812-1 · Sep 8, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23692-1 · Sep 8, 2026 Critical
- Security update for govulncheck-vulndb · SUSE · SUSE-SU-2026:23712-1 · Sep 8, 2026 Critical
Vendor, CERT and distribution advisories that name this CVE. Original titles.
Official sources
References
Links published by the sources. Open them with care.