/

CVE-2026-62856

Severity:

HIGH RISK

(7.7)

Authorization Bypass (CWE-639) in FreeScout Polycast Receive

CVE-2026-62856

Deferred

Vulnerability type

Category:

Authorization Bypass and Information Disclosure

CWE:

CWE-89, CWE-200, CWE-639

Impact:

Cross-user and cross-mailbox disclosure of notification data

Severity:

HIGH RISK

(7.7)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

FreeScout's polycast/receive endpoint can return notification events for other users when a guest session submits a channel name containing SQL LIKE wildcards. An attacker needs a guest session and a valid CSRF token; matching notification payloads may reveal conversation content and related metadata across users or mailboxes.

Affected context

The issue affects FreeScout's polycast/receive endpoint when supplied channel names are used to find notification events. Channel authorization is applied only to names with specific prefixes, and wildcard characters in other names are not escaped. Notification payload generation also lacks a corresponding access check, so matching events may be returned without verifying that the requester can view their contents.

Exploit preconditions

  • Attack surface: The polycast/receive endpoint
  • Required access: A guest session and a valid CSRF token; the attacker does not need a normal authenticated user account
  • Trigger point: Submission of a channel name that includes SQL LIKE wildcard characters
  • Why exploitation is possible: Wildcards can broaden event matching beyond the authorized channel checks, and payload generation does not independently verify access to each notification

Why this happens

The endpoint uses a user-controlled channel name in a SQL LIKE match without escaping wildcard characters, allowing the supplied value to match more channels than intended. Authorization checks that apply only to names with particular prefixes do not adequately constrain those matches, and notification payloads are generated without a corresponding object-level access check. This primarily maps to CWE-639: Authorization Bypass Through User-Controlled Key and CWE-200: Exposure of Sensitive Information; the unsafe handling of SQL pattern input is also associated with CWE-89.

Potential impact

  • Attackers may access notification events intended for other users.
  • Conversation message content and identifiers could be disclosed across users or mailboxes.
  • Notification URLs and rendered notification HTML may be exposed.
  • Disclosure could reveal information useful for further targeted attacks.

General mitigation guidance

Defensive patterns focus on limiting matches to the requester's authorized scope and checking access before returning sensitive data.

  • Treat channel names as data, escaping LIKE metacharacters or using exact-match queries where pattern matching is not required.
  • Apply consistent authorization checks to every matched event and generated notification payload.
  • Use secure-by-default query and access-control abstractions that bind records to the current user's permissions.
  • Minimize sensitive content in notification payloads and apply least privilege to guest sessions.
  • Validate request inputs and enforce CSRF protections as complementary controls, not substitutes for authorization.

How teams detect issues like this

  • Use static analysis to identify user-controlled values in SQL LIKE expressions and verify wildcard escaping or exact-match semantics.
  • Review endpoint code for authorization checks that depend on input prefixes or are absent from payload-generation paths.
  • Add tests and code-review checks ensuring users cannot retrieve events belonging to other users or mailboxes, including through wildcard-like input.
  • Enforce policies requiring object-level authorization before sensitive records or notification content are returned.
  • Automated code review tools may help flag risky query construction and missing access checks.

Sources

SourceLink
github.comgithub.com/freescout-help-desk/freescout/commit/1f4deee6369d89a70d291248499883b5bfdb99ff
github.comgithub.com/freescout-help-desk/freescout/commit/656cb2349cd3bb11f04f01c1587900dfb423a855
github.comgithub.com/freescout-help-desk/freescout/releases/tag/1.8.226
github.comgithub.com/freescout-help-desk/freescout/security/advisories/GHSA-gh3r-jh6q-wrvj

Frequently asked

questions

An attacker needs a guest session and a valid CSRF token. The issue does not require a normal authenticated account, but access to the endpoint and its session protections is still relevant.

Matching notification events may contain conversation message content, identifiers, URLs, and notification HTML, including data associated with other users or mailboxes.

Restrict event queries to the requester's authorized scope, handle LIKE metacharacters safely, and perform an access check for each notification before generating its payload.

Use exact-match queries where possible, centralize object-level authorization, and test that untrusted input cannot broaden data access beyond the caller's permissions.

Find out what's already
exploitable in your codebase.