GHSA-h697-89cp-24q8

Suggest an improvement
Source
https://github.com/advisories/GHSA-h697-89cp-24q8
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-h697-89cp-24q8/GHSA-h697-89cp-24q8.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-h697-89cp-24q8
Aliases
Published
2026-07-03T21:31:37Z
Modified
2026-09-02T19:41:25Z
Severity
  • 9.1 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N CVSS Calculator
Summary
Gitea template repository generation follows unsafe filesystem paths
Details

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.

Database specific
{
    "cwe_ids": [
        "CWE-59"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-09-01T17:19:34Z",
    "nvd_published_at": "2026-07-03T21:16:57Z",
    "severity": "CRITICAL"
}
References

Affected packages

Go / code.gitea.io/gitea

Package

Name
code.gitea.io/gitea
View open source insights on deps.dev
Purl
pkg:golang/code.gitea.io/gitea

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.25.5

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/07/GHSA-h697-89cp-24q8/GHSA-h697-89cp-24q8.json"