# CVE-2026-105268: Gitea issue attachment API allows changing comment attachments

- Severity: Medium 4.3 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.20%, higher than 9% of CVEs (2026-12-01)
- Published: 2026-10-06T21:35:40.926Z
- Modified: 2026-10-14T11:11:13.285Z
- Also known as: BIT-GITEA-2026-105268, GHSA-96qg-qxxj-r8xq
- Weaknesses: CWE-639, CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: 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.

(As written by CVE List.)

## Affected

- gitea.dev: up to 28.0.0
- gitea gitea: before 28.1.0
- gitea (Bitnami): before 28.1.0

## Every score

- CISA-ADP: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N`
- Bitnami Vulnerability Database: rating Medium

## 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

- CVE List: [CVE-2026-105268](https://www.cve.org/CVERecord?id=CVE-2026-105268), CVE Terms of Use, modified 2026-10-07
- NVD: [CVE-2026-105268](https://nvd.nist.gov/vuln/detail/CVE-2026-105268), Public domain, modified 2026-10-13
- Bitnami Vulnerability Database: [BIT-GITEA-2026-105268](https://osv.dev/vulnerability/BIT-GITEA-2026-105268), Apache-2.0, modified 2026-10-14

---

Page: https://cve.day/CVE-2026-105268 · Whole record: https://cve.day/CVE-2026-105268.json · Rebuilt by cve.day 2026-11-25T22:59:42.604Z
