{"schema":"threatline.record/2","record":{"id":"CVE-2026-59774","aliases":["GHSA-6v53-hr58-556r"],"summary":"Gitea Org-mode file disclosure and code execution","details":"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.","categories":["Unclassified"],"product":"Gitea","vendor":"Gitea","ecosystem":null,"affected_ranges":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-59774","source_modified_at":"2026-10-15T03:56:54.937Z","fetched_at":"2026-10-23T18:42:43.628194Z","product":"Gitea","vendor":"Gitea","versions":[{"version":"1.22","status":"affected","lessThan":"1.27.1","versionType":"semver"}],"defaultStatus":"unaffected"},{"source":"GitHub Advisory Database","source_url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","source_modified_at":"2026-08-02T22:15:32Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"go","name":"gitea.dev"},"range":"1.22 < 1.27.1"}],"fixed_versions":[{"source":"CVE List","source_url":"https://www.cve.org/CVERecord?id=CVE-2026-59774","source_modified_at":"2026-10-15T03:56:54.937Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"name":"Gitea","ecosystem":null},"version":"1.27.1","basis":"first unaffected version stated in the CVE record"},{"source":"GitHub Advisory Database","source_url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","source_modified_at":"2026-08-02T22:15:32Z","fetched_at":"2026-10-23T18:42:43.628194Z","package":{"ecosystem":"go","name":"gitea.dev"},"version":"1.27.1"}],"cvss":9.8,"severity":"Critical","kev":{"listed":false},"epss":{"probability":0.28308,"percentile":0.98122,"score_date":"2026-10-23"},"published_at":"2026-10-14T14:28:25.862Z","modified_at":"2026-10-15T03:56:54.937Z","provenance":[{"source":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-59774","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-15T03:56:54.937Z"},{"source":"GitHub Advisory Database","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-08-02T22:15:32Z"},{"source":"Metasploit","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774.rb","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-07-30"},{"source":"Nuclei","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-59774.yaml","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":null},{"source":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-59774","fetched_at":"2026-10-23T18:42:43.628194Z","source_modified_at":"2026-10-23"}],"sources":["CVE List","GitHub Advisory Database","Metasploit","Nuclei","EPSS"],"references":[{"source":"CVE List","url":"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r","tags":["vendor-advisory"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/pull/38642","tags":["patch"]},{"source":"CVE List","url":"https://blog.gitea.com/release-of-1.27.1/","tags":["release-notes"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/pull/38645","tags":["patch"]},{"source":"CVE List","url":"https://github.com/go-gitea/gitea/releases/tag/v1.27.1","tags":["release-notes"]}],"locations":[],"motoko_assessment":{"status":"requires_architecture_review","automatic_remediation":false},"cve_state":"PUBLISHED","cvss_source":"CISA ADP","ssvc":{"exploitation":"none","automatable":"yes","technical_impact":"total","assessed_at":"2026-10-14T00:00:00+00:00"},"exploits":[{"source":"Metasploit","kind":"Auxiliary module","name":"Forgejo Arbitrary File Read via Org-mode Include","url":"https://github.com/rapid7/metasploit-framework/blob/master/modules/auxiliary/gather/forgejo_orgmode_fileread_cve_2026_59774.rb","date":"2026-07-30","added":"2026-08-12","check":true},{"source":"Nuclei","kind":"Scanner template","name":"Gitea 1.22.1-1.27.0 - Unauthenticated Arbitrary File Read","url":"https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-59774.yaml"}],"classification":{"method":"product-first software-layer rules","rules_version":"2.1","matched_on":null,"confidence":"unknown","reviewed":false},"change_timestamp":"2026-10-15T03:56:54.937Z","content_hash":"60e81e6f4bccfa05128be4593fb46632909bb45300517de7253b4a66ccfc107d"}}
