Forgejo CVE-2026-59774 detect
Org-mode #+INCLUDE file read in Forgejo and Gitea via markup API.
| Reporter | Title | Published | Views | Family All 30 |
|---|---|---|---|---|
| Exploit for CVE-2026-59774 | 24 Oct 202608:30 | – | githubexploit | |
| Exploit for CVE-2026-59774 | 21 Oct 202600:13 | – | githubexploit | |
| Security fix for the ALT Linux 11 package gitea version 1.27.2-alt1 | 27 Aug 202612:00 | – | altlinux | |
| Security fix for the ALT Linux 10 package gitea version 1.27.3-alt1 | 3 Sep 202612:00 | – | altlinux | |
| CVE-2026-59774 | 14 Oct 202614:28 | – | alpinelinux | |
| Gitea Org-mode Handler Unauthenticated Access Code Execution | 27 Oct 202600:00 | – | bdu_fstec | |
| CVE-2026-59774 | 4 Aug 202607:54 | – | circl | |
| CVE-2026-59774 | 14 Oct 202614:28 | – | cve | |
| CVE-2026-59774 Gitea Org-mode file disclosure and code execution | 14 Oct 202614:28 | – | cvelist | |
| EUVD-2026-101281 | 14 Oct 202614:28 | – | euvd |
10
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
"""CVE-2026-59774 — Forgejo/Gitea Org-mode markup include."""
from kittysploit import *
from lib.protocols.http.gitea_probe import Gitea
from lib.protocols.http.http_client import Http_client
class Module(Scanner, Http_client, Gitea):
__info__ = {
"name": "Forgejo CVE-2026-59774 detect",
"description": "Flags Forgejo/Gitea versions before 15.0.6 / 16.0.2 (markup #+INCLUDE).",
"author": ["KittySploit Team"],
"severity": "critical",
"cve": ["CVE-2026-59774"],
"references": [
"https://nvd.nist.gov/vuln/detail/CVE-2026-59774",
"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r",
],
"tags": ["forgejo", "gitea", "lfi", "cve-2026-59774"],
"agent": {
"chain": {
"suggested_followups": [
"auxiliary/admin/http/gitea_cve_2026_59774_unauth_file_read",
"exploits/linux/http/gitea_cve_2026_59774_unauth_markup_rce",
"auxiliary/admin/http/forgejo_cve_2026_59774_file_read",
"exploits/linux/http/gitea_cve_2026_60004_diffpatch_rce",
],
},
},
}
def run(self):
raw, ver = self.gitea_fetch_version()
if not ver:
probe = self.probe_gitea()
if not probe.get("found"):
return False
ver = str(probe.get("version") or "")
raw = str(probe.get("version_raw") or ver)
probe = self.probe_gitea()
forge = str(probe.get("forge") or "")
vuln = self.markup_vulnerable_59774(ver, forge)
if vuln is not True:
return False
self.set_info(
severity="critical",
cve="CVE-2026-59774",
version=raw or ver,
reason="Org-mode #+INCLUDE file read via markup API",
)
return TrueData
Build on a solid foundation with Vulners data
We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data
Api
Power your application with Vulners API
The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access
App
Assess and manage vulnerabilities with Vulners tools
Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation
14 Nov 2026 15:13Current
8.2High risk
Vulners AI Score8.2
CVSS 3.19.8
EPSS0.26983
SSVC