{
  "id": "CVE-2026-45788",
  "url": "https://poc.griffinguard.io/cve/CVE-2026-45788",
  "published_at": "2026-07-09T21:59:27.495Z",
  "title": "Discourse: Secure uploads exposed by hotlinked image copying",
  "vendor": "discourse",
  "product": "discourse",
  "cvss": {
    "score": 7.5,
    "source": "nvd",
    "vector": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "Discourse is an open-source discussion platform. Prior to 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5, secure uploads could be exposed by pull_hotlinked_images when an attacker knew the secured upload URL and the secure_uploads site setting was enabled. This issue is fixed in versions 2026.6.0, 2026.5.1, 2026.4.2, and 2026.1.5.",
  "cwe": "CWE-200",
  "cpes": [
    "cpe:2.3:a:discourse:discourse:*:*:*:*:*:*:*:*",
    "cpe:2.3:a:discourse:discourse:2026.6.0:*:*:*:latest:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 6.3,
    "nvd": 7.5
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "discourse",
        "product": "discourse",
        "ranges": [
          "\u003e= 2026.1.0-latest, \u003c 2026.1.5",
          "\u003e= 2026.4.0-latest, \u003c 2026.4.2",
          "\u003e= 2026.5.0-latest, \u003c 2026.5.1"
        ],
        "fixed_in": [
          "2026.1.5",
          "2026.4.2",
          "2026.5.1"
        ]
      }
    ],
    "upgrade": [
      "Upgrade discourse to 2026.1.5 or 2026.4.2 or 2026.5.1 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/discourse/discourse/security/advisories/GHSA-3876-w96v-8v38"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/discourse/discourse/commit/5807c426880eadf248006e851604fc9284327ce5"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/discourse/discourse/commit/8b4a959b251a856a9c911fb9f2ac34fbc31a7471"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/discourse/discourse/commit/eff53af26367ae0dcb3a426954d233e8c7449f95"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/discourse/discourse/commit/fa74e0dec7341a858ab83a1977fa52629bced1aa"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/discourse/discourse/releases/tag/v2026.1.5"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/discourse/discourse/releases/tag/v2026.4.2"
      },
      {
        "kind": "Release notes",
        "url": "https://github.com/discourse/discourse/releases/tag/v2026.5.1"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
