Skip to content

CVE-2026-25779 Gitea redirect handling permits open redirects through backslash paths

MediumCVSS 6.1 EPSS 0.30%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
Proof of concept public · automatable: no · technical impact: partial

Description

Gitea versions up to and including 1.25.4 allow redirect bypasses through raw or percent-encoded backslashes in redirect_to values.

Upgrade path

3 packages: 3 fixed.

PackageAffectedFixed inStatus
code.gitea.io/gitea(Go) < 1.26.0 1.26.0 Fixed
Gitea Open Source Git Server <= 1.25.4 after 1.25.4 Fixed
go-gitea github.com/go-gitea/gitea(Go) < 1.26.0; <= 1.25.4 1.26.0 Fixed

Affected products

ProductAffected versionsFixed in
go-gitea github.com/go-gitea/gitea(Go) < 1.26.0 1.26.0
code.gitea.io/gitea(Go) < 1.26.0 1.26.0
Gitea Open Source Git Server <= 1.25.4 No fix listed
go-gitea github.com/go-gitea/gitea(Go) <= 1.25.4 No fix listed

References