
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-78433 is a cross-repository attachment disclosure vulnerability in Gitea's web attachment handler that allows unauthenticated attackers to retrieve private repository attachments by routing requests through a public repository's attachment path. It affects Gitea versions 1.26.0 through 1.27.2 (inclusive) and was disclosed on October 14, 2026, with a patch available in version 1.27.3. The vulnerability has a CVSS v3.1 base score of 5.9 (Medium) (Gitea Security Advisory, GitHub Advisory).
The root cause lies in routers/web/repo/attachment.go, where the cross-repository ownership check is gated solely on the attachment's creation timestamp: attachments created before January 16, 2026 bypass the check entirely (CWE-284, CWE-639, CWE-863, CWE-1220). When the guard is skipped, the handler evaluates permissions against the repository named in the request URL rather than the repository that actually owns the attachment. Because a database migration backfills the owning repository ID on upgrade, the timestamp-only exemption protects no legitimate rows and instead allows any public repository's attachment path to serve private attachments. The attachment endpoint permits anonymous access, so no authentication is required; the only precondition is that the attacker already knows the target attachment's random UUID (Gitea Security Advisory, Fix PR #39048).
Successful exploitation results in unauthorized disclosure of private-repository attachment contents — including issue attachments, pull request attachments, and release assets — to any unauthenticated caller. There is no integrity or availability impact; the vulnerability is purely a confidentiality breach. Sensitive data such as source code archives, configuration files, or internal documents attached to private issues or releases could be exposed if an attacker obtains the relevant attachment UUID (Gitea Security Advisory).
No public proof-of-concept exploit code is known to exist, and there is no confirmed evidence of in-the-wild exploitation at this time. The EPSS score is 0.0, and the vulnerability is not listed in the CISA Known Exploited Vulnerabilities catalog. Exploitation is constrained by the requirement that the attacker already possess a valid attachment UUID, which could be obtained through prior access (e.g., removed collaborator), notification emails, webhook payloads, or proxy/CDN logs (Gitea Security Advisory, GitHub Advisory).
GET /[public-owner]/[public-repo]/attachments/[private-attachment-UUID]./<public-owner>/<public-repo>/attachments/<UUID> where the UUID does not correspond to any attachment belonging to the requested public repository; anonymous (unauthenticated) requests to attachment endpoints for repositories that do not own the referenced UUID.Upgrade Gitea to version 1.27.3 or later, which enforces the owning repository path for all attachment requests regardless of creation timestamp (fixes #39048 and #39077). No configuration-based workaround is available; upgrading is the only remediation. Administrators should also review attachments created before January 16, 2026 in private repositories for potential unauthorized access, and consider re-uploading sensitive attachments if exposure is suspected (Gitea Release v1.27.3, Gitea Security Advisory).
The Gitea project published a security advisory (GHSA-frpv-2xgv-wxpq) crediting reporter iabdullah215 and remediation developer bircni. The fix was included as part of the broader Gitea 1.27.3 security release, which addressed multiple access control issues simultaneously. The release received positive community reception on GitHub with 45 reactions on the release notes (Gitea Release v1.27.3, Gitea Security Advisory).
Fix availability across major Linux distributions and their releases.
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."