---
title: "CVE-2026-59774: go-gitea Gitea - Unauthenticated Arbitrary File Read"
description: "go-gitea Gitea versions 1.22.1 through 1.27.0 contain a path traversal vulnerability due to improper initialization of the go-org markup renderer's ReadFile callback, allowing unauthenticated attackers to read arbitrary files accessible to the service user."
url: https://panop.io/threat-heartbeat/CVE-2026-59774/
---

# CVE-2026-59774 go-gitea Gitea - Unauthenticated Arbitrary File Read

go-gitea Gitea versions 1.22.1 through 1.27.0 contain a path traversal vulnerability due to improper initialization of the go-org markup renderer's ReadFile callback, allowing unauthenticated attackers to read arbitrary files accessible to the service user.

CVSS base score 9.8 /10

Critical

CISA KEV

Exploited in the wild

Public exploit

Proof of concept available

Authentication

Not required

[View the NVD record ↗](https://nvd.nist.gov/vuln/detail/CVE-2026-59774)

## Details

Type

Unauthenticated Arbitrary File Read

Impact

Information Disclosure, File System Read

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Published

14 October 2026

Updated

15 October 2026

Weakness

[CWE-22](https://cwe.mitre.org/data/definitions/22.html)

## Vendor fix

Update to Gitea version 1.27.1 or later.

Patching closes this CVE. It does not tell you which of your systems run the affected version, or what else is exposed alongside them.

## References

- [https://nvd.nist.gov/vuln/detail/CVE-2026-59774](https://nvd.nist.gov/vuln/detail/CVE-2026-59774)
- [https://github.com/go-gitea/gitea/pull/38645](https://github.com/go-gitea/gitea/pull/38645)
- [https://github.com/go-gitea/gitea/releases/tag/v1.27.1](https://github.com/go-gitea/gitea/releases/tag/v1.27.1)
- [http://www.openwall.com/lists/oss-security/2026/08/10/3](http://www.openwall.com/lists/oss-security/2026/08/10/3)
- [https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r](https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r)
- [https://previdian.com/CVE-2026-59774](https://previdian.com/CVE-2026-59774)
- [https://blog.gitea.com/release-of-1.27.1/](https://blog.gitea.com/release-of-1.27.1/)
- [https://github.com/go-gitea/gitea/pull/38642](https://github.com/go-gitea/gitea/pull/38642)

[← All CVEs](https://panop.io/threat-heartbeat/)

## What this record can't tell you

- Whether you run the affected software, and where
- Whether an attacker can actually reach and exploit it
- The misconfigurations that never get a CVE number
- What it would cost the business, ranked into what to fix first

Panop answers these inside your environment, for this CVE and every other finding.

[Book a demo](https://panop.io/demo)
