CVE Explorer
CVE-2026-52795
Gogs is an open source self-hosted Git service. In 0.14.3 and earlier, any authenticated user can watch a private repository they have no access to, because the access check in the Watch API handler is inverted. The code checks if repoCtx.ViewerCanRead() (returns 404 when the user CAN read) instead of if !repoCtx.ViewerCanRead() (return 404 when the user CANNOT read). Once watching, the attacker's dashboard activity feed shows commit messages, branch names, issue titles, and PR details from the
Known exploited
Not asserted
Disputed
No
Stale source
No
Conflicts
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:f5da2f54e8acdc874296946fe73463f7edc4bdb06d8a61138d39da047940169e · sha256:a6c11e3d13c52d60… · /containers/cna/affected/0
Provider-owned CVSS observations
1 source assertion{"metric":{"attackComplexity":"LOW","attackVector":"NETWORK","availabilityImpact":"NONE","baseScore":4.3,"baseSeverity":"MEDIUM","confidentialityImpact":"LOW","integrityImpact":"NONE","privilegesRequired":"LOW","scope":"UNCHANGED","userInteraction":"NONE","vectorString":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","version":"3.1"},"metric_type":"cvssV3_1"}
- cve_program_cvelist_v5cvssurn:baitaphish:normalized-source-record:v2:f5da2f54e8acdc874296946fe73463f7edc4bdb06d8a61138d39da047940169e · sha256:a6c11e3d13c52d60… · /containers/cna/metrics/0/cvssV3_1
CWE assertions
1 source assertion{"cweId":"CWE-863","description":"CWE-863: Incorrect Authorization","lang":"en","type":"CWE"}
- cve_program_cvelist_v5cweurn:baitaphish:normalized-source-record:v2:f5da2f54e8acdc874296946fe73463f7edc4bdb06d8a61138d39da047940169e · sha256:a6c11e3d13c52d60… · /containers/cna/problemTypes/0/descriptions/0
Source references
3 source assertions{"name":"https://github.com/gogs/gogs/commit/d61caa3676fde060d0c03ccf815851dddc7c67e0","tags":["x_refsource_MISC"],"url":"https://github.com/gogs/gogs/commit/d61caa3676fde060d0c03ccf815851dddc7c67e0"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f5da2f54e8acdc874296946fe73463f7edc4bdb06d8a61138d39da047940169e · sha256:a6c11e3d13c52d60… · /containers/cna/references/1
{"name":"https://github.com/gogs/gogs/security/advisories/GHSA-v8w7-f6gc-cqc2","tags":["x_refsource_CONFIRM"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-v8w7-f6gc-cqc2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f5da2f54e8acdc874296946fe73463f7edc4bdb06d8a61138d39da047940169e · sha256:a6c11e3d13c52d60… · /containers/cna/references/0
{"tags":["exploit"],"url":"https://github.com/gogs/gogs/security/advisories/GHSA-v8w7-f6gc-cqc2"}
- cve_program_cvelist_v5referenceurn:baitaphish:normalized-source-record:v2:f5da2f54e8acdc874296946fe73463f7edc4bdb06d8a61138d39da047940169e · sha256:a6c11e3d13c52d60… · /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.