PoC Archive PoC Archive

tag

Gitea

  • CVE-2026-60004 web HIGH 8.8

    Gitea — diffpatch API Git Hook Remote Code Execution (CVE-2026-60004)

    CVE-2026-60004 is an authenticated remote code execution vulnerability in the Gitea diffpatch API. The endpoint applies a supplied patch with git apply --cached, which should only update the index and never write files to disk. However, by sending the same…

    Patched 2026-08-09
  • CVE-2026-20896 web CRITICAL 9.8 EPSS 32%

    Gitea Docker Image Reverse-Proxy Authentication Bypass — "One Header, Any User" (CVE-2026-20896)

    Gitea supports reverse-proxy authentication: put it behind a proxy that sets an X-WEBAUTH-USER header, and Gitea trusts that header for the username, gated by REVERSEPROXYTRUSTEDPROXIES — an IP allowlist meant to ensure only the actual proxy can set that…

    Patched 2026-07-11
  • CVE-2026-28699 web HIGH

    Gitea OAuth2 Scope Enforcement Bypass via HTTP Basic Auth — CVE-2026-28699

    Gitea lets an OAuth2 application obtain an access token restricted to a subset of a user's permissions (e.g. read:user only), and enforces that restriction through a tokenRequiresScopes middleware. The middleware relies on an ApiTokenScope value that is…

    Patched 2026-07-05
  • CVE-2026-27771 web CRITICAL EPSS 43%

    Gitea Container Registry Anonymous Auth Bypass (CVE-2026-27771)

    Gitea's OCI Distribution Spec API (/v2/<name>/manifests/<ref>, /v2/<name>/blobs/<digest>) serves container image content to anonymous/ghost users without ever checking the package owner's configured visibility (private, limited, or public). The…

    Patched 2026-07-05
  • None assigned as of 2026-07-03 cloud HIGH

    Gitea act_runner container.options Host Namespace Escape

    Gitea's actrunner allows workflow YAML to append Docker options via jobs.<job>.container.options. When the runner configuration disables privileged mode, actrunner forces Privileged back to false and sanitizes bind mounts, but it preserves every other Docker…

    Unverified 2026-07-03