Read the docs

Path traversal in Discourse custom emoji export

Priority MEDIUM 46CWE-22Published · Updated

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

Fix Fixed Discourse: 2026.11.0-latest.1, 2026.10.1, 2026.9.2 +1

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
—Discourse—2026.11.0-latest.1Patch availableGHSA-6pgf-hgqx-xhjv
—Discourse>= 2026.10.0-latest2026.10.1Patch availableGHSA-6pgf-hgqx-xhjv
—Discourse>= 2026.9.0-latest2026.9.2Patch availableGHSA-6pgf-hgqx-xhjv
—Discourse>= 2026.7.0-latest2026.7.5Patch availableGHSA-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

  1. 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