Security mailing lists by PureSourceCode

CVE-2026-25718

CRITICAL 9.1CVSS 3.1

Gitea template repository generation follows unsafe filesystem paths

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.

Published
3 Jul 2026
Last modified
25 Oct 2026
Assigned by
88ee5874-cf24-4952-aea0-31affedb7ff2
NVD status
Deferred
Weakness
CWE-59
Also known as
GHSA-h697-89cp-24q8GO-2026-6340
Sources
NVDJSONOSV GHSA-h697-89cp-24q8JSONOSV GO-2026-6340JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
OSV GitHub CVSS 3.1 CRITICAL 9.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
OSV Go code.gitea.io/gitea < 1.25.5 1.25.5

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 3 Jul 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 2 Sep 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 3 Jul 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.