Incorrect AuthorizationWeakness · CWE-863

CVE-2026-22659

HIGH · 8.1 CVSS v3.1 Published 2026-07-10
Patch available
A vendor patch is available. No clean upgrade release — apply the published patch.
See remediation →
87/100
Remediation priority · High
Remotely reachable Zero-click Patch available 6 weeks old

Official description Straight from the sourceThe vendor's or NVD's own wording, published unedited. Authoritative, but often terse — it says what broke, rarely what to do.

NVD · unedited
FlaskBB through 2.2.0, fixed in commit acc88cf, contains an authorization bypass vulnerability that allows authenticated moderators to perform unauthorized actions on topics in forums they do not control by submitting crafted topic ID lists. Attackers can include a low-ID topic from a permitted forum as an anchor in a batch request, causing the permission check applied only to the first result to pass, and then execute lock, unlock, delete, or hide actions against topics in unmoderated forums.

Technical summary Written by usOur analysis, written from the advisory, the CVSS vector and the affected-version data. It adds context the advisory leaves out, and never invents facts that are not in the source.

dbcve analysis · high confidence

FlaskBB through 2.2.0 has an authorization bypass where batch moderator actions (lock, unlock, delete, hide) only validate permissions on the first topic ID in a request. Attackers exploit this by including a low-ID topic from a permitted forum as an anchor, bypassing permission checks for subsequent topics in unmoderated forums.

MitigationApply the fix from commit acc88cf which ensures permission checks are applied to ALL topics in batch operations, not just the first result.

Verify against the referenced sources before acting — the references below are authoritative for this CVE, this summary is not.

CVSS breakdown How the score is builtThe industry scoring standard. It rates how the flaw is reached, what it takes to exploit, and what an attacker gains — the score is derived from those, not the other way round.

From the vector
Attack vector
Network
Complexity
Low
Privileges
Low
User interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Am I affected? How to checkSteps we derive from the advisory and the affected-version data, so you can decide whether this CVE reaches your setup. They are a guide, not a scan — your own configuration is the authority.

dbcve checks

Work through these to decide whether this CVE applies to you.

  1. Identify FlaskBB installation and version
    Locate the FlaskBB installation and check the version file or package metadata. Common locations include the application root directory containing a version file or setup.py/pyproject.toml with version information. Compare the installed version to the affected range (through 2.2.0).
    Affected if The installed version is 2.2.0 or earlier (any version up to and including 2.2.0).
  2. Verify batch moderation feature exists
    Inspect the FlaskBB source code for batch moderation functionality. Look for endpoints handling multiple topic IDs in a single request, typically in moderation-related routes or views that accept topic ID lists for bulk operations.
    Affected if The batch moderation endpoints accepting topic ID lists are present in the codebase.
  3. Locate the vulnerable permission check logic
    Examine the batch moderation view functions in the code. Search for the permission validation logic that processes submitted topic ID lists. Look for code that only retrieves or validates the first item from the submitted list.
    Affected if The code shows permission validation occurs only on the first topic ID from the submitted list, with subsequent IDs processed without individual authorization checks.
  4. Review moderator role configuration
    Check if any user accounts are assigned moderator privileges. Look at the user roles and permissions configuration in the FlaskBB database or configuration files to identify authenticated users with moderator-level access.
    Affected if Moderator accounts exist that could leverage the batch moderation feature to exploit the authorization bypass.

You are affected if running FlaskBB version 2.2.0 or earlier with the batch moderation feature accessible to moderators, as the code only validates authorization on the first topic ID in a batch request.

Generated from the published advisory. Verify against your own configuration.

Check your environment

Paste your version and any relevant configuration and it will be compared against the affected criteria above. Do not include secrets or credentials.

AI-assisted, checked against the advisory. Informational, not a guarantee.

Remediation Closing itWhat it takes to close this. Where a vendor fix exists we point at it; where none exists we say so plainly, and can build one. Effort estimates are scoped from the advisory, not from your codebase.

dbcve · scoped
Patch available Apply the vendor patch
Vendor patch github.com →
Interim mitigation

Apply the fix from commit acc88cf which ensures permission checks are applied to ALL topics in batch operations, not just the first result.

Recommended fix Moderate confidence

FlaskBB 2.2.1 or later (or the commit acc88cf)

  1. Check the current FlaskBB version by examining the installation or version file
  2. Upgrade FlaskBB to the latest stable release that includes the fix (version 2.2.1 or later)
  3. If a newer release is not available, manually apply the fix by cherry-picking or applying commit acc88cfedd011124395e0101cb27432a47f712be from https://github.com/flaskbb/flaskbb/commit/acc88cfedd011124395e0101cb27432a47f712be
  4. After applying the patch, verify the fix by testing moderator actions on cross-forum topic IDs to ensure authorization is properly enforced
  5. Restart the FlaskBB application to ensure all changes take effect
Caveat Minor point release - minimal risk of breaking changes expected

Generated from the published advisory — verify against the referenced sources before acting.

Have this fixed Scoped from the published advisory
  • Consultation3.0 h
  • Implementation4.0 h
  • Testing3.0 h
  • Review / QA2.0 h
12.0 hours of engineering $2,130
Get the patch applied

An estimate, not a bill — we confirm scope with you before any work starts. Need it this week? Rush from $3,408.

Scan for this in your stack

Free · runs locally
dbcve dependency scanner

Check whether your project pulls in CVE-2026-22659 — or any other known-vulnerable package — straight from your lock files. Free and open source; it runs locally and uploads nothing.

References Go to the primary sourcePrimary sources — vendor advisories, patches and trackers. Where our summary and a reference disagree, the reference wins.

Primary sources

Practitioner notes

Contributed

Peer-ranked notes from engineers who’ve handled CVE-2026-22659 in production — separate from our analysis above.

No notes yet

Be the first to add a field note for this CVE — a mitigation you’ve verified, a version caveat, or a link to a working fix. Sign in above to contribute.

What this is

A place for practitioners to share what actually worked: a mitigation you’ve tested, a configuration change, a version- or environment-specific caveat, or a link to a verified patch. The most useful notes rise to the top as peers upvote them, so the signal stays high.

What belongs here
  • Verified mitigations, workarounds, and config changes
  • Version or environment caveats, and links to real fixes
  • No weaponised exploit code, or anything meant to cause harm
  • No spam, self-promotion, credentials, or personal data