/

CVE-2026-63198

Severity:

HIGH RISK

(7.3)

Authorization Scope Bypass (CWE-863) in traQ OAuth2

CVE-2026-63198

Deferred

Vulnerability type

Category:

Authorization Bypass

CWE:

CWE-863

Impact:

Unauthorized access to resources covered by additional OAuth2 scopes

Severity:

HIGH RISK

(7.3)

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

traQ could issue broader OAuth2 access tokens during silent authorization when a request used prompt=none and omitted the scope parameter or supplied it empty. If a user had previously consented to only some scopes for the client, the authorization check could overlook the additional scopes, allowing the client to obtain them without new consent.

Affected context

The issue affects traQ OAuth2 silent authorization requests using prompt=none when the scope parameter is empty or omitted. It becomes risky when the user has previously consented to some—but not all—scopes registered for a client, and that client can receive authorization codes. Users who have never consented to the client still receive a consent-required response.

Exploit preconditions

  • Attack surface: The OAuth2 authorization flow in traQ
  • Required access: Control of an OAuth client capable of receiving authorization codes, and a target user with prior consent to some scopes for that client
  • Trigger point: A silent authorization request with prompt=none and an empty or omitted scope parameter
  • Why exploitation is possible: The consent check evaluates the empty requested scope set, while the authorization flow can make all scopes registered for the client eligible for issuance

Why this happens

The authorization decision does not consistently compare the scopes previously consented to with the scopes that may actually be issued. Treating an empty requested scope set as sufficient for consent, while allowing broader client scopes to be issued, is an authorization-check failure mapped to CWE-863: Incorrect Authorization.

Potential impact

  • A client may obtain an access token containing scopes beyond those previously consented to.
  • The token could allow access to additional user or application resources covered by those scopes.
  • Affected users may have their consent expectations bypassed without an interactive prompt.

General mitigation guidance

Defensive designs should ensure that the scopes checked for consent are the same scopes that can be included in the resulting token.

  • Treat omitted or empty scopes conservatively; do not implicitly expand them to all client-registered scopes.
  • Require fresh user consent whenever requested or effective scopes exceed the previously approved set.
  • Apply strict scope allowlists and issue tokens with only the minimum permissions needed.
  • Keep authorization-code handling and client registration subject to appropriate access controls.

How teams detect issues like this

  • Review authorization code paths for differences between requested, consented, and token-issued scopes.
  • Use static analysis or code review checks to flag authorization decisions based on empty or defaulted scope sets.
  • Test silent authorization behavior for omitted, empty, previously consented, and expanded scope combinations.
  • Enforce policies that prevent token scopes from exceeding the user's recorded consent.

Sources

SourceLink
github.comgithub.com/traPtitech/traQ/commit/5510fe8aa9bb15fc4755c78792381dbb03d576c3
github.comgithub.com/traPtitech/traQ/releases/tag/v3.28.3
github.comgithub.com/traPtitech/traQ/security/advisories/GHSA-8cfq-jgf7-8m27

Frequently asked

questions

An attacker needs control of an OAuth client capable of receiving authorization codes and a target user who previously consented to some scopes for that client.

The flaw could allow broader registered scopes to be issued during a silent request without additional consent, when the user had already consented to some scopes. A user with no prior consent still receives a consent-required response.

Compare the exact scopes eligible for issuance against the user's recorded consent, and require fresh consent for any additional scopes.

Treat empty or omitted scopes conservatively, constrain tokens to the minimum authorized permissions, and test that consent checks match the scopes actually placed in tokens.

Find out what's already
exploitable in your codebase.