{
  "id": "CVE-2026-27771",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-27771",
  "published_at": "2026-07-03T20:19:36.924Z",
  "title": "Gitea Composer package source links use insufficient permission checks",
  "vendor": "Gitea",
  "product": "Gitea Open Source Git Server",
  "cvss": {
    "score": 8.2,
    "source": "cna",
    "vector": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": {
    "created_at": "2026-05-27T15:14:41Z",
    "first_seen_at": "2026-11-14T11:25:11.578Z",
    "days_after_publication": -37.2,
    "repo": "HORKimhab/CVE-2026-27771",
    "source": "github"
  },
  "poc_repo_count": 1,
  "exploit_count": 1,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Gitea versions up to and including 1.26.1 have insufficient permission checks for Composer package source links, which can expose private or internal package source information.",
  "cwe": "CWE-862",
  "cvss_by_source": {
    "cna": 8.2
  },
  "repos": [
    {
      "repo": "HORKimhab/CVE-2026-27771",
      "url": "https://github.com/HORKimhab/CVE-2026-27771",
      "created_at": "2026-05-27T15:14:41Z",
      "first_seen_at": "2026-11-14T11:25:11.578Z",
      "stars": 0,
      "is_poc": "yes",
      "kind": "exploit",
      "suspicion_score": 0,
      "suspicious": false,
      "suspicion_reasons": [],
      "status": "analyzed",
      "owner_created_at": "2018-07-12T07:48:30Z"
    }
  ],
  "remediation": {
    "affected": [
      {
        "vendor": "Gitea",
        "product": "Gitea Open Source Git Server",
        "ranges": [
          "\u003c= 1.26.1"
        ],
        "fixed_in": null
      },
      {
        "vendor": "",
        "product": "code.gitea.io/gitea",
        "ranges": [
          "\u003c 1.26.2"
        ],
        "fixed_in": [
          "1.26.2"
        ],
        "ecosystem": "Go",
        "advisory": "GHSA-8qw8-rq86-9pc2"
      }
    ],
    "upgrade": [
      "Upgrade code.gitea.io/gitea to 1.26.2 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/go-gitea/gitea/security/advisories/GHSA-8qw8-rq86-9pc2"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/go-gitea/gitea/pull/37610"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/go-gitea/gitea/releases/tag/v1.26.2"
      },
      {
        "kind": "Release notes",
        "url": "https://blog.gitea.com/release-of-1.26.2/"
      }
    ]
  },
  "exploit_refs": [
    {
      "url": "https://github.com/projectdiscovery/nuclei-templates/blob/main/http/cves/2026/CVE-2026-27771.yaml",
      "source": "nuclei",
      "title": "nuclei template: Gitea Container Registry - Unauthorized Private Image Access",
      "published_at": "2026-05-30T13:12:12Z",
      "first_seen_at": "2026-11-14T10:26:36.149Z"
    }
  ],
  "hunt_profile": [
    {
      "method": "POST",
      "path_template": "/api/v1/users/{var}/tokens",
      "headers": [
        {
          "name": "X-Csrf-Token",
          "value": "{var}"
        }
      ],
      "content_type": "application/json",
      "protocol": "https",
      "repos": [
        "HORKimhab/CVE-2026-27771"
      ],
      "repo_count": 1,
      "confidence": 0.7,
      "evidence": [
        "HORKimhab/CVE-2026-27771/CVE-2026-27771-portbuster1337/CVE-2026-27771-exploit.py:254"
      ]
    }
  ],
  "rules": []
}
