//nefariousplan

Gogs

Case files

  1. CVE-2025-8110: Gogs's Symlink Check Was Inside `if opts.IsNewFile`

    CVE-2025-8110: Gogs's Symlink Check Was Inside `if opts.IsNewFile`

    Gogs's UpdateRepoFile function has a symlink check. It sits inside if opts.IsNewFile. The PoC for CVE-2025-8110 pushes the symlink x → .git/config to the bare repo with git push first, then sends PUT /api/v1/repos/{owner}/{repo}/contents/x.