Vulnerability Description
Gitea's container registry served blob downloads with a `Content-Type` taken from the media type declared in pushed image manifests, without a `Content-Disposition` or restrictive content security policy. A user who can push container images can publish a blob containing HTML and JavaScript with a `text/html` media type. When a victim who is authenticated to the instance opens the blob URL in a browser, the script runs on the Gitea origin and can perform actions as the victim, such as creating API tokens.
CVSS Score
MEDIUM
Affected Products
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.0.0 |
Related Weaknesses (CWE)
References
- https://blog.gitea.com/release-of-28.0.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39398PatchIssue Tracking
- https://github.com/go-gitea/gitea/releases/tag/v28.0.0Release Notes
- https://github.com/go-gitea/gitea/security/advisories/GHSA-7cq7-4v93-8wjmMitigationVendor Advisory
FAQ
What is CVE-2026-103667?
CVE-2026-103667 is a vulnerability with a CVSS score of 5.4 (MEDIUM). Gitea's container registry served blob downloads with a `Content-Type` taken from the media type declared in pushed image manifests, without a `Content-Disposition` or restrictive content security pol...
How severe is CVE-2026-103667?
CVE-2026-103667 has been rated MEDIUM with a CVSS base score of 5.4/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-103667?
Check the references section above for vendor advisories and patch information. Affected products include: Gitea Gitea.