Path traversal in Discourse - CVE-2026-91123

 

Path traversal in Discourse - CVE-2026-91123

Published: October 28, 2026


Vulnerability identifier: #VU158250
CSH Severity: Medium
CVSS v4: 6.9 [CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:L/VA:N/SC:N/SI:N/SA:N]
CVE-ID: CVE-2026-91123
CWE-ID: CWE-22
Exploitation vector: Remote access
Exploit availability: No public exploit available

Vulnerability details

The vulnerability allows a remote attacker to bypass iframe URL restrictions, potentially exposing sensitive information or embedding unauthorized content.

The vulnerability exists due to improper handling of backslash path separators in the iframe src traversal guard when validating iframe source URLs. A remote attacker can supply a URL containing decoded dot segments followed by a literal backslash to cause browser URL normalization to resolve the URL outside its allowlisted subpath and bypass iframe content restrictions.


Affected software

Discourse

How to mitigate CVE-2026-91123

Install security update from vendor's website.

Discourse - addressed in versions 2026.1.8, 2026.6.3, 2026.7.2, 2026.8.0

External References

Related Security Bulletins