<?xml version='1.0' encoding='UTF-8'?>
<?xml-stylesheet href="/static/style.xsl" type="text/xsl"?>
<rss xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" version="2.0">
  <channel>
    <title>Most recent entries from all</title>
    <link>https://db.gcve.eu</link>
    <description>Contains only the most 10 recent entries.</description>
    <docs>http://www.rssboard.org/rss-specification</docs>
    <generator>python-feedgen</generator>
    <language>en</language>
    <lastBuildDate>Mon, 26 Oct 2026 23:08:20 +0000</lastBuildDate>
    <item>
      <title>CVE-2026-57886 — Cross-repository issue/comment attachment re-linking can expose private attachment content</title>
      <link>https://db.gcve.eu/vuln/cve-2026-57886</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Gitea Open Source Git Server&lt;/p&gt;
&lt;p&gt;Cross-repository issue/comment attachment re-linking can expose private attachment content&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Gitea Open Source Git Server&lt;/p&gt;
&lt;p&gt;Cross-repository issue/comment attachment re-linking can expose private attachment content&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/cve-2026-57886</guid>
    </item>
    <item>
      <title>GHSA-6c6r-5xr4-cr5m — Gitea: Cross-repository issue/comment attachment re-linking can expose private attachment content</title>
      <link>https://db.gcve.eu/vuln/ghsa-6c6r-5xr4-cr5m</link>
      <description>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: code.gitea.io/gitea&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Gitea&amp;#39;s issue and comment attachment update paths accept attachment UUIDs without verifying that each attachment belongs to the target issue/comment repository. If an authenticated attacker knows a victim attachment UUID, they can re-link that attachment to an attacker-controlled issue or comment, causing later attachment access checks to use the attacker&amp;#39;s repository authorization context.&lt;/p&gt;
&lt;p&gt;## Affected&lt;/p&gt;
&lt;p&gt;- Component: web issue/comment attachment handling.
- Confirmed version: `main` commit `a39b2775edcb3ba53def96794491b91335117d81` (`v1.27.0-dev-352-ga39b2775ed`).
- Fixed in: not fixed at the time of validation.
- Other versions: not exhaustively tested. The affected code path appears structurally similar to versions that contain the current issue/comment attachment update logic.&lt;/p&gt;
&lt;p&gt;## Description / Root Cause&lt;/p&gt;
&lt;p&gt;`files[]` values from issue/comment edit flows are passed to `updateAttachments` in `routers/web/repo/issue.go:589-629`. That helper calls:&lt;/p&gt;
&lt;p&gt;- `models/issues/issue_update.go:267-278` (`UpdateIssueAttachments`)
- `models/issues/comment.go:623-642` (`UpdateCommentAttachments`)&lt;/p&gt;
&lt;p&gt;Both functions load attachments by UUID and update the attachment linkage, but neither validates that the attachment row&amp;#39;s `RepoID` matches the repository of the target issue/comment. They also do not reject attachments already linked to a different issue/comment.&lt;/p&gt;
&lt;p&gt;Attachment reads then use the linked issue/release repository to decide access:&lt;/p&gt;
&lt;p&gt;- `services/repository/repository.go:185-2…&lt;/p&gt;</description>
      <content:encoded>&lt;p&gt;&lt;strong&gt;Affected:&lt;/strong&gt; Go: code.gitea.io/gitea&lt;/p&gt;
&lt;p&gt;## Summary&lt;/p&gt;
&lt;p&gt;Gitea&amp;#39;s issue and comment attachment update paths accept attachment UUIDs without verifying that each attachment belongs to the target issue/comment repository. If an authenticated attacker knows a victim attachment UUID, they can re-link that attachment to an attacker-controlled issue or comment, causing later attachment access checks to use the attacker&amp;#39;s repository authorization context.&lt;/p&gt;
&lt;p&gt;## Affected&lt;/p&gt;
&lt;p&gt;- Component: web issue/comment attachment handling.
- Confirmed version: `main` commit `a39b2775edcb3ba53def96794491b91335117d81` (`v1.27.0-dev-352-ga39b2775ed`).
- Fixed in: not fixed at the time of validation.
- Other versions: not exhaustively tested. The affected code path appears structurally similar to versions that contain the current issue/comment attachment update logic.&lt;/p&gt;
&lt;p&gt;## Description / Root Cause&lt;/p&gt;
&lt;p&gt;`files[]` values from issue/comment edit flows are passed to `updateAttachments` in `routers/web/repo/issue.go:589-629`. That helper calls:&lt;/p&gt;
&lt;p&gt;- `models/issues/issue_update.go:267-278` (`UpdateIssueAttachments`)
- `models/issues/comment.go:623-642` (`UpdateCommentAttachments`)&lt;/p&gt;
&lt;p&gt;Both functions load attachments by UUID and update the attachment linkage, but neither validates that the attachment row&amp;#39;s `RepoID` matches the repository of the target issue/comment. They also do not reject attachments already linked to a different issue/comment.&lt;/p&gt;
&lt;p&gt;Attachment reads then use the linked issue/release repository to decide access:&lt;/p&gt;
&lt;p&gt;- `services/repository/repository.go:185-2…&lt;/p&gt;</content:encoded>
      <guid isPermaLink="false">https://db.gcve.eu/vuln/ghsa-6c6r-5xr4-cr5m</guid>
    </item>
  </channel>
</rss>
