Get a Demo

Let's Patch It!

Book a short call with one our specialists, we'll walk you through how Endor Patches work, and ask you a few questions about your environment (like your primary programming languages and repository management). We'll also send you an email right after you fill out the form, feel free to reply with any questions you have in advance!

CVE

CVE-2026-59774

Gitea Org-mode file disclosure and code execution
Back to all
CVE

CVE-2026-59774

Gitea Org-mode file disclosure and code execution

Gitea's Org-mode markup renderer processes INCLUDE directives supplied to the repository markup endpoint without preventing access to server-side files. An unauthenticated attacker can use a suitable public repository to read files accessible to the Gitea service account. If the disclosed files include app.ini and its INTERNAL_TOKEN, the attacker can chain the disclosure with internal logger access to modify a Git hook and execute commands as the Gitea service account.

Package Versions Affected

Package Version
patch Availability
No items found.

Automatically patch vulnerabilities without upgrading

Fix Without Upgrading
Detect compatible fix
Apply safe remediation
Fix with a single pull request

CVSS Version

Severity
Base Score
CVSS Version
Score Vector
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
0
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
C
H
U
9.8
-
3.1
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Related Resources

No items found.

References

http://www.openwall.com/lists/oss-security/2026/08/10/3, https://blog.gitea.com/release-of-1.27.1/, https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59774.json, https://github.com/go-gitea/gitea/releases/tag/v1.27.1, https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r, https://nvd.nist.gov/vuln/detail/CVE-2026-59774, https://github.com/go-gitea/gitea/pull/38642, https://github.com/go-gitea/gitea/pull/38645

Severity

9.8

CVSS Score
0
10

Basic Information

Base CVSS
9.8
EPSS Probability
0.28308%
EPSS Percentile
0.98154%
Introduced Version
803b0c9ab43f809e47f42fad951e7f5fb6652e42,v1.11.0-rc1,v1.15.0-rc1,v1.23.0-rc0,v1.27.0-rc0
Fix Available
a62dfffbe7d3a454c2f2d3c4b2788ba432724a5f,v1.27.1

Fix Critical Vulnerabilities Instantly

Secure your app without upgrading.
Fix Without Upgrading