GHSA-8cfq-jgf7-8m27

Suggest an improvement
Source
https://github.com/advisories/GHSA-8cfq-jgf7-8m27
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-8cfq-jgf7-8m27/GHSA-8cfq-jgf7-8m27.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-8cfq-jgf7-8m27
Aliases
Published
2026-11-09T20:55:17Z
Modified
2026-11-09T21:00:04Z
Severity
  • 7.3 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:N CVSS Calculator
Summary
traQ: Privilege escalation by OAuth prompt=none request
Details

In OAuth2 silent authorization (prompt=none), when the scope parameter was empty or omitted, all scopes registered for the OAuth client became eligible for issuance. However, the prior consent check was performed against the empty requested scope set. As a result, an attacker could obtain an access token with broader scopes than the user had previously consented to, without requiring additional consent.

Impact

If an attacker controls an OAuth client capable of receiving authorization codes, and a user has already consented to only a subset of that client’s scopes, the attacker may be able to obtain a token containing all scopes registered for that client by sending an authorization request with prompt=none and an empty or omitted scope.

If the user has not consented to the client at all, consent_required is returned as usual.

Patches

This issue has been fixed in v3.28.3. After the fix, the consent check for prompt=none verifies the scopes that will actually be issued, rather than the empty requested scope set. If the user has not consented to all scopes after expansion, consent_required is returned.

traQ also recommends revoking any existing OAuth tokens created before the fix if they were potentially affected.

Workarounds

If users cannot update immediately, they should apply the following mitigations:

  • Disable untrusted OAuth clients, minimize registered client scopes, and revoke existing tokens
  • Reject authorization requests with prompt=none where scope is empty or omitted
Database specific
{
    "cwe_ids": [
        "CWE-863"
    ],
    "github_reviewed": true,
    "github_reviewed_at": "2026-11-09T20:55:17Z",
    "nvd_published_at": "2026-11-03T19:18:09Z",
    "severity": "HIGH"
}
References

Affected packages

Go / github.com/traPtitech/traQ

Package

Name
github.com/traPtitech/traQ
View open source insights on deps.dev
Purl
pkg:golang/github.com/traPtitech/traQ

Affected ranges

Type
SEMVER
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Fixed
1.0.0-rc.2.0.20260629134940-5510fe8aa9bb

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/11/GHSA-8cfq-jgf7-8m27/GHSA-8cfq-jgf7-8m27.json"