SecurityContext

CVE-2026-105268: Gitea - Broken Access Control

  • Cve: CVE-2026-105268
  • Name: Gitea - Broken Access Control
  • 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.
  • Impact: Issue authors can rename or delete attachments from comments by other users, potentially causing data tampering or loss of attachments.
  • Remediation: Update to the latest version where attachment ownership checks are properly enforced.
  • Vulnerability type: broken_access_control
  • Vulnerability impact: data_tampering
  • Requirement type: logged_in
  • Requirements: Attacker must be the author of the issue
  • Labels source: projectdiscovery
  • Severity: medium
  • Cvss score: 4.3
  • Cvss vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
  • Epss score: 0.00196
  • Epss percentile: 0.09146
  • Assignee: 88ee5874-cf24-4952-aea0-31affedb7ff2
  • Published at: 2026-10-06T22:17:02Z
  • Age in days: 49
  • Modified at: 2026-10-13T14:38:35Z
  • Patch available: yes
  • References total: 5
  • Products total: 1
  • Oss: yes
  • Projects total: 1
  • Advisory url: https://nvd.nist.gov/vuln/detail/CVE-2026-105268
  • Nvd status: analyzed
  • Checked, none or zero: known exploited entries, nuclei templates, public exploits total, public exploits capped, public exploits, rejected by nvd
  • Not known: hackerone

Cwe

IdName
CWE-639Authorization Bypass Through User-Controlled Key

References

Same in every row:

  • Source: nvd
UrlTags
https://github.com/go-gitea/gitea/pull/39501Patch
https://github.com/go-gitea/gitea/pull/39507Patch
https://github.com/go-gitea/gitea/security/advisories/GHSA-96qg-qxxj-r8xqVendor Advisory
https://blog.gitea.com/release-of-28.1.0/Release Notes
https://github.com/go-gitea/gitea/releases/tag/v28.1.0Release Notes

Products

ProductAffectedPlatform boundSourcesUrl
gitea:gitea< 28.1.0nonvd/v1/products/gitea/gitea

Projects

RepositoryLink kindsIndexedUrl
go-gitea/giteapull, releases, security_advisoryyes/v1/repositories/go-gitea/gitea

Index

  • Checked, none or zero: repositories, repositories high signal, packages

Exploitation

  • Remote: yes
  • Authentication required: yes
  • Exposed hosts: 33493
  • Checked, none or zero: known exploited, known exploited by, exploitation seen, public exploit, public exploit count, initial access
  • Not known: known exploited since, vulncheck known exploited since, public exploit first date, nuclei template, initial access since, hackerone reports