CVE-2026-105268
published medium CVSS 3.1 · 4.3Gitea issue attachment API allows changing comment attachments
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| Gitea | — | gitea.devGitea · 0 through 28.0.0 · Other versions: unaffected | Affected | Not stated | Gitea |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- CISA-ADP · adp
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| Gitea | Gitea | 0 through 28.0.0 (affected · semver)Default: unaffected | Gitea · cna |
Weaknesses
2- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
- CWE-863 CWE-863: Incorrect Authorization
References
5- Gitea 28.1.0 release announcement https://blog.gitea.com/release-of-28.1.0/
- Fix: go-gitea/gitea pull request #39501 https://github.com/go-gitea/gitea/pull/39501
- Fix backport to release/v28: go-gitea/gitea pull request #39507 https://github.com/go-gitea/gitea/pull/39507
- go-gitea/gitea v28.1.0 release https://github.com/go-gitea/gitea/releases/tag/v28.1.0
- GitHub Security Advisory GHSA-96qg-qxxj-r8xq https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xq
Provider assertions
2Gitea · cna
Gitea issue attachment API allows changing comment attachments
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- d5198c250e3c05044f4a5148aaa5fddfaa84062a03a92d8502f28eb5334605be
- Ingested
- 07 Oct 2026, 22:38:23 UTC
- Source record
- Official CVE record