CVE Explorer
CVE-2026-52811
Gogs is an open source self-hosted Git service. Prior to 0.14.3, (*Repository).UploadRepoFiles checks for symlinks only on the leaf of the upload target (osx.IsSymlink(targetPath)). The siblings UpdateRepoFile, DeleteRepoFile, and GetDiffPreview use hasSymlinkInPath, which lstats every component — UploadRepoFiles is the lone outlier. An attacker with repo-write access plus a multipart upload whose filename contains a literal backslash (preserved by filepath.Base on Linux, then converted to / by
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
1
Preserved source conflicts
No provider value was silently selected as the winner.
cwe · 3 assertions
{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-61","description":"CWE-61: UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/problemTypes/0/descriptions/0
Affected products and versions
1 source assertion{"product":"gogs","vendor":"gogs","versions":[{"status":"affected","version":"< 0.14.3"}]}
- cve_program_cvelist_v5affectedurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackRequirements":"PRESENT","attackVector":"NETWORK","baseScore":9,"baseSeverity":"CRITICAL","privilegesRequired":"LOW","subAvailabilityImpact":"HIGH","subConfidentialityImpact":"HIGH","subIntegrityImpact":"HIGH","userInteraction":"NONE","vectorString":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H","version":"4.0","vulnAvailabilityImpact":"HIGH","vulnConfidentialityImpact":"HIGH","vulnIntegrityImpact":"HIGH"},"metric_type":"cvssV4_0"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/metrics/0/cvssV4_0
CWE assertions
3 source assertions{"cweId":"CWE-59","description":"CWE-59: Improper Link Resolution Before File Access ('Link Following')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/problemTypes/1/descriptions/0
{"cweId":"CWE-61","description":"CWE-61: UNIX Symbolic Link (Symlink) Following","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/problemTypes/2/descriptions/0
{"cweId":"CWE-22","description":"CWE-22: Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/problemTypes/0/descriptions/0
Source references
5 source assertions{"name":"https://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31","tags":["x_refsource_MISC"],"url":"https://github.com/gogs/gogs/commit/04cb8afbb01d855454e59977a1cdbf522ea1db31"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/references/2
{"name":"https://github.com/gogs/gogs/pull/8332","tags":["x_refsource_MISC"],"url":"https://github.com/gogs/gogs/pull/8332"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/references/1
{"name":"https://github.com/gogs/gogs/releases/tag/v0.14.3","tags":["x_refsource_MISC"],"url":"https://github.com/gogs/gogs/releases/tag/v0.14.3"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/references/3
{"name":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-89mr-xqfv-758m"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:dfdb3c85f3918791ceb1ac30d8f3ccd42504707c398fd8eb7dc67b243ea1ac5f · sha256:80ce131fe48c9eb3… · /containers/adp/0/references/0
Attribution and limitations
- CVE Program CVEList V5: Reproduce the MITRE copyright designation and CVE license in copies. Source →
Provider severity values are preserved separately. Baitaphish does not convert them into a risk rating, infer affected products, or treat EPSS as observed exploitation.