CVE-2026-105268
4.3medium
Gitea issue attachment API allows changing comment attachments
- Severity
- 4.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.20% (higher than 9% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- Gitea
- Also known as
- BIT-GITEA-2026-105268GHSA-96qg-qxxj-r8xq
Description
The Gitea API routes for issue attachments (`/api/v1/repos/{owner}/{repo}/issues/{index}/assets/{attachment_id}`) also accepted attachments that belong to comments on the issue. Because the author of an issue may edit and delete the issue's attachments, a user who opened an issue could rename or delete attachments that other users had posted in comments on that issue. The contents of the attachments could not be changed.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| gitea.dev | up to 28.0.0 | CVE List |
| gitea gitea | before 28.1.0 | NVD |
| gitea (Bitnami) | before 28.1.0 | Bitnami Vulnerability Database |
All scores
| CISA-ADP | 4.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N |
| Bitnami Vulnerability Database | medium rating |
Classification
References
| https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xq | advisory, vendor-advisory | |
| https://github.com/go-gitea/gitea/pull/39501 | fix, patch | |
| https://github.com/go-gitea/gitea/pull/39507 | fix, patch | |
| https://blog.gitea.com/release-of-28.1.0/ | article, release-notes | |
| https://github.com/go-gitea/gitea/releases/tag/v28.1.0 | article, release-notes | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-105268 | web | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-105268 changed 2026-10-07 | CVE Terms of Use |
| NVD | CVE-2026-105268 changed 2026-10-13 | Public domain |
| Bitnami Vulnerability Database | BIT-GITEA-2026-105268 changed 2026-10-14 | Apache-2.0 |