Skip to content

Conversation

@charles25565
Copy link

@charles25565 charles25565 commented Oct 28, 2025

This commit backports some simple-ish security fixes to Gitea 1.22. They were backported when 1.24.6 was still the latest version, but both 1.24.7 fixes couldn't be merged regardless.

kemzeb and others added 6 commits September 22, 2025 14:54
From testing, I found that issue posters and users with repository write
access are able to edit attachment names in a way that circumvents the
instance-level file extension restrictions using the edit attachment
APIs. This snapshot adds checks for these endpoints.
@GiteaBot GiteaBot added this to the 1.26.0 milestone Oct 28, 2025
@GiteaBot GiteaBot added the lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. label Oct 28, 2025
@github-actions github-actions bot added modifies/api This PR adds API routes or modifies them modifies/go Pull requests that update Go code modifies/dependencies labels Oct 28, 2025
@wxiaoguang
Copy link
Contributor

wxiaoguang commented Oct 29, 2025

  • Gitea <= 1.23 is outdated, unsupported and unmaintained
  • There are far more "security" fixes than these in the stable release

Could you elaborate why you need this PR? Or you can keep it for your private use.

@GiteaBot GiteaBot removed this from the 1.26.0 milestone Oct 29, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

lgtm/need 2 This PR needs two approvals by maintainers to be considered for merging. modifies/api This PR adds API routes or modifies them modifies/dependencies modifies/go Pull requests that update Go code

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants