{
  "_links": {
    "capec": {
      "href": "/api/v1/vulnerability/cve-2026-52806/capec"
    },
    "cvss": {
      "href": "/api/v1/vulnerability/cve-2026-52806/cvss"
    },
    "cwe": {
      "href": "/api/v1/vulnerability/cve-2026-52806/cwe"
    },
    "enrichment": {
      "href": "/api/v1/vulnerability/cve-2026-52806/enrichment"
    },
    "gcve": {
      "href": "/api/v1/vulnerability/cve-2026-52806/gcve"
    },
    "self": {
      "href": "/api/v1/vulnerability/cve-2026-52806"
    },
    "sightings": {
      "href": "/api/v1/sightings/cve-2026-52806"
    }
  },
  "data": {
    "nuclei": true,
    "nuclei_template": "http/cves/2026/CVE-2026-52806.yaml",
    "nuclei_template_severity": "critical",
    "nuclei_template_yaml": "id: CVE-2026-52806\n\ninfo:\n  name: Gogs <= 0.14.2 - Authenticated RCE via git rebase Argument Injection\n  author: DhiyaneshDk,pdteam\n  severity: critical\n  description: |\n    Gogs is an open source self-hosted Git service. Prior to 0.14.3, Gogs allows authenticated users to achieve Remote Code Execution (RCE) on the server by creating a pull request with a specially crafted branch name that injects the --exec flag into the git rebase command during the \"Rebase before merging\" merge operation.\n  impact: |\n    Authenticated users can execute arbitrary code on the server, potentially leading to full system compromise.\n  remediation: This vulnerability is fixed in 0.14.3.\n  reference:\n    - https://www.cve.org/CVERecord?id=CVE-2026-52806\n    - https://github.com/portbuster1337/CVE-2026-52806\n    - https://github.com/rapid7/metasploit-framework/blob/master/modules/exploits/multi/http/gogs_rebase_rce.rb\n  classification:\n    cvss-metrics: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H\n    cvss-score: 9.9\n    cve-id: CVE-2026-52806\n    epss-score: 0.07934\n    epss-percentile: 0.94479\n    cwe-id: CWE-77\n    cpe: cpe:2.3:a:gogs:gogs:*:*:*:*:*:*:*:*\n  metadata:\n    verified: true\n    max-request: 1\n    vendor: gogs\n    product: gogs\n    shodan-query: title:\"Sign In - Gogs\"\n    google-query: intitle:\"Sign In - Gogs\"\n    fofa-query: title=\"sign in - gogs\"\n  tags: cve,cve2026,gogs,rce,argument-injection,git,authenticated,passive,vkev\n\nhttp:\n  - method: GET\n    path:\n      - \"{{BaseURL}}/user/login\"\n\n    matchers-condition: and\n    matchers:\n      - type: word\n        part: body\n        words:\n          - '<meta property=\"og:description\" content=\"Gogs is a painless self-hosted Git service.\">'\n          - '<meta name=\"description\" content=\"Gogs is a painless self-hosted Git service\" />'\n          - \"<title>Sign In - Gogs</title>\"\n        condition: or\n\n      - type: status\n        status:\n          - 200\n\n      - type: dsl\n        dsl:\n          - compare_versions(gogs_version, '<= 0.14.2')\n\n    extractors:\n      - type: regex\n        name: gogs_version\n        part: body\n        group: 1\n        regex:\n          - 'Version: (\\d+\\.\\d+\\.\\d+)'\n        internal: true\n\n      - type: regex\n        group: 1\n        regex:\n          - 'Version: (\\d+\\.\\d+\\.\\d+)'\n        part: body\n# digest: 4a0a004730450220465ddfc491d686ce8c48e6ae0b904379c74f54917de65af843ea1c5b512de32d022100a5cc109d4446a2ae867c46b5289d86200609722022a7c173ca6fc30ffee4bdc4:922c64590222798bb761d5b6d8e72950"
  },
  "source": "nuclei",
  "vuln_id": "cve-2026-52806"
}