---
title: "go-gitea/gitea: functions and files changed by CVE fixes"
url: https://radicalnotion.ai/fixes/go-gitea/gitea
type: fixes-repository
description: "217 CVE fixes in go-gitea/gitea changed 806 functions across 411 files."
updated: 2026-11-15
source: RadicalNotion.AI
license: CC BY-NC 4.0 (https://creativecommons.org/licenses/by-nc/4.0/)
---

# go-gitea/gitea: patched functions

- **CVEs with a located fix:** 217
- **Functions patched:** 806
- **Files patched:** 411
- **Diff hunks:** 5,734
- **Languages:** go, typescript, javascript, vue
- **Rank by CVE fixes:** 13 of 12,275
- **First fix:** 2018-08-08
- **Latest fix:** 2026-11-15
- **Repository:** [https://github.com/go-gitea/gitea](https://github.com/go-gitea/gitea)

## Typical fix size

- Median lines changed per fix: 88
- Fixes touching a single function: 14%
- Fixes under 20 changed lines: 17%

## Most-patched functions

| Function | File | CVEs | Patches | Last fixed |
| --- | --- | --- | --- | --- |
| [Routes](https://radicalnotion.ai/fixes/go-gitea/gitea/Routes) | routers/api/v1/api.go | 45 | 29 | 2026-11-15 |
| [registerWebRoutes](https://radicalnotion.ai/fixes/go-gitea/gitea/registerWebRoutes) | routers/web/web.go | 18 | 12 | 2026-11-15 |
| [RegisterRoutes](https://radicalnotion.ai/fixes/go-gitea/gitea/RegisterRoutes) | routers/routes/routes.go | 1 | 9 | 2022-02-08 |
| [CreateRepositoryDirectly](https://radicalnotion.ai/fixes/go-gitea/gitea/CreateRepositoryDirectly) | services/repository/create.go | 2 | 8 | 2026-11-15 |
| [buildApproveAndInsertRun](https://radicalnotion.ai/fixes/go-gitea/gitea/buildApproveAndInsertRun) | services/actions/notifier\_helper.go | 9 | 7 | 2026-11-01 |
| [GetUserOrgsPermissions](https://radicalnotion.ai/fixes/go-gitea/gitea/GetUserOrgsPermissions) | routers/api/v1/org/org.go | 3 | 7 | 2026-11-15 |
| [DeleteIssue](https://radicalnotion.ai/fixes/go-gitea/gitea/DeleteIssue) | routers/api/v1/repo/issue.go | 8 | 6 | 2026-11-15 |
| [EditIssue](https://radicalnotion.ai/fixes/go-gitea/gitea/EditIssue) | routers/api/v1/repo/issue.go | 8 | 6 | 2026-11-15 |
| [httpBase](https://radicalnotion.ai/fixes/go-gitea/gitea/httpBase) | routers/web/repo/githttp.go | 8 | 6 | 2026-11-15 |
| [SubmitReview](https://radicalnotion.ai/fixes/go-gitea/gitea/SubmitReview) | models/issues/review.go | 6 | 6 | 2026-11-15 |
| [getStarredRepos](https://radicalnotion.ai/fixes/go-gitea/gitea/getStarredRepos) | routers/api/v1/user/star.go | 6 | 6 | 2026-10-18 |
| [newPullRequestReviewNotifyInput](https://radicalnotion.ai/fixes/go-gitea/gitea/newPullRequestReviewNotifyInput) | services/actions/notifier\_helper.go | 5 | 6 | 2026-11-01 |
| [userAllPublicRepoCond](https://radicalnotion.ai/fixes/go-gitea/gitea/userAllPublicRepoCond) | models/repo/repo\_list.go | 5 | 6 | 2026-10-18 |
| [reqToken](https://radicalnotion.ai/fixes/go-gitea/gitea/reqToken) | routers/api/v1/api.go | 4 | 6 | 2025-12-26 |
| [handleOAuth2SignIn](https://radicalnotion.ai/fixes/go-gitea/gitea/handleOAuth2SignIn) | routers/web/auth/oauth.go | 3 | 6 | 2026-10-14 |

## Most-patched files

| File | CVEs | Functions |
| --- | --- | --- |
| routers/api/v1/api.go | 52 | 13 |
| routers/web/auth/oauth2\_provider.go | 29 | 7 |
| routers/web/web.go | 20 | 3 |
| routers/web/user/profile.go | 20 | 2 |
| routers/web/user/home.go | 19 | 1 |
| routers/web/org/home.go | 18 | 3 |
| services/actions/notifier\_helper.go | 15 | 9 |
| routers/web/feed/profile.go | 14 | 2 |
| models/packages/package\_blob.go | 14 | 1 |
| models/asymkey/ssh\_key.go | 13 | 5 |

## Latest CVE fixes

| CVE | Title | Severity | CVSS | CISA KEV | Functions changed | Published |
| --- | --- | --- | --- | --- | --- | --- |
| CVE-2026-129525 | Gitea pull request disclosure to members with access to issues only | medium | 5.4 | No | ParseIssueFilterTypeIsPullWithPermission, ChangeCommentReaction, UpdateCommentContent | 2026-11-15 |
| CVE-2026-129341 | Gitea release asset deletion by former writers | medium | 5.4 | No | RecalculateReviewsOfficial, DeleteAttachment, SubmitReview | 2026-11-15 |
| CVE-2026-129337 | Gitea push without write access to repositories still being created | medium | 5.3 | No | RecalculateReviewsOfficial, DeleteAttachment, SubmitReview | 2026-11-15 |
| CVE-2026-128365 | Gitea required approval bypass through team review request removal | low | 3.1 | No | RecalculateReviewsOfficial, DeleteAttachment, SubmitReview | 2026-11-15 |
| CVE-2026-128359 | Gitea OAuth2 provider tokens issued to disabled users | medium | 5.4 | No | NewAccessTokenResponse, CanCreatePullRequest, preReceiveFor | 2026-11-15 |
| CVE-2026-127958 | Gitea disclosure of pending pull request reviews created through the API | medium | 5.3 | No | CreatePullReview, SubmitReview, SubmitReview | 2026-11-15 |
| CVE-2026-126338 | Gitea private diff disclosure through code comment replies | low | 3.1 | No | NewAccessTokenResponse, CanCreatePullRequest, preReceiveFor | 2026-11-15 |
| CVE-2026-125617 | Gitea hidden organization membership disclosure through the permissions API | medium | 4.3 | No | GetUserOrgsPermissions | 2026-11-15 |
| CVE-2026-123642 | Gitea pull request creation without pull request access through AGit | medium | 4.3 | No | NewAccessTokenResponse, CanCreatePullRequest, preReceiveFor | 2026-11-15 |
| CVE-2026-123638 | Gitea protected file pattern bypass with quoted file names | high | 8.3 | No | stdoutReaderClose | 2026-11-15 |
| CVE-2026-123065 | Gitea deletion of arbitrary attachment files through release edit | medium | 5.7 | No | RecalculateReviewsOfficial, DeleteAttachment, SubmitReview | 2026-11-15 |
| CVE-2026-123009 | Gitea base repository code disclosure through the web editor in forks | medium | 4.3 | No | NewAccessTokenResponse, CanCreatePullRequest, preReceiveFor | 2026-11-15 |

## Frequently asked questions

### How many CVEs have a located fix in go-gitea/gitea?

217 published CVEs have a fix traced to functions in go-gitea/gitea, touching 806 functions across 411 files.

### Which function in go-gitea/gitea has been patched most often?

Routes in routers/api/v1/api.go has been changed by 29 distinct patches, fixing 45 CVEs, from 2025 to 2026.

### How large is a typical CVE fix in go-gitea/gitea?

The median fix changes 88 lines. 17% of fixes change 20 lines or fewer, and 14% change a single function.

### How is a fix located to a function?

The upstream fix commit for each CVE is fetched and its diff is split into hunks. Each hunk is attributed to the function, method or type it changes, using the definition the diff itself names. Backports of the same fix to stable branches are counted once.

## Similar repositories

- [vim/vim](https://radicalnotion.ai/fixes/vim/vim) (222 CVEs)
- [apache/airflow](https://radicalnotion.ai/fixes/apache/airflow) (225 CVEs)
- [chakra-core/ChakraCore](https://radicalnotion.ai/fixes/chakra-core/chakracore) (225 CVEs)
- [gpac/gpac](https://radicalnotion.ai/fixes/gpac/gpac) (238 CVEs)
- [FFmpeg/FFmpeg](https://radicalnotion.ai/fixes/ffmpeg/ffmpeg) (245 CVEs)
- [android.googlesource.com/platform-frameworks-av](https://radicalnotion.ai/fixes/android.googlesource.com/platform-frameworks-av) (183 CVEs)
- [zephyrproject-rtos/zephyr](https://radicalnotion.ai/fixes/zephyrproject-rtos/zephyr) (253 CVEs)
- [MISP/MISP](https://radicalnotion.ai/fixes/misp/misp) (169 CVEs)

---

Source: [RadicalNotion.AI](https://radicalnotion.ai/fixes/go-gitea/gitea). Licensed CC BY-NC 4.0; attribute RadicalNotion.AI and link the source page when you reuse this data.
