Path traversal in Discourse custom emoji export
Key facts
- Attack vector
- Network
- Privileges required
- High
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- Present
- Impact type
- —
- Confidentiality · integrity · availability
- None · High · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · GHSA-6pgf-hgqx-xhjv. Fix status from GitHub.
Summary
Discourse custom emoji export can write files outside its temporary directory when custom emoji names come from a crafted backup (CWE-22). Only sites with allow_restore enabled are affected. An attacker needs high privileges to supply such a backup, and the flaw affects integrity.
Written with Claude Haiku 5.5 from the sources below · 2026-11-12
Description from the GitHub advisory
### Impact Custom emoji names restored from a crafted backup can make the emoji export write files outside its temporary directory. 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-UWH9VBAK.
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-6pgf-hgqx-xhjv |
| — | Discourse | >= 2026.10.0-latest | 2026.10.1 | Patch available | GHSA-6pgf-hgqx-xhjv |
| — | Discourse | >= 2026.9.0-latest | 2026.9.2 | Patch available | GHSA-6pgf-hgqx-xhjv |
| — | Discourse | >= 2026.7.0-latest | 2026.7.5 | Patch available | GHSA-6pgf-hgqx-xhjv |
- Discourse Vendor— Affected — Fixed in 2026.11.0-latest.1 Patch available GHSA-6pgf-hgqx-xhjv
- Discourse Vendor— Affected >= 2026.10.0-latest Fixed in 2026.10.1 Patch available GHSA-6pgf-hgqx-xhjv
- Discourse Vendor— Affected >= 2026.9.0-latest Fixed in 2026.9.2 Patch available GHSA-6pgf-hgqx-xhjv
- Discourse Vendor— Affected >= 2026.7.0-latest Fixed in 2026.7.5 Patch available GHSA-6pgf-hgqx-xhjv
Remediation
Upgrade Discourse to a fixed version: 2026.11.0-latest.1, 2026.10.1, 2026.9.2 or 2026.7.5. 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-6pgf-hgqx-xhjv Discourse Fixed in 2026.11.0-latest.1 Advisory →
- Fix · GHSA-6pgf-hgqx-xhjv Discourse Fixed in 2026.10.1 Advisory →
- Fix · GHSA-6pgf-hgqx-xhjv Discourse Fixed in 2026.9.2 Advisory →
- Fix · GHSA-6pgf-hgqx-xhjv Discourse Fixed in 2026.7.5 Advisory →
Timeline
- 2026-11-12 Threatist record created from GHSA-6pgf-hgqx-xhjv
References
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences