LiveActive security incident?Get immediate response
CVE Record

CVE-2021-32688: Application specific tokens can change their own scope

Nextcloud Server is a Nextcloud package that handles data storage. Nextcloud Server supports application specific tokens for authentication purposes. These tokens are supposed to be granted to a specific applications (e.g. DAV sync clients), and can also be configured by the user to not have any filesystem access. Due to a lacking permission check, the tokens were able to change their own permissions in versions prior to 19.0.13, 20.0.11, and 21.0.3. Thus fileystem limited tokens were able to grant themselves access to the filesystem. The issue is patched in versions 19.0.13, 20.0.11, and 21.0.3. There are no known workarounds aside from upgrading.

HighCVSS 8.8Not KEV-listedUpdated
Glexia's TakeAutomated analysishigh

Security readout for executives and security teams

Plain-English summary

A restricted Nextcloud app token could change its own permissions and regain filesystem access. That undermines a key containment control for sync clients and integrations. The issue is fixed in Nextcloud Server 19.0.13, 20.0.11, and 21.0.3; the advisory states there are no known workarounds other than upgrading.

Executive priority

Prioritize patching any business-critical or externally reachable Nextcloud instance. The vulnerability can turn a deliberately limited integration token into filesystem access, weakening data access boundaries. Because no workaround is named, upgrade planning should be treated as the primary risk reduction path.

Technical view

CVE-2021-32688 is a missing permission check in Nextcloud Server application-specific token handling. A token intended for a specific application, including one configured without filesystem access, could modify its own scope and grant itself filesystem access. CVSS 3.1 is 8.8: network exploitable, low complexity, low privileges, no user interaction, high confidentiality, integrity, and availability impact.

Likely exposure

Exposure is limited to Nextcloud Server versions before 19.0.13, 20.0.11, and 21.0.3, especially deployments using application-specific tokens for DAV sync clients or other integrations. Systems on fixed or newer supported releases are not indicated as affected by the provided sources.

Exploitation context

The CVSS vector requires low privileges, meaning an attacker needs a valid app-specific token or equivalent access. The bundle marks KEV as false, and no provided source states active exploitation in the wild. The public HackerOne report and GitHub PR show disclosure and remediation evidence, not confirmed operational exploitation.

Researcher notes

Focus validation on the token permission update path and affected version ranges. The key security failure is authorization enforcement: a token could alter its own permissions. Avoid assuming broader product impact beyond Nextcloud Server and the listed versions unless confirmed by vendor guidance.

Mitigation direction

  • Upgrade Nextcloud Server to 19.0.13, 20.0.11, 21.0.3, or a later supported release.
  • Use Fedora or Gentoo package advisories if Nextcloud was installed from those distributions.
  • Do not rely on compensating workarounds; the advisory states none are known aside from upgrading.
  • Review and remove unnecessary application-specific tokens after patching to reduce residual access risk.

Validation and detection

  • Inventory all Nextcloud Server versions and compare them with the affected version ranges.
  • Confirm production and backup instances run a fixed or later supported Nextcloud release.
  • Identify use of application-specific tokens, especially tokens configured without filesystem access.
  • Review available audit or admin records for unexpected token permission changes, if logging exists.
  • Verify package versions against the relevant Fedora or Gentoo advisory when distribution packages are used.
Prepared
Confidence
high
Sources
8

Generated from the cited source records. This long-tail analysis has not been individually reviewed by a named human.

Potential ATT&CK relevance

Conservative CVE-to-ATT&CK context

These mappings and lookup hints may be relevant to the vulnerability behavior, CWE, affected product, or exposure path. Glexia-inferred context is not an official MITRE, ATT&CK, CWE, or CVE Program mapping.

ATT&CK lookup starting points

Use these exact CWE pages and searches to review the Glexia ATT&CK library from this CVE's weakness and description context.

cwe · low confidence lookup

CWE-285: Exact CWE lookup

Use the exact CWE identifier as the starting point before reviewing related ATT&CK behavior. Open the exact CWE lookup page first, then review the ATT&CK searches from that MITRE weakness context. This is a Glexia lookup hint, not an official ATT&CK mapping.

Open ATT&CK lookup
cve · low confidence lookup

CVE-2021-32688 mapping review

Open the CVE-to-ATT&CK bridge for reviewed, inferred, or future official mappings tied to this CVE.

Open ATT&CK lookup
Vulnerability profileCVE Program record
Severity
High
CVSS
8.8 (3.1)
Known Exploited
No
Published

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

Official CVE source material

CNA and ADP enrichment extracted from CVE v5

These fields come from the CVE record and ADP containers, not from Glexia's Take. They preserve time-varying source decisions such as CISA SSVC, KEV status, CVSS metrics, and provider references.

1CVSS vectors
0Timeline events
0ADP providers
7Source links

CVSS vector scores

1 official score

We collect every scored CVSS vector available in the official CNA and ADP containers. When more than one version is present, the table keeps the source vectors side by side instead of collapsing them into the highest score.

ScoreVersionSeverityVectorExploitImpactSource
8.8CVSS 3.1HighCVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H2.85.9Primary CVE score

Vulnerability scoring details

Base CVSS 3.1 score

8.8High
CVSS 3.1 vector shape for CVE-2021-32688Attack VectorAttack ComplexityPrivileges RequiredUser InteractionScopeConfidentiality ImpactIntegrity ImpactAvailability Impact

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

Attack Vector
NetworkAdjacentLocalPhysical
Attack Complexity
LowHigh
Privileges Required
NoneLowHigh
User Interaction
NoneRequired
Scope
ChangedUnchanged
Confidentiality Impact
HighLowNone
Integrity Impact
HighLowNone
Availability Impact
HighLowNone

Source materials

Affected products

Products and packages named in the record

VendorProductVersion / packageStatus
nextcloudsecurity-advisories< 19.0.13, >= 20.0.0, < 20.0.11, >= 21.0.0, < 21.0.3Listed
Weakness

CWE details

CWE links open Glexia weakness intelligence pages with official CWE context, developer remediation guidance, and related CVE mappings.

CWE-285 · source CWE mapping

Improper Authorization

Improper Authorization represents a recurring weakness pattern that can create exploitable paths when design, validation, or implementation controls are missing.