Backup restore follows symlinks in crafted archives
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- High · High · High
- Fix status
- Fixed
Attack profile from CVSS 4.0 · GHSA-4xhg-3v3f-8j7x. Fix status from GitHub.
Summary
Discourse follows symbolic links in uploaded backup archives during restore (CWE-61), so an authenticated admin who restores a crafted backup can read and write files outside the restore directory as the user running Discourse. This can lead to code execution on the server. Only sites with allow_restore enabled are affected.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Impact An admin restoring a crafted backup can read and write files outside the restore directory, as the user running Discourse. This can lead to code execution on the server. Only sites with `allow_restore` enabled are affected. ### Workarounds Keep `allow_restore` disabled, and only restore backups from trusted sources. Discovered by Anthropic's OSS Scanner, as vulnerability ANT-2026-AWV304MJ.
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-4xhg-3v3f-8j7x |
| — | Discourse | >= 2026.10.0-latest | 2026.10.1 | Patch available | GHSA-4xhg-3v3f-8j7x |
| — | Discourse | >= 2026.9.0-latest | 2026.9.2 | Patch available | GHSA-4xhg-3v3f-8j7x |
| — | Discourse | >= 2026.7.0-latest | 2026.7.5 | Patch available | GHSA-4xhg-3v3f-8j7x |
- Discourse Vendor— Affected — Fixed in 2026.11.0-latest.1 Patch available GHSA-4xhg-3v3f-8j7x
- Discourse Vendor— Affected >= 2026.10.0-latest Fixed in 2026.10.1 Patch available GHSA-4xhg-3v3f-8j7x
- Discourse Vendor— Affected >= 2026.9.0-latest Fixed in 2026.9.2 Patch available GHSA-4xhg-3v3f-8j7x
- Discourse Vendor— Affected >= 2026.7.0-latest Fixed in 2026.7.5 Patch available GHSA-4xhg-3v3f-8j7x
Remediation
Upgrade Discourse to 2026.11.0-latest.1, 2026.10.1, 2026.9.2 or 2026.7.5, depending on the release line in use. Until then, 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-4xhg-3v3f-8j7x Discourse Fixed in 2026.11.0-latest.1 Advisory →
- Fix · GHSA-4xhg-3v3f-8j7x Discourse Fixed in 2026.10.1 Advisory →
- Fix · GHSA-4xhg-3v3f-8j7x Discourse Fixed in 2026.9.2 Advisory →
- Fix · GHSA-4xhg-3v3f-8j7x Discourse Fixed in 2026.7.5 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-4xhg-3v3f-8j7x
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences