CVE Professor
/
All CVEs
CVE-2026-135298

CVE-2026-135298 — Frain-dev Convoy (26.6.0) — CWE-639

HIGH CVSS 7.6 CVE.org

Convoy before 26.6.0 contains an insecure direct object reference vulnerability in /portal-api single-resource handlers that allows portal link token holders to access other tenants' resources by ID. Attackers with another tenant's resource IDs in the same project can read endpoint signing secrets and webhook payloads, rotate secrets, pause or delete endpoints, and force event re-delivery.

Convoy before 26.6.0 contains an insecure direct object reference vulnerability in /portal-api single-resource handlers that allows portal link token holders to access other tenants' resources by ID. Attackers with another tenant's resource IDs in the same project can read endpoint signing secrets and webhook payloads, rotate secrets, pause or delete endpoints, and force event re-delivery.

CVSS v4.0 Vector Metrics
CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:N/VC:H/VI:H/VA:L/SC:N/SI:N/SA:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Attack Reqs. Present AT:P
Privileges Req. Low PR:L
User Interaction None UI:N
Vuln. Conf. High VC:H
Vuln. Integrity High VI:H
Vuln. Avail. Low VA:L
Subseq. Conf. None SC:N
Subseq. Integ. None SI:N
Subseq. Avail. None SA:N
AI Security Analysis & Remediation

🎯 What is this vulnerability?

This vulnerability is a classic Insecure Direct Object Reference (IDOR), classified under CWE-639. It affects the frain-dev/convoy project, specifically versions prior to 26.6.0.

Technical Flaw Analysis:
The core issue lies in the authorization logic of the /portal-api single-resource handlers. In a multi-tenant SaaS architecture like Convoy (which manages webhooks and event delivery), resources (such as endpoints, projects, and events) are logically separated by tenant boundaries.

The vulnerability occurs because the API handlers fail to verify that the tenant ID associated with the authenticated user (via the portal link token) matches the tenant ID of the resource being requested by its unique Identifier (ID).

1. Authentication vs. Authorization: The system correctly authenticates the user via a "portal link token." However, it fails to enforce object-level authorization.
2. Missing Check: When a request is made to a single-resource endpoint (e.g., GET /portal-api/endpoints/{id}), the backend retrieves the resource by {id} but does not cross-reference the tenant_id of that resource against the tenant_id embedded in or derived from the user's token.
3. Result: Any valid portal link token holder can access resources belonging to other tenants within the same project scope, provided they can guess or enumerate the resource IDs.

⚡ Attack Chain

1. Discovery & Reconnaissance

  • Fingerprinting: The attacker identifies that the target is running frain-dev/convoy. This can be done by checking the Server header, specific error messages, or known API paths like /portal-api.
  • Token Acquisition: The attacker needs a valid "portal link token." This is typically obtained by:
  • * Intercepting a legitimate user's portal link (e.g., via a compromised email, phishing, or a previous lower-severity bug). * If the portal link is shared or predictable, the attacker may already possess a valid token for Tenant A.
  • ID Enumeration: The attacker needs the IDs of resources belonging to Tenant B. Since Convoy likely uses UUIDs or sequential integers:
  • * If UUIDs: The attacker may need to leak IDs via other endpoints (e.g., list endpoints that might be less strictly filtered, or via error messages). * If Sequential Integers: The attacker can brute-force IDs (e.g., 1, 2, 3...) to find resources belonging to other tenants.

    2. Exploitation

    The attacker uses their valid token for Tenant A to access resources belonging to Tenant B.

    Illustrative PoC (Note: Exact route parameters may vary; this is an illustrative example of the IDOR class):

    # Attacker has a valid portal link token for Tenant A: "TOKEN_A"
    # Attacker knows or guesses the ID of an endpoint belonging to Tenant B: "ENDPOINT_ID_B"
    
    # 1. Read Endpoint Details (including signing secrets)
    curl -X GET "https://target-convoy.example.com/portal-api/endpoints/ENDPOINT_ID_B" \
      -H "Authorization: Bearer TOKEN_A" \
      -H "Content-Type: application/json"
    
    # 2. Rotate Secrets (Integrity Impact)
    curl -X POST "https://target-convoy.example.com/portal-api/endpoints/ENDPOINT_ID_B/rotate-secret" \
      -H "Authorization: Bearer TOKEN_A" \
      -H "Content-Type: application/json"
    
    # 3. Pause Endpoint (Availability Impact)
    curl -X PATCH "https://target-convoy.example.com/portal-api/endpoints/ENDPOINT_ID_B" \
      -H "Authorization: Bearer TOKEN_A" \
      -H "Content-Type: application/json" \
      -d '{"status": "paused"}'
    
    # 4. Force Event Re-delivery (Integrity/Availability Impact)
    curl -X POST "https://target-convoy.example.com/portal-api/events/EVENT_ID_B/redeliver" \
      -H "Authorization: Bearer TOKEN_A" \
      -H "Content-Type: application/json"

    Note: The exact API paths (/endpoints/{id}, /rotate-secret, etc.) are illustrative. The CVE description confirms the existence of "single-resource handlers" in /portal-api that are vulnerable. The attacker must identify the specific resource types (endpoints, events) and their IDs.

    3. Post-Exploitation

  • Data Exfiltration: The attacker extracts endpoint signing secrets. With these secrets, they can forge webhook signatures, allowing them to inject malicious events into the victim's system or bypass signature verification.
  • Webhook Payload Access: The attacker reads historical webhook payloads, which may contain sensitive data (PII, API keys, internal system states) sent by the victim's applications.
  • Service Disruption: By pausing or deleting endpoints, the attacker can disrupt the victim's event-driven workflows, leading to data loss or system failures.
  • Supply Chain Attack: By rotating secrets, the attacker can invalidate legitimate webhooks, causing the victim's systems to reject valid events, or they can replace secrets with their own, allowing them to intercept future traffic if they can also control the delivery mechanism (less likely, but possible if the attacker can also modify the endpoint URL).
  • 🌍 Real World Impact

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

  • Confidentiality (High):
  • * Signing Secrets: Exposure of webhook signing secrets is critical. Attackers can forge events, leading to unauthorized actions in downstream systems. * Webhook Payloads: Access to historical payloads reveals sensitive business data, customer information, or internal system states.
  • Integrity (High):
  • * Secret Rotation: Attackers can rotate secrets, breaking legitimate integrations or allowing them to take over the signing process. * Event Manipulation: Forcing re-delivery can cause duplicate processing, leading to financial errors (e.g., double-charging) or state corruption. * Endpoint Modification: Changing endpoint URLs or configurations can redirect traffic to attacker-controlled servers.
  • Availability (Low):
  • * Endpoint Deletion/Pause: Deleting or pausing endpoints stops event delivery, disrupting business processes. However, this is often recoverable by re-creating endpoints, hence "Low" impact.
  • Practical Consequences:
  • * Trust Erosion: If signing secrets are compromised, the entire webhook infrastructure is untrusted. * Data Breach: Sensitive data in webhook payloads is exposed. * Operational Disruption: Event-driven systems (e.g., payment processing, order management) may fail or behave erratically.

    🛡️ Remediation & Mitigation

    1. Upgrade

  • Affected Versions: frain-dev/convoy < 26.6.0
  • Fixed Version: 26.6.0
  • Action: Immediately upgrade to version 26.6.0 or later.
  • 2. Workarounds (If Immediate Upgrade is Not Possible)

  • Network Segmentation: Restrict access to the /portal-api endpoints to trusted IP ranges only. This reduces the attack surface but does not eliminate the IDOR risk if an attacker has a valid token from within the trusted range.
  • Token Scoping: If the application allows, ensure that portal link tokens are strictly scoped to specific resources or tenants at the time of generation. However, this is a code-level fix and not a configuration workaround.
  • WAF Rules (Limited Effectiveness):
  • * IDOR is difficult to detect with WAFs because the requests appear syntactically correct and authenticated. * Heuristic Detection: Monitor for rapid sequential access to different resource IDs by the same token. * ModSecurity Example (Illustrative):
    # Detect rapid access to multiple endpoint IDs by the same user
            SecRule REQUEST_URI "@pm /portal-api/endpoints/" \
                "id:100001, phase:1, t:none, setvar:tx.idor_count=+1, ctl:auditLogParts=abchZ"
            SecRule TX:idor_count "@gt 10" \
                "id:100002, phase:1, t:none, msg:'Potential IDOR: Rapid access to multiple endpoints', log, setvar:tx.block=true"
            SecRule TX:block "@eq 1" \
                "id:100003, phase:1, t:none, deny, status:403, msg:'Blocked potential IDOR attempt'"

    Note: This rule is a heuristic and may produce false positives. It is not a substitute for patching.*

    3. Detection & IoCs

  • Web Server Logs:
  • * Look for 403 or 404 responses from /portal-api endpoints, indicating failed IDOR attempts. * Look for 200 responses to /portal-api endpoints where the Authorization header token belongs to a different tenant than the resource ID (requires application-level logging). * Example Log Pattern:
    GET /portal-api/endpoints/550e8400-e29b-41d4-a716-446655440000 HTTP/1.1 200
            Authorization: Bearer TOKEN_TENANT_A

    If 550e8400-... belongs to Tenant B, this is an IoC.

  • Application Logs:

  • * Monitor for secret rotation events, endpoint status changes (pause/delete), and event re-delivery requests.
    * Alert on any of these actions performed by a user whose token does not match the resource owner.
  • Database Queries:

  • * Monitor for queries that fetch resources by ID without a corresponding WHERE tenant_id = ? clause.

    ⚠️ Urgency

  • CVSS Score: 7.6 (HIGH)
  • CISA KEV: No
  • Exploit Complexity: High (requires valid token and knowledge/guessing of resource IDs)
  • Patching Priority: HIGH
Rationale: While the exploit complexity is high (requiring a valid token and ID enumeration), the impact is severe (exposure of signing secrets and sensitive data). In a multi-tenant SaaS environment, a single compromised token can lead to cross-tenant data breaches. Given the high confidentiality and integrity impact, this should be treated as a high-priority patch. Organizations should prioritize upgrading to 26.6.0 within their standard high-severity patching window (e.g., 7-14 days). If the application is internet-facing and handles sensitive data, immediate patching is recommended.

[🤖 CVE Professor AI Security Engine]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="frain-dev convoy"
PoC & Exploit Intelligence (GitHub)
Technical reference / advisory repository for CVE-2026-135298
Technical reference / advisory repository for CVE-2026-135298
Technical reference / advisory repository for CVE-2026-135298
Technical reference / advisory repository for CVE-2026-135298
Technical reference / advisory repository for CVE-2026-135298
CVSS Score
7.6 / 10 · CVSS HIGH
Weakness Types (CWE)
CWE-639
Affected Products (1)
frain-dev:convoy (26.6.0)
Related CVEs
8.8
CVE-2026-139866
Authorization bypass through User-Controlled key vulnerability in TÜBİTAK BİLGEM Yazılım Teknolojileri Ar
8.8
CVE-2026-144410
Emby Server is a personal media server. Prior to 4.10.2.0 and beta 4.11.0.9, an authenticated user can supply
8.7
CVE-2026-136368
Joomla Extension - joomboost.com - Unauthenticated IDOR in public invoice and quote view in JoomInvoice extens
8.6
CVE-2026-144467
Dolibarr ERP CRM 6.0.0 before 24.0.0 contains an insecure direct object reference vulnerability in htdocs/user
8.6
CVE-2026-144944
Dolibarr ERP CRM versions 22.0.0 through 24.0.3 contain a broken object-level authorization vulnerability in t
7.2
CVE-2026-120110
Authorization bypass through a user-controlled key in Site Variable saving (the HostVariableAjax DWR endpoint
7.1
CVE-2026-115984
Missing or incorrect authorization checks in several legacy Struts actions in dotCMS allow an authenticated ba