{
  "id": "cve-2026-25242",
  "title": "Gogs attachment routes permit unauthenticated file uploads",
  "product": "Gogs",
  "ai_system": "GPT-5",
  "organization": "OpenAI Security Research / Gogs maintainers",
  "summary": "When RequireSigninView is disabled (the default), Gogs issue and release attachment upload routes were in a router group that allowed anonymous access. A remote user could obtain a same-origin CSRF token and upload arbitrary files, allowing public content hosting and repeated-upload disk exhaustion.",
  "ai_role": "The Gogs advisory embeds an OpenAI Security Research report naming OpenAI as discoverer and gives the case-specific timeline “Discovered via GPT5” followed by PoC reproduction and confirmation. The report does not establish autonomous discovery or a more detailed model workflow.",
  "disclosure_date": "2026-02-14",
  "ai_attribution_date": "2026-02-14",
  "classification": "disclosure",
  "classification_note": "The public maintainer advisory was published 2026-02-14. The report documents a reproduced proof of concept; it does not report exploitation in the wild or establish whether defenders knew of the flaw before discovery.",
  "cves": [
    "CVE-2026-25242"
  ],
  "source_url": "https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f",
  "ai_source_url": "https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f",
  "advisory_url": "https://github.com/gogs/gogs/pull/8128",
  "remediation": "fix documented",
  "remediation_note": "PR #8128 moves /issues/attachments and /releases/attachments from ignSignIn to reqSignIn. The upstream commit is 628216d5889fcb838c471f4754f09b935d9cd9f3. The repository advisory lists 0.14.0 as patched; GitHub Advisory Database now lists <0.14.1 affected and 0.14.1 patched, and repository releases include 0.14.1. The corrected current boundary is retained; installed patch state is not established.",
  "checked_date": "2026-11-17",
  "impacts": [
    {
      "cves": [
        "CVE-2026-25242"
      ],
      "consequences": [
        "data modification",
        "denial of service"
      ],
      "conditions": "When RequireSigninView is disabled, which the report identifies as the default, anonymous remote users can obtain a CSRF token from the homepage and upload to /issues/attachments or /releases/attachments. Arbitrary file content is stored; repeated uploads can exhaust disk space.",
      "exploitation": "The embedded report includes a proof of concept; it does not report exploitation in the wild.",
      "source_url": "https://github.com/gogs/gogs/security/advisories/GHSA-fc3h-92p8-h36f",
      "checked_date": "2026-11-17"
    }
  ]
}
