# bbPress <= 2.6.20 - Unauthenticated Sensitive Information Exposure via Old-Slug and Canonical Redirects

- **ID:** WPSEC-2026-1879
- **Plugin:** bbPress (`bbpress`), https://wordpress.org/plugins/bbpress/
- **Affected versions:** all versions before 2.6.21
- **Fixed in:** 2.6.21 (Update to 2.6.21 or later.)
- **Severity:** Medium 5.3 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N)
- **Weakness:** CWE-200
- **Usage among sites WPSec scans:** plugin Medium, affected versions Medium (as of 2026-10-28)
- **Attack surface analysis:** https://attacksurface.wpsec.com/plugin/bbpress
- **Fix released:** 2026-10-27
- **Published:** 2026-10-28
- **URL:** https://wpsec.com/vuln/WPSEC-2026-1879/

## Description

The bbPress plugin for WordPress is vulnerable to Sensitive Information Exposure via old-slug, canonical and 404 permalink-guessing redirects in all versions up to, and including, 2.6.20, due to the restricted-post check on canonical redirects only considering the 'p' query variable, old-slug redirects not checking read access, and permalink guessing only being disabled for fully resolved bbPress routes. This makes it possible for unauthenticated attackers to use the 'page_id', 'attachment_id' or 'subpost_id' parameters, old slugs, or malformed bbPress route URLs to be redirected to the permalinks of topics and replies in private or hidden forums, revealing their slugs and titles.

## References

- https://wpsec.com/vuln/WPSEC-2026-1879/
- https://plugins.svn.wordpress.org/bbpress/tags/2.6.21/
- https://wordpress.org/plugins/bbpress/

Source: WPSec, https://wpsec.com/vuln/WPSEC-2026-1879/

License: CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Free to use, share and adapt, also commercially, if you credit WPSec and link to this advisory.
