CVEReports
CVEReports

Automated vulnerability intelligence platform. Comprehensive reports for high-severity CVEs generated by AI.

Product

  • Home
  • Sitemap
  • RSS Feed

Company

  • About
  • Contact
  • Privacy Policy
  • Terms of Service

© 2026 CVEReports. All rights reserved.

Made with love by Amit Schendel & Alon Barad



CVE-2026-81505

CVE-2026-81505: Broken Object Level Authorization (BOLA) in Convoy Webhook Source Retrieval

Amit Schendel
Amit Schendel
Senior Security Researcher

Sep 19, 2026·5 min read·26 visits

Executive Summary (TL;DR)

Convoy versions prior to 26.6.8 allow low-privilege authenticated users or project-scoped API keys to bypass tenant isolation boundaries and extract unredacted message broker credentials of other projects by querying specific Source IDs.

CVE-2026-81505 is a high-severity Broken Object Level Authorization (BOLA) / Insecure Direct Object Reference (IDOR) vulnerability in Convoy, a cloud-native webhooks gateway. In affected versions prior to 26.6.8, the single-item Source retrieval API endpoint authorizes project access but fails to confirm if the requested Source belongs to that specific project. This logical flaw allows authenticated users or project-scoped API key holders to bypass tenant isolation boundaries and retrieve unredacted, plaintext message broker credentials for Apache Kafka, Amazon SQS, RabbitMQ, and Google Cloud Pub/Sub belonging to other tenants. This issue is fully patched in version 26.6.8.

Vulnerability Overview

Convoy serves as a high-performance, cloud-native webhooks gateway designed to manage, dispatch, and monitor webhook events. In multi-tenant deployments, isolation between logical projects is maintained through unique identifiers, where users or API keys are scoped strictly to specific projects. The primary attack surface resides in the control-plane REST APIs exposed for resource configuration and inspection.\n\nThe vulnerability designated as CVE-2026-81505 represents a classic Broken Object Level Authorization (BOLA) or Insecure Direct Object Reference (IDOR) flaw within the /api/v1/projects/{projectID}/sources/{sourceID} endpoint. While the API gateway validates the requester's authority over the {projectID} specified in the URL path, the application fails to enforce that the requested {sourceID} belongs to that authorized project.\n\nAn authenticated attacker with access to at least one valid project can leverage this logic gap to query and retrieve any webhook Source across the entire system. Because webhook Sources hold highly sensitive connection details, exploiting this vulnerability leads directly to the exposure of unredacted credentials for backend message brokers. This vulnerability is restricted to the single-item retrieval endpoint; the bulk list endpoint remains properly scoped.

Root Cause Analysis

The root cause of CVE-2026-81505 is located in the logical separation between the API routing layer's authorization check and the database retrieval layer. When a request is made to the endpoint GET /api/v1/projects/{projectID}/sources/{sourceID}, the system routes the request through an authentication and authorization middleware that validates the caller's rights to {projectID}.\n\nOnce authorization is confirmed, the router handler (Handler.GetSource) calls the backend service layer via sources.Service.FindSourceByID(ctx, projectID, sourceID). The primary design failure is that the underlying database query against the convoy.sources table is executed using only the primary key id (corresponding to {sourceID}). The query completely ignores the project_id context passed from the API route.\n\nBecause the database retrieval was not constrained by the project ID, and the application service layer did not implement a post-query validation check to compare the retrieved record's project_id with the client's authorized {projectID}, the service blindly returned the record. This lack of validation violates tenant isolation boundaries.

Code Analysis

The vulnerability was resolved in commit 1cc67cd16fb1f8890cc83a3998d3f92dceb7fd06 by introducing an explicit tenant validation check in the FindSourceByID function located within internal/sources/impl.go.\n\ngo\n// FindSourceByID retrieves a source by its ID, scoped to the given project.\nfunc (s *Service) FindSourceByID(ctx context.Context, projectID, id string) (*datastore.Source, error) {\n\trow, err := s.repo.FetchSourceByID(ctx, common.StringToPgText(id))\n\tif err != nil {\n\t\tif errors.Is(err, pgx.ErrNoRows) {\n\t\t\treturn nil, datastore.ErrSourceNotFound\n\t\t}\n\t\treturn nil, &ServiceError{ErrMsg: "error retrieving source", Err: err}\n\t}\n\n-\treturn rowToSource(row)\n+ source, err := rowToSource(row)\n+ if err != nil {\n+ \treturn nil, err\n+ }\n+\n+ // FetchSourceByID keys only on the source id, so enforce the project scope\n+ // here (the sibling FindSourceByName/DeleteSourceByID scope in SQL). Without\n+ // this, any authorized caller could read another project's source by id,\n+ // including its plaintext broker credentials. Treat a cross-project hit as\n+ // not found so ids stay non-enumerable.\n+ if source.ProjectID != projectID {\n+ \treturn nil, datastore.ErrSourceNotFound\n+ }\n+\n+ return source, nil\n}\n\n\nBy adding the conditional statement if source.ProjectID != projectID, the service ensures that even if a database row is successfully retrieved using only the source identifier, the application rejects the request and returns a datastore.ErrSourceNotFound error if the source is owned by a different project. This prevents information disclosure and prevents ID enumeration attacks.

Exploitation Methodology

To exploit CVE-2026-81505, an attacker must first obtain a valid, authenticated session or an API key scoped to a project under their control (e.g., Project_A). The attacker also needs to identify or guess the UUID of a target webhook Source (e.g., source_B_uuid) belonging to another tenant's project (Project_B).\n\nThe attack flow is represented in the diagram below:\n\nmermaid\ngraph LR\n Attacker["Attacker\n(Auth for Project A)"]\n Gateway["Convoy API Gateway\n(Verifies Project A Access)"]\n ServiceLayer["Service Layer\n(Fetches Source B by ID)"]\n Database[("PostgreSQL\n(sources Table)")]\n\n Attacker -->|"GET /projects/Project_A/sources/Source_B"| Gateway\n Gateway -->|"FindSourceByID(Project_A, Source_B)"| ServiceLayer\n ServiceLayer -->|"SELECT * WHERE id = Source_B"| Database\n Database -->|"Returns Source B Record"| ServiceLayer\n ServiceLayer -->|"Leaks Source B Plaintext Credentials"| Attacker\n\n\nThe attacker crafts a direct HTTP request to the target Convoy instance, substituting the victim's source UUID in the place of the source ID, while keeping the attacker's own authorized project ID in the path parameters:\n\nhttp\nGET /api/v1/projects/Project_A_ID/sources/Project_B_Source_UUID HTTP/1.1\nHost: convoy.target.internal\nAuthorization: Bearer <Attacker_Project_A_API_Key>\nAccept: application/json\n\n\nBecause the routing layer only verifies authorization for Project_A_ID, the request is processed. The database retrieves the configuration details for Project_B_Source_UUID, which is returned in full, exposing raw, unredacted credentials.

Impact Assessment

The impact of exploiting CVE-2026-81505 is severe confidentiality compromise. Webhook sources are typically integrated with enterprise message brokers and streaming platforms. Consequently, their configuration records contain highly sensitive authentication credentials.\n\nAn attacker successful in exploiting this vulnerability can retrieve plaintext connection parameters, including Apache Kafka SASL usernames and passwords, Amazon Simple Queue Service (SQS) AWS IAM access keys and secret keys, RabbitMQ / AMQP passwords and URI strings, or Google Cloud Pub/Sub service account keys.\n\nExfiltration of these credentials grants the attacker direct access to downstream enterprise data streams, allowing them to read proprietary business events, inject unauthorized messages, or disrupt critical message queues, extending the impact far beyond the Convoy gateway itself.

Remediation and Defense

The primary and recommended remediation is to upgrade all Convoy gateway installations to version v26.6.8 or later. This version enforces strict application-level validation on the retrieved source records to ensure they match the authorized project scope.\n\nIf upgrading cannot be performed immediately, temporary mitigation strategies include restricting project-scoped API key generation, limiting network-level access to the Convoy control plane, and auditing active API keys.\n\nAdditionally, security teams should implement centralized logging to monitor cross-tenant HTTP requests targeting the project endpoints. If exploitation is suspected or verified, immediately revoke and rotate all credentials associated with integrated message brokers.

Official Patches

frain-devGitHub Security Advisory GHSA-p5vg-v7mj-f6q4
frain-devPull Request #2755: Fix project scoping in FindSourceByID

Fix Analysis (1)

Technical Appendix

CVSS Score
7.1/ 10
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Affected Systems

Convoy control-plane configurations with multi-tenancy or project-level isolation enabled

Affected Versions Detail

Product
Affected Versions
Fixed Version
convoy
frain-dev
< 26.6.826.6.8
AttributeDetail
CWE IDCWE-639 (Authorization Bypass Through User-Controlled Key)
Attack VectorNetwork (AV:N)
CVSS v4.0 Score7.1 (High)
EPSS ScoreNot Registered
ImpactConfidentiality: High (Plaintext credentials leak)
Exploit StatusNone (No public PoCs)
KEV StatusNot Listed

MITRE ATT&CK Mapping

T1078Valid Accounts
Initial Access
T1119System Information Discovery
Discovery
T1552Unsecured Credentials
Credential Access
CWE-639
Authorization Bypass Through User-Controlled Key

The system fails to prevent a user from accessing a resource by altering the direct object reference without verifying authorization for the specific object.

Vulnerability Timeline

Vulnerability fixed in main branch via Commit 1cc67cd16fb1f8890cc83a3998d3f92dceb7fd06
2026-07-24
GitHub Security Advisory published and Convoy v26.6.8 released containing the patch
2026-09-18

References & Sources

  • [1]GitHub Security Advisory
  • [2]Patch Commit
  • [3]Convoy v26.6.8 Release Notes
  • [4]NVD CVE Record

Attack Flow Diagram

Press enter or space to select a node. You can then use the arrow keys to move the node around. Press delete to remove it and escape to cancel.
Press enter or space to select an edge. You can then press delete to remove it or escape to cancel.

More Reports

•38 minutes ago•CVE-2026-126359
3.4

CVE-2026-126359: Cross-Site Scripting via Split Closing Style Tag in Hono CSS Helper

CVE-2026-126359 (GHSA-3gg2-335m-rxc6) is an improper input neutralization vulnerability (CWE-79) in the Hono web framework (`honojs/hono`). Versions from 3.12.0 prior to 4.13.16 evaluate and escape interpolated strings in the `hono/css` helper individually before concatenating template chunks and stripping CSS comments. When a `<` character and a `/style>` sequence are split across template boundaries, adjacent interpolations, or separated by a CSS comment, the sanitizer fails to escape the closing tag sequence. During Server-Side Rendering (SSR), the `<Style />` component outputs an unescaped `</style>` delimiter, permitting an attacker to break out of the CSS raw text context and execute arbitrary HTML and JavaScript in the victim's browser.

Alon Barad
Alon Barad
3 views•10 min read
•about 2 hours ago•CVE-2026-126358
5.3

CVE-2026-126358: Authorization Bypass via Wildcard Middleware Omission in Hono RegExpRouter

An incorrect authorization vulnerability (CWE-863) exists in the Hono web application framework (npm package `hono`) from version 4.1.4 prior to 4.13.16. Flaws in the registration-time coverage calculation and regular expression compilation within `RegExpRouter` cause wildcard middleware to be omitted under three specific routing conditions: parameter pattern equivalence mismatches, wildcard boundary collisions, and request paths containing percent-encoded line terminators. Because Hono's default `SmartRouter` selects `RegExpRouter` for most standard web applications, unauthenticated remote clients can bypass authentication, authorization, or security middleware registered on wildcard paths to directly access protected route handlers or the application's not-found handler.

Alon Barad
Alon Barad
4 views•13 min read
•about 3 hours ago•CVE-2026-126357
5.3

CVE-2026-126357: Authentication Bypass via Mount Path Transformation in Hono

CVE-2026-126357 (GHSA-4m76-xfj5-7975) is an authentication bypass vulnerability in the Hono web application framework prior to version 4.13.16. The flaw resides in the prefix-stripping and URL reconstruction logic of `app.mount()` and the `mount()` middleware. Two distinct path transformation errors—static route-pattern length slicing on dynamic prefixes and URL normalization of decoded pathnames—create a routing discrepancy between the outer Hono router and the mounted sub-application. An unauthenticated attacker can exploit these discrepancies to bypass outer authentication or authorization middleware and access protected inner routes directly.

Amit Schendel
Amit Schendel
4 views•9 min read
•about 4 hours ago•CVE-2026-126356
5.3

CVE-2026-126356: Multipart Form Validation Bypass in Hono Web Framework

A parser differential vulnerability exists in the Hono web application framework versions 4.5.1 prior to 4.13.16. The built-in form validation middleware (`validator('form')`) utilizes an overly restrictive regular expression to evaluate the HTTP `Content-Type` header for `multipart/form-data` payloads. When a client supplies additional valid MIME parameters (such as `charset=utf-8`) or multiple whitespace characters following a semicolon delimiter, the regular expression fails to match. Consequently, the validator passes an empty object to the validation callback instead of the parsed form fields. If the validation logic permits empty objects or only checks for disallowed values on optional properties, the request passes validation, allowing downstream route handlers calling `c.req.parseBody()` or `c.req.formData()` to process unvalidated user input.

Amit Schendel
Amit Schendel
5 views•10 min read
•about 5 hours ago•CVE-2026-126355
5.3

CVE-2026-126355: Cross-Site Request Forgery Protection Bypass via Hyperlink Auditing in Hono

CVE-2026-126355 (GHSA-46wx-v44x-9hh2) is a Cross-Site Request Forgery (CSRF) validation bypass in Hono, a web application framework for JavaScript runtimes. Prior to version 4.13.16, Hono's built-in csrf() middleware only evaluated origin headers for requests matching standard HTML form MIME types (application/x-www-form-urlencoded, multipart/form-data, and text/plain). By leveraging the HTML anchor ping attribute in Chromium-based browsers, an attacker can initiate an unprompted, credentialed cross-origin HTTP POST request with Content-Type: text/ping without triggering a CORS preflight request. Because text/ping was omitted from the middleware regular expression, requests bypassed Origin and Sec-Fetch-Site verification, allowing unauthorized state-changing operations.

Amit Schendel
Amit Schendel
5 views•9 min read
•about 6 hours ago•CVE-2026-128067
8.4

CVE-2026-128067: Out-of-Bounds Heap Read and Write in Pillow libtiff Encoder via Geometry Tag Overrides

CVE-2026-128067 is a memory corruption vulnerability in Pillow (versions 2.3.0 through 12.3.0) occurring when saving compressed TIFF images via the underlying libtiff encoder. By supplying crafted image geometry tags through exif=, tiffinfo=, or a source TIFF IFD, an attacker can override the scanline dimensions configured in libtiff while Pillow allocates the internal row buffer based strictly on the physical image dimensions. This mismatch induces an out-of-bounds heap read during scanline encoding, and escalates to an out-of-bounds heap write when TIFF Predictor 2 (horizontal differencing) is enabled.

Amit Schendel
Amit Schendel
3 views•10 min read