/

CVE-2026-135298

Severity:

HIGH RISK

(7.1)

IDOR (CWE-639) in Convoy /portal-api Resource Handlers

CVE-2026-135298

Deferred

Vulnerability type

Category:

Broken Object-Level Authorization (IDOR)

CWE:

CWE-639

Impact:

Cross-tenant resource access and unauthorized modification

Severity:

HIGH RISK

(7.1)

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

Convoy contains an insecure direct object reference (IDOR) in single-resource handlers under /portal-api. A holder of a portal link token who also knows another tenant's resource ID in the same project may access or modify that tenant's resource.

Affected context

The issue affects Convoy versions before 26.6.0 when portal link tokens are used with /portal-api single-resource handlers. It becomes risky if handlers rely on a supplied resource ID without verifying that the requested resource belongs to the token holder's tenant.

Exploit preconditions

  • Attack surface: Single-resource endpoints under /portal-api
  • Required access: A valid portal link token and knowledge of another tenant's resource ID in the same project
  • Trigger point: A request to a handler for the identified resource
  • Why exploitation is possible: The handler may not enforce tenant ownership for the requested resource

Why this happens

The underlying issue is authorization based on a user-controlled resource identifier without adequately checking the caller's relationship to the referenced object. This is an IDOR pattern associated with CWE-639: Authorization Bypass Through User-Controlled Key. Possession of a valid token does not, by itself, establish permission to access every resource identified by an ID.

Potential impact

  • A token holder may read endpoint signing secrets or webhook payloads belonging to another tenant.
  • An attacker could rotate endpoint secrets or pause or delete endpoints.
  • An attacker may force event re-delivery, potentially disrupting operations or exposing data.

General mitigation guidance

Defensive patterns focus on authorizing every object-level operation in the context of the authenticated tenant.

  • Scope resource lookups to the caller's tenant and project rather than trusting an identifier alone.
  • Apply consistent authorization checks to reads, updates, secret rotation, deletion, and event actions.
  • Use deny-by-default behavior when ownership or access cannot be established.
  • Limit portal token scope and lifetime, and grant only the minimum permissions needed.
  • Treat identifiers as references, not as proof of authorization; avoid relying on unguessable IDs as the access-control boundary.

How teams detect issues like this

  • Review single-resource handlers for lookups keyed only by a supplied ID and missing tenant or ownership checks.
  • Use static analysis or code review rules to flag object access where authorization is not performed before returning or changing data.
  • Test authorization policies with resources owned by different tenants, including read and mutation actions.
  • Enforce API policies requiring object-level authorization checks for every resource operation.
  • Monitor for portal tokens accessing resources across tenant boundaries and for unexpected secret rotations, endpoint changes, or event re-deliveries.

Sources

SourceLink
github.comgithub.com/frain-dev/convoy/blob/v26.3.5/api/api.go#L718-L800
github.comgithub.com/frain-dev/convoy/blob/v26.3.5/api/handlers/subscription.go#L143
github.comgithub.com/frain-dev/convoy/commit/ee146ae08104895580215faf46961fe829481499
github.comgithub.com/frain-dev/convoy/pull/2681
github.comgithub.com/frain-dev/convoy/releases/tag/v26.6.0
vulncheck.comvulncheck.com/advisories/convoy-before-26.6.0-cross-tenant-idor-via-portal-api-by-id-handlers

Frequently asked

questions

A holder of a portal link token who knows another tenant's resource ID in the same project may be able to access that resource through an affected handler.

Yes. The described condition includes knowledge of another tenant's resource ID, as well as a portal link token.

Enforce object-level authorization on every request, ensuring the resource belongs to the caller's authorized tenant and project before allowing access or changes.

Apply deny-by-default authorization consistently across resource operations, test cross-tenant access boundaries, and review handlers for reliance on user-controlled IDs without ownership checks.

Find out what's already
exploitable in your codebase.