/

CVE-2026-65709

Severity:

HIGH RISK

(8.3)

Broken Object-Level Authorization (CWE-639) in sysPass API

CVE-2026-65709

Deferred

Vulnerability type

Category:

Broken Access Control / Object-Level Authorization

CWE:

CWE-639

Impact:

Unauthorized Account Access and Modification

Severity:

HIGH RISK

(8.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

sysPass exposes a broken object-level authorization flaw in its JSON-RPC API, allowing token holders to operate on accounts without proper per-object access checks.

Under these conditions, an attacker with any valid API token can enumerate account metadata, overwrite stored passwords, and delete accounts across the vault, bypassing intended token scope.

Affected context

The vulnerability manifests in sysPass deployments that expose the JSON-RPC API to users or integrated services.

It is most relevant where API tokens are used to constrain access to specific accounts or subsets of vault data.

Because AccountController methods are callable without enforcing AccountFilterUser checks, the system may treat all accounts as accessible to any token holder, even when administrators expect fine-grained, per-account permissions.

Exploit preconditions

  • Attack surface: JSON-RPC API endpoints provided by sysPass, specifically AccountController methods.
  • Required access: Possession of any valid API token, including tokens with limited intended scope.
  • Trigger point: Invoking methods such as viewAction, editAction, deleteAction, or editPassAction with account identifiers.
  • Why exploitation is possible: Object-level authorization (AccountFilterUser) is not enforced for these methods, so the backend does not verify whether the token is allowed to access or modify the targeted account.

Why this happens

The core issue is a missing or incomplete object-level authorization layer for account resources in the JSON-RPC API.

While tokens exist to represent user or integration permissions, the relevant AccountController methods do not consistently invoke checks such as AccountFilterUser before performing operations on specific accounts.

This aligns with CWE-639: Authorization Bypass Through User-Controlled Key, where user-supplied identifiers (e.g., account IDs) can be used to access or modify objects without proper verification that the caller is authorized for that particular resource.

Potential impact

  • Attackers with a valid API token may enumerate account metadata across the entire vault.
  • They can overwrite stored passwords for accounts they do not legitimately control.
  • They may delete accounts, causing loss of credential records and operational disruption.
  • They could indirectly escalate access by changing passwords to values under their control, enabling use of those credentials elsewhere.
  • They can undermine trust in the vault's integrity and auditability.

General mitigation guidance

Effective mitigation focuses on enforcing object-level authorization consistently for all account operations exposed via the API.

Common defensive patterns include:

  • Applying resource-level access checks (such as account ownership or membership validation) before performing view, edit, delete, or password update actions.
  • Using a central authorization layer or policy engine that ties each API call to specific object permissions rather than relying solely on token presence.
  • Designing tokens and roles to express fine-grained access scopes, and ensuring every controller method consults those scopes before acting on a targeted account.
  • Minimizing broad "global" tokens and preferring least-privilege credentials for integrations and users.
  • Treating any client-supplied object identifiers (e.g., account IDs) as untrusted and resolving them through access-aware queries.

How teams detect issues like this

Organizations can discover and monitor broken object-level authorization issues through a mix of:

  • Targeted code review that examines controller methods and confirms that every operation on a specific resource passes through a consistent authorization check.
  • Static analysis rules or custom linters that flag direct use of user-controlled identifiers (like account IDs) in data access operations without a preceding authorization step.
  • Security-focused test suites and API fuzzing that attempt cross-account operations using tokens with restricted intended scopes to validate enforcement.
  • Policy enforcement in development workflows that requires new endpoints to specify and document their resource-level authorization model.
  • Periodic access control audits that compare intended permission models with real-world behavior observed in logs and test environments.

Sources

SourceLink
github.comgithub.com/Caycon/cve-advisories/blob/main/2026/sysPass/CVE-2026-65709.md
vulncheck.comvulncheck.com/advisories/syspass-missing-object-level-authorization-via-json-rpc-api

Frequently asked

questions

Any actor with a valid API token may be able to act on accounts beyond their intended scope, potentially across the entire vault, depending on how tokens are issued and exposed.

Not necessarily. Possession of any API token, even one meant for limited access or integration use, can be sufficient if token-based object-level restrictions are not enforced.

Implement consistent object-level authorization so that every operation on a specific account verifies the caller's rights to that resource, using a central authorization mechanism applied to all relevant controller methods.

Adopt a design where resource-level access checks are mandatory and standardized, treat identifiers from clients as untrusted, and enforce access control policies through code review, automated checks, and comprehensive authorization testing of all API endpoints.

Find out what's already
exploitable in your codebase.