VDB
Sign up
CRITICAL9.1

GHSA-h697-89cp-24q8

Gitea template repository generation follows unsafe filesystem paths

Quick fix

GHSA-h697-89cp-24q8 — code.gitea.io/gitea: upgrade to the fixed version with the command below.

go get code.gitea.io/gitea@v1.25.5

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.

Are you affected?

Enter the version of the package you're using.

Affected packages

Go/code.gitea.io/gitea
Introduced in: 0Fixed in: 1.25.5
Fixgo get code.gitea.io/gitea@v1.25.5

References