CVE-2026-59774 (GCVE-0-2026-59774)
Vulnerability from cvelistv5
Published
2026-10-14 14:28
Modified
2026-10-15 03:56
Severity ?
VLAI Severity ?
EPSS score ?
CWE
- CWE-22 - Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')
Summary
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.
References
| URL | Tags | |
|---|---|---|
|
|
||
{
"containers": {
"adp": [
{
"providerMetadata": {
"dateUpdated": "2026-10-14T15:13:47.589Z",
"orgId": "af854a3a-2127-422b-91ae-364da2661108",
"shortName": "CVE"
},
"references": [
{
"url": "http://www.openwall.com/lists/oss-security/2026/08/10/3"
}
],
"title": "CVE Program Container"
},
{
"metrics": [
{
"cvssV3_1": {
"attackComplexity": "LOW",
"attackVector": "NETWORK",
"availabilityImpact": "HIGH",
"baseScore": 9.8,
"baseSeverity": "CRITICAL",
"confidentialityImpact": "HIGH",
"integrityImpact": "HIGH",
"privilegesRequired": "NONE",
"scope": "UNCHANGED",
"userInteraction": "NONE",
"vectorString": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H",
"version": "3.1"
}
},
{
"other": {
"content": {
"id": "CVE-2026-59774",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "yes"
},
{
"Technical Impact": "total"
}
],
"role": "CISA Coordinator",
"timestamp": "2026-10-14T00:00:00+00:00",
"version": "2.0.3"
},
"type": "ssvc"
}
}
],
"providerMetadata": {
"dateUpdated": "2026-10-15T03:56:54.937Z",
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP"
},
"title": "CISA ADP Vulnrichment"
}
],
"cna": {
"affected": [
{
"defaultStatus": "unaffected",
"packageName": "gitea.dev",
"product": "Gitea",
"vendor": "Gitea",
"versions": [
{
"lessThan": "1.27.1",
"status": "affected",
"version": "1.22",
"versionType": "semver"
}
]
}
],
"credits": [
{
"lang": "en",
"type": "coordinator",
"value": "https://github.com/fedek-xbow"
},
{
"lang": "en",
"type": "reporter",
"value": "https://github.com/xbow-security"
},
{
"lang": "en",
"type": "analyst",
"value": "https://github.com/gleo-xbow"
},
{
"lang": "en",
"type": "reporter",
"value": "https://github.com/NightRang3r"
}
],
"descriptions": [
{
"lang": "en",
"value": "Gitea\u0027s 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."
}
],
"problemTypes": [
{
"descriptions": [
{
"cweId": "CWE-22",
"description": "CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)",
"lang": "en",
"type": "CWE"
}
]
}
],
"providerMetadata": {
"dateUpdated": "2026-10-14T14:28:25.862Z",
"orgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"shortName": "Gitea"
},
"references": [
{
"name": "GitHub Security Advisory GHSA-6v53-hr58-556r",
"tags": [
"vendor-advisory"
],
"url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r"
},
{
"name": "Fix: go-gitea/gitea pull request #38642",
"tags": [
"patch"
],
"url": "https://github.com/go-gitea/gitea/pull/38642"
},
{
"name": "Gitea 1.27.1 release announcement",
"tags": [
"release-notes"
],
"url": "https://blog.gitea.com/release-of-1.27.1/"
},
{
"name": "Fix: go-gitea/gitea pull request #38645",
"tags": [
"patch"
],
"url": "https://github.com/go-gitea/gitea/pull/38645"
},
{
"name": "go-gitea/gitea v1.27.1 release",
"tags": [
"release-notes"
],
"url": "https://github.com/go-gitea/gitea/releases/tag/v1.27.1"
}
],
"title": "Gitea Org-mode file disclosure and code execution"
}
},
"cveMetadata": {
"assignerOrgId": "88ee5874-cf24-4952-aea0-31affedb7ff2",
"assignerShortName": "Gitea",
"cveId": "CVE-2026-59774",
"datePublished": "2026-10-14T14:28:25.862Z",
"dateReserved": "2026-07-08T09:19:07.145Z",
"dateUpdated": "2026-10-15T03:56:54.937Z",
"state": "PUBLISHED"
},
"dataType": "CVE_RECORD",
"dataVersion": "5.2",
"vulnerability-lookup:meta": {
"vulnrichment": {
"containers": "{\"adp\": [{\"title\": \"CVE Program Container\", \"references\": [{\"url\": \"http://www.openwall.com/lists/oss-security/2026/08/10/3\"}], \"providerMetadata\": {\"orgId\": \"af854a3a-2127-422b-91ae-364da2661108\", \"shortName\": \"CVE\", \"dateUpdated\": \"2026-10-14T15:13:47.589Z\"}}, {\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"cvssV3_1\": {\"scope\": \"UNCHANGED\", \"version\": \"3.1\", \"baseScore\": 9.8, \"attackVector\": \"NETWORK\", \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H\", \"integrityImpact\": \"HIGH\", \"userInteraction\": \"NONE\", \"attackComplexity\": \"LOW\", \"availabilityImpact\": \"HIGH\", \"privilegesRequired\": \"NONE\", \"confidentialityImpact\": \"HIGH\"}}, {\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-59774\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"yes\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-10-14T15:29:41.638567Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-10-14T15:27:30.981Z\"}}], \"cna\": {\"title\": \"Gitea Org-mode file disclosure and code execution\", \"credits\": [{\"lang\": \"en\", \"type\": \"coordinator\", \"value\": \"https://github.com/fedek-xbow\"}, {\"lang\": \"en\", \"type\": \"reporter\", \"value\": \"https://github.com/xbow-security\"}, {\"lang\": \"en\", \"type\": \"analyst\", \"value\": \"https://github.com/gleo-xbow\"}, {\"lang\": \"en\", \"type\": \"reporter\", \"value\": \"https://github.com/NightRang3r\"}], \"affected\": [{\"vendor\": \"Gitea\", \"product\": \"Gitea\", \"versions\": [{\"status\": \"affected\", \"version\": \"1.22\", \"lessThan\": \"1.27.1\", \"versionType\": \"semver\"}], \"packageName\": \"gitea.dev\", \"defaultStatus\": \"unaffected\"}], \"references\": [{\"url\": \"https://github.com/go-gitea/gitea/security/advisories/GHSA-6v53-hr58-556r\", \"name\": \"GitHub Security Advisory GHSA-6v53-hr58-556r\", \"tags\": [\"vendor-advisory\"]}, {\"url\": \"https://github.com/go-gitea/gitea/pull/38642\", \"name\": \"Fix: go-gitea/gitea pull request #38642\", \"tags\": [\"patch\"]}, {\"url\": \"https://blog.gitea.com/release-of-1.27.1/\", \"name\": \"Gitea 1.27.1 release announcement\", \"tags\": [\"release-notes\"]}, {\"url\": \"https://github.com/go-gitea/gitea/pull/38645\", \"name\": \"Fix: go-gitea/gitea pull request #38645\", \"tags\": [\"patch\"]}, {\"url\": \"https://github.com/go-gitea/gitea/releases/tag/v1.27.1\", \"name\": \"go-gitea/gitea v1.27.1 release\", \"tags\": [\"release-notes\"]}], \"descriptions\": [{\"lang\": \"en\", \"value\": \"Gitea\u0027s 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.\"}], \"problemTypes\": [{\"descriptions\": [{\"lang\": \"en\", \"type\": \"CWE\", \"cweId\": \"CWE-22\", \"description\": \"CWE-22: Improper Limitation of a Pathname to a Restricted Directory (\u0027Path Traversal\u0027)\"}]}], \"providerMetadata\": {\"orgId\": \"88ee5874-cf24-4952-aea0-31affedb7ff2\", \"shortName\": \"Gitea\", \"dateUpdated\": \"2026-10-14T14:28:25.862Z\"}}}",
"cveMetadata": "{\"cveId\": \"CVE-2026-59774\", \"state\": \"PUBLISHED\", \"dateUpdated\": \"2026-10-15T03:56:54.937Z\", \"dateReserved\": \"2026-07-08T09:19:07.145Z\", \"assignerOrgId\": \"88ee5874-cf24-4952-aea0-31affedb7ff2\", \"datePublished\": \"2026-10-14T14:28:25.862Z\", \"assignerShortName\": \"Gitea\"}",
"dataType": "CVE_RECORD",
"dataVersion": "5.2"
}
}
}
Loading…
Loading…
Sightings
| Author | Source | Type | Date |
|---|
Nomenclature
- Seen: The vulnerability was mentioned, discussed, or seen somewhere by the user.
- Confirmed: The vulnerability is confirmed from an analyst perspective.
- Published Proof of Concept: A public proof of concept is available for this vulnerability.
- Exploited: This vulnerability was exploited and seen by the user reporting the sighting.
- Patched: This vulnerability was successfully patched by the user reporting the sighting.
- Not exploited: This vulnerability was not exploited or seen by the user reporting the sighting.
- Not confirmed: The user expresses doubt about the veracity of the vulnerability.
- Not patched: This vulnerability was not successfully patched by the user reporting the sighting.
Loading…
Loading…