CVE-2026-59774

Source
https://cve.org/CVERecord?id=CVE-2026-59774
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59774.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-59774
Aliases
  • GHSA-6v53-hr58-556r
Published
2026-10-14T14:28:25Z
Modified
2026-10-28T02:30:51Z
Severity
  • 9.8 (Critical) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H CVSS Calculator
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.

Database specific
{
    "cna_assigner": "Gitea",
    "cwe_ids": [
        "CWE-22"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/59xxx/CVE-2026-59774.json"
}
References

Affected packages

Git / github.com/go-gitea/gitea

Affected ranges

Type
GIT
Repo
https://github.com/go-gitea/gitea
Events
Database specific
Show details
{
    "extracted_events": [
        {
            "range": [
                {
                    "introduced": "1.22"
                },
                {
                    "fixed": "1.27.1"
                }
            ],
            "source": "AFFECTED_FIELD",
            "strategy": "StandardRange"
        },
        {
            "original_tag": "v1.27.1",
            "range": [
                {
                    "fixed": "a62dfffbe7d3a454c2f2d3c4b2788ba432724a5f"
                }
            ],
            "source": "REFERENCES_TAG"
        }
    ]
}

Affected versions

v1.*
v1.22.0-dev
v1.22.0-rc0
v1.22.0-rc1
v1.23.0-dev
v1.24.0-dev
v1.25.0-dev
v1.26.0-dev
v1.27.0
v1.27.0-dev
v1.27.0-rc0
v1.28.0-dev

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-59774.json"