Crafted backup restores let Discourse touch files outside uploads
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- Security bypass
- Confidentiality · integrity · availability
- Low · High · Low
- Fix status
- Fixed
Attack profile from CVSS 4.0 · GHSA-3c87-gfmc-gqrw. Fix status from GitHub. Impact type from CWE-639.
Summary
Discourse sites that use direct S3 uploads with allow_restore enabled are affected. Restoring a crafted backup can create external upload records that point outside the temporary upload folder, so Discourse can copy or delete files there, including files of other sites sharing the bucket (CWE-639). An attacker with high privileges and a crafted backup can trigger this.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Impact External upload records restored from a crafted backup can make Discourse copy or delete files outside the temporary upload folder in the S3 bucket, including files of other sites sharing that bucket. Only sites using direct S3 uploads with `allow_restore` enabled are affected. ### Workarounds Keep `allow_restore` disabled, and only restore backups from trusted sources.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| — | Discourse | — | 2026.11.0-latest.1 | Patch available | GHSA-3c87-gfmc-gqrw |
| — | Discourse | >= 2026.10.0-latest | 2026.10.1 | Patch available | GHSA-3c87-gfmc-gqrw |
| — | Discourse | >= 2026.9.0-latest | 2026.9.2 | Patch available | GHSA-3c87-gfmc-gqrw |
| — | Discourse | >= 2026.7.0-latest | 2026.7.5 | Patch available | GHSA-3c87-gfmc-gqrw |
- Discourse Vendor— Affected — Fixed in 2026.11.0-latest.1 Patch available GHSA-3c87-gfmc-gqrw
- Discourse Vendor— Affected >= 2026.10.0-latest Fixed in 2026.10.1 Patch available GHSA-3c87-gfmc-gqrw
- Discourse Vendor— Affected >= 2026.9.0-latest Fixed in 2026.9.2 Patch available GHSA-3c87-gfmc-gqrw
- Discourse Vendor— Affected >= 2026.7.0-latest Fixed in 2026.7.5 Patch available GHSA-3c87-gfmc-gqrw
Remediation
Upgrade Discourse to 2026.11.0-latest.1 or later, to 2026.10.1 or later, to 2026.9.2 or later, or to 2026.7.5 or later, depending on the release line in use. Until the fix is applied, keep allow_restore disabled and restore only backups from trusted sources.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
- Fix · GHSA-3c87-gfmc-gqrw Discourse Fixed in 2026.11.0-latest.1 Advisory →
- Fix · GHSA-3c87-gfmc-gqrw Discourse Fixed in 2026.10.1 Advisory →
- Fix · GHSA-3c87-gfmc-gqrw Discourse Fixed in 2026.9.2 Advisory →
- Fix · GHSA-3c87-gfmc-gqrw Discourse Fixed in 2026.7.5 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-3c87-gfmc-gqrw
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences