# CVE-2026-57886: Cross-repository issue/comment attachment re-linking can expose private attachment content

- Severity: Medium 5.9 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/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.25%, higher than 17% of CVEs (2026-12-01)
- Published: 2026-07-21T20:22:58.000Z
- Modified: 2026-08-26T16:53:48.300Z
- Also known as: GHSA-6c6r-5xr4-cr5m, GO-2026-6035
- Weaknesses: CWE-639, CWE-862
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: Gitea

## Description

Cross-repository issue/comment attachment re-linking can expose private attachment content

(As written by CVE List.)

## Affected

- Gitea Gitea Open Source Git Server: up to 1.26.4
- code.gitea.io/gitea (Go): before 1.27.0
- gitea.dev (Go): before 1.27.0

## Every score

- CISA-ADP: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`
- GitHub: CVSS:3.1 5.9 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:N`

## References

- <https://github.com/go-gitea/gitea/security/advisories/GHSA-6c6r-5xr4-cr5m> (advisory, vendor-advisory, web)
- <https://github.com/go-gitea/gitea/releases/tag/v1.27.0> (release-notes, web)
- <https://blog.gitea.com/gitea-1.27.0-is-released/> (release-notes)
- <https://github.com/go-gitea/gitea/pull/38406> (web)
- <https://github.com/go-gitea/gitea/pull/38426> (web)
- <https://github.com/go-gitea/gitea/commit/de4b8277e9cb576f2315fb03b5ab6478b42a1d31> (web)
- <https://github.com/go-gitea/gitea/commit/f69e15afe7496cc62e96dab244629c69eb31a7bf> (web)
- <https://github.com/go-gitea/gitea> (package)

## Sources

- CVE List: [CVE-2026-57886](https://www.cve.org/CVERecord?id=CVE-2026-57886), CVE Terms of Use, modified 2026-08-14
- GitHub Advisory Database: [GHSA-6c6r-5xr4-cr5m](https://github.com/advisories/GHSA-6c6r-5xr4-cr5m), CC-BY-4.0, modified 2026-07-22
- Go Vulnerability Database: [GO-2026-6035](https://pkg.go.dev/vuln/GO-2026-6035), CC-BY-4.0, modified 2026-07-22
- NVD: [CVE-2026-57886](https://nvd.nist.gov/vuln/detail/CVE-2026-57886), Public domain, modified 2026-08-26

---

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