CVE-2026-96594
Last modified
CVE-2026-96594 is a medium-severity vulnerability rated 6.1/10 on the CVSS scale. The Gitea API endpoint `GET /api/v1/repos/{owner}/{repo}/media/{filepath}` wrote files of up to 1 KiB that are stored directly in Git, not in LFS, to the response without the content type and disposition headers Gitea uses for user content. An HTML file committed to a repository was therefore rendered by the browser on the Gitea origin. EPSS estimates a 0.21% chance of exploitation in the next 30 days.
Description
The Gitea API endpoint `GET /api/v1/repos/{owner}/{repo}/media/{filepath}` wrote files of up to 1 KiB that are stored directly in Git, not in LFS, to the response without the content type and disposition headers Gitea uses for user content. An HTML file committed to a repository was therefore rendered by the browser on the Gitea origin. A user who can push to a repository could run JavaScript in the session of a victim who opens the media URL and act with the victim's permissions.
Metrics
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Gitea | Gitea | < 28.1.0 |
References
- https://blog.gitea.com/release-of-28.1.0/Release Notes
- https://github.com/go-gitea/gitea/pull/39501Patch, Issue Tracking
- https://github.com/go-gitea/gitea/pull/39507Patch, Issue Tracking
- https://github.com/go-gitea/gitea/security/advisories/GHSA-94rx-fqm6-q23vMitigation, Vendor Advisory
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2026-96594?
How severe is CVE-2026-96594?
How do I fix CVE-2026-96594?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-96580Gitea expanded a workflow's static `strategy.matrix` into it…7.5
- CVE-2026-96581Authorization Bypass Through User-Controlled Key vulnerabili…7.6
- CVE-2026-96582A HID report descriptor is a sequence of items, each declari…4.9
- CVE-2026-96587The Viidure Android application embeds permanent, plaintext …10
- CVE-2026-96589When a private repository is transferred to a user who lacks…4.3
- CVE-2026-9659Multiple exploitable stack-based buffer overflow vulnerabili…9.1
- CVE-2026-96596Loop with Unreachable Exit Condition ('Infinite Loop') vulne…5.9
- CVE-2026-96599Isotope eCommerce through 2.9.10 derives order identifiers f…5.9
- CVE-2026-9660Multiple exploitable stack-based buffer overflow vulnerabili…9.1
- CVE-2026-96600Isotope eCommerce through 2.9.10 contains a blind SQL inject…5.5
- CVE-2026-96601A vulnerability was detected in Abdurrab5 online-makeup-stor…7.3
- CVE-2026-96602A flaw has been found in Abdurrab5 online-makeup-store. This…7.3
Are you affected by CVE-2026-96594?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
