Advisory

GHSA-h697-89cp-24q8

Also known as: CVE-2026-25718, GO-2026-6340

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.

Severity

Critical Basis: The source's own band: CRITICAL

Dates

Published
2026-07-03 21:31 UTC
Modified
2026-09-02 19:41 UTC

Affected packages and fixes

code.gitea.io/gitea

Go · All systems

Affected

  • introduced 0, fixed 1.25.5 (semver)

Fixed versions

1.25.5

Fix

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0

Sources & licences