ServeAttachment
routers/web/repo/attachment.go
Last patched
Overview
ServeAttachment in routers/web/repo/attachment.go (go-gitea/gitea) was changed by 4 published CVE fixes in 2026, in 5 distinct patches that added or removed 34 lines in total.
go-gitea/gitea has 217 CVEs with a located fix in total, so 2% of them touched this function.
CVEs that patched it
Every published CVE whose fix changed ServeAttachment, newest first, with the lines each fix touched.
CVE-2026-78433 · lines 146–157 · +7 −7
Medium · CVSS 5.9EPSS 0.4%2026-10-14CVE-2026-58432 · lines 189–204 · +16 −0
Medium · CVSS 5.9EPSS 0.4%2026-08-13CVE-2026-20912 · line 149 · +1 −1
Medium · CVSS 5.1EPSS 0.5%2026-01-22CVE-2026-20736 · line 149 · +1 −1
Low · CVSS 2.3EPSS 0.4%2026-01-22
Get an alert when the next CVE fix lands in go-gitea/gitea, with the patched functions.
Monitor these CVEsOther functions in these files
Functions in the same file that CVE fixes also changed.
Other hotspots in the repository
Functions in go-gitea/gitea changed by the most distinct patches.
Frequently asked questions
Common questions about CVE fixes to ServeAttachment.
- How many CVEs have patched ServeAttachment?
- 4 published CVEs changed ServeAttachment in go-gitea/gitea, in 5 distinct patches totalling 34 changed lines, between 2026 and 2026.
- What is the latest CVE that changed ServeAttachment?
- CVE-2026-78433 (Gitea private attachment disclosure through repository mismatch), published 2026-10-14, changed lines 146 to 157 of routers/web/repo/attachment.go.
- How does ServeAttachment compare to the rest of go-gitea/gitea?
- go-gitea/gitea has 217 CVEs with a located fix in total; 4 of them changed ServeAttachment.
- What do the line numbers refer to?
- Line numbers are in the fixed version of the file, as the upstream patch left it. A CVE whose fix was backported to several branches is listed once, with the lines from the upstream commit.
References
- routers/web/repo/attachment.go on GitHub (opens in a new tab)
- All patched functions in go-gitea/gitea
- Patched functions directory
Fix locations are computed by RadicalNotion.AI from the upstream patch diff of each CVE. CVE data is sourced from the CVE Program.
Track go-gitea/gitea CVEs
Get an alert when a new CVE lands in this repository, with the patched functions and AI-written remediation guidance.