{"document":{"category":"csaf_vex","csaf_version":"2.0","title":"CVE-2026-52813: Gogs: Path Traversal in organization name results in RCE through Git hooks","publisher":{"category":"vendor","name":"HarborGuard Database","namespace":"https://database.harborguard.co"},"tracking":{"id":"CVE-2026-52813","status":"final","version":"1","initial_release_date":"2026-06-24T20:33:42.162Z","current_release_date":"2026-06-24T20:33:42.162Z","revision_history":[{"date":"2026-06-24T20:33:42.162Z","number":"1","summary":"Initial machine-readable export from HarborGuard."}]},"distribution":{"tlp":{"label":"WHITE"},"text":"Public CVE data; freely redistributable."},"notes":[{"category":"description","text":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving data for repositories at arbitrary locations on the filesystem. By creating nested structure of Git repositories, one can overwrite the other's hooks configuration to result in Remote Code Execution (RCE). This vulnerability is fixed in 0.14.3.","title":"CVE description"}],"references":[{"category":"self","summary":"CVE-2026-52813 on HarborGuard Database","url":"https://database.harborguard.co/cve/CVE-2026-52813"},{"category":"external","summary":"CVE Record","url":"https://www.cve.org/CVERecord?id=CVE-2026-52813"},{"category":"external","summary":"https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5","url":"https://github.com/gogs/gogs/security/advisories/GHSA-c39w-43gm-34h5"},{"category":"external","summary":"https://github.com/gogs/gogs/pull/8334","url":"https://github.com/gogs/gogs/pull/8334"},{"category":"external","summary":"https://github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7","url":"https://github.com/gogs/gogs/commit/f6acd467305943aae8403cbac81f0118dd1235d7"},{"category":"external","summary":"https://github.com/gogs/gogs/releases/tag/v0.14.3","url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"}]},"product_tree":{"branches":[{"category":"vendor","name":"gogs","branches":[{"category":"product_name","name":"gogs","branches":[{"category":"product_version","name":"< 0.14.3","product":{"name":"gogs gogs < 0.14.3","product_id":"CSAFPID-1","product_identification_helper":{"cpe":"cpe:2.3:a:gogs:gogs:\\<_0.14.3:*:*:*:*:*:*:*"}}}]}]}]},"vulnerabilities":[{"cve":"CVE-2026-52813","title":"Gogs: Path Traversal in organization name results in RCE through Git hooks","notes":[{"category":"description","text":"Gogs is an open source self-hosted Git service. Prior to 0.14.3, organization names containing path traversal sequences (../) are accepted by Gogs, and repositories under them are written to paths following these path traversals. This allows storing/retrieving data for repositories at arbitrary locations on the filesystem. By creating nested structure of Git repositories, one can overwrite the other's hooks configuration to result in Remote Code Execution (RCE). This vulnerability is fixed in 0.14.3.","title":"CVE description"}],"product_status":{"known_affected":["CSAFPID-1"]},"scores":[{"cvss_v3":{"version":"3.1","vectorString":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H","baseScore":10,"baseSeverity":"CRITICAL"},"products":["CSAFPID-1"]}],"remediations":[{"category":"none_available","details":"No fixed version is published yet. Monitor the upstream advisory.","product_ids":["CSAFPID-1"]}]}]}