CVE-2026-25718 json
Gitea template repository generation mishandles symlinked paths
published 2026-07-03 4 mo ago modified 2026-10-25 15 d ago also GHSA-h697-89cp-24q8 , GO-2026-6340 , EUVD-2026-41624
- cvss
- 9.1
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.6%
- EPSS 0.6% chance of exploitation in 30 days, percentile 47%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- go code.gitea.io/gitea 1.25.5
- Gitea Gitea Open Source Git Server 1.25.5
- govulncheck-vulndb SLES 16.0, SLES for SAP applications 16.0 0.0.20260902T191204-160000.1.1
suse advisories SUSE-SU-2026:23692-1SUSE-SU-2026:23712-1
- govulncheck-vulndb openSUSE Leap 16.0 0.0.20260902T191204-160000.1.1
opensuse advisories openSUSE-SU-2026:21812-1
- github.com/go-gitea/gitea@2176e84 commit
- github.com/go-gitea/gitea@5796159 commit
- github.com/go-gitea/gitea#36734 pull request
- github.com/go-gitea/gitea#36746 pull request
- github.com/go-gitea/gitea/releases/tag/v1.25.5 release
CISA SSVC
- Exploitation
- none
- Automatable
- yes
- Technical impact
- total
- Assessed
- 4 mo ago
Exploit prediction
0.56% chance of exploitation in the next 30 days, higher than 47% of all scored CVEs (FIRST EPSS, 2026-11-08).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CISA ADP | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| CNA | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| GitHub | 3.1 | 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| go | code.gitea.io/gitea | <1.25.5 |
1.25.5 |
Affected products
- Gitea Gitea Open Source Git Server
Classification
- Weakness
-
- CWE-59 Improper Link Resolution Before File Access
References
-
github.com
/go-gitea/gitea/pull/36734
patch, web
-
github.com
/go-gitea/gitea/pull/36746
patch, web
-
github.com
/go-gitea/gitea/commit/2176e84ab977011ff2bc3f3a9066020cc674f6b1
web
-
github.com
/go-gitea/gitea/commit/579615936c1ef7ba16c8887b9d12ade4c44f78fa
web
-
github.com
/go-gitea/gitea/releases/tag/v1.25.5
release-notes, web
-
blog.gitea.com
/release-of-1.25.5/
release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2026-25718
advisory
-
blog.gitea.com
/release-of-1.25.5
web
-
github.com
/go-gitea/gitea
package
-
github.com
/advisories/GHSA-h697-89cp-24q8
advisory
Sources
- CVE List CVE-2026-25718
- GitHub Advisory GHSA-h697-89cp-24q8
- NVD CVE-2026-25718
- OSV GO-2026-6340
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.