CVE-2026-61576

Lightdash: Unauthenticated dbt Cloud webhook with path injection leaks API key

Published Oct 29, 2026 CVSS 4.0 · 8.3 High EPSS < 1% KEV · Not listed
Description
Lightdash is an open source business intelligence platform. In affected versions through 0.3213.0, the dbt Cloud webhook `POST /api/v1/projects/{projectUuid}/dbt-cloud/webhook` has no authentication middleware or signature validation. In `packages/backend/src/controllers/projectController.ts`, `testWebhook()` accepts `accountId` and `runId` from a `job.run.completed` request and passes them to `createPreviewWithExplores()` in `packages/backend/src/services/ProjectService/ProjectService.ts`. These unsanitized values are interpolated into the server-side dbt Cloud API URL, which is requested with the victim project's API key in the `Authorization` header. Path traversal through `accountId` changes the requested path on `cloud.getdbt.com` without changing its host, so the credential-bearing request reaches an attacker-influenced path on that fixed host. The advisory claims API-key theft, but the supplied evidence does not establish that the attacker can observe the `Authorization` header. The unauthenticated webhook also allows preview creation. The target must be a `dbt Cloud IDE` project and the attacker must know its `projectUuid`; the UUID is not enumerable but can be discovered in shared or multi-tenant contexts. Version 0.3214.0 fixes identifier path traversal and verifies webhook HMAC signatures only when a secret is configured; without a secret, unsigned webhooks continue to be processed.

Analysis

AI-generated

Technical impact

The flaw stems from the POST /api/v1/projects/{projectUuid}/dbt-cloud/webhook endpoint lacking authentication and sanitization. The handler accepts accountId and runId directly from a dbt Cloud job completion payload and injects them into the URL used to call the fixed‑host cloud.getdbt.com API. Because these identifiers are unsanitized, an attacker can craft an accountId that contains path traversal characters, causing the server to request attacker‑controlled paths on the same host while still transmitting the victim project’s API key in the Authorization header. The advisory notes that the provided evidence does not prove the attacker can capture the Authorization header, yet the presence of a credential‑bearing request to an attacker‑controlled path represents a serious exposure risk. Additionally, the absence of authentication allows anyone who knows a projectUuid to trigger preview creation, providing further potential for abuse.

Affected Systems

The vulnerability affects the open‑source Lightdash platform, specifically all releases through 0.3213.0. Users running these versions without a configured webhook secret are susceptible. No other vendor products are listed.

Risk and Exploitability

The CVSS score of 8.3 reflects the high impact of credential leakage and with‑in‑scope function exploitation. EPSS is not available, so the statistical likelihood of exploitation is unknown, but the absence of authentication and lack of signature validation make the attack trivial for anyone who can reach the endpoint. The vulnerability is not currently listed in the CISA Known Exploited Vulnerabilities catalog; however, its discovery and available advisory suggest it may be actively sought by threat actors. The likely attack vector is an unauthenticated HTTP POST to the webhook, requiring knowledge of a valid projectUuid and a live dbt Cloud IDE project; the UUID is not trivial to enumerate but can be discovered in shared or multi‑tenant contexts.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Lightdash to version 0.3214.0 or later, which removes the path‑traversal flaw and requires HMAC signatures when a secret is set.
  • Configure a webhook secret to enable HMAC signature verification; this prevents unsigned webhooks from being processed and blocks unauthenticated calls.
  • Audit your deployment for any external systems that still transmit dbt Cloud webhook payloads to the vulnerable endpoint and either remove those calls or restrict access to the endpoint using network controls or firewall rules.

Generated by OpenCVE AI on October 29, 2026 at 22:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Lightdash
Lightdash lightdash
Vendors & Products Lightdash
Lightdash lightdash
Type Values Removed Values Added
Description Lightdash is an open source business intelligence platform. In affected versions through 0.3213.0, the dbt Cloud webhook `POST /api/v1/projects/{projectUuid}/dbt-cloud/webhook` has no authentication middleware or signature validation. In `packages/backend/src/controllers/projectController.ts`, `testWebhook()` accepts `accountId` and `runId` from a `job.run.completed` request and passes them to `createPreviewWithExplores()` in `packages/backend/src/services/ProjectService/ProjectService.ts`. These unsanitized values are interpolated into the server-side dbt Cloud API URL, which is requested with the victim project's API key in the `Authorization` header. Path traversal through `accountId` changes the requested path on `cloud.getdbt.com` without changing its host, so the credential-bearing request reaches an attacker-influenced path on that fixed host. The advisory claims API-key theft, but the supplied evidence does not establish that the attacker can observe the `Authorization` header. The unauthenticated webhook also allows preview creation. The target must be a `dbt Cloud IDE` project and the attacker must know its `projectUuid`; the UUID is not enumerable but can be discovered in shared or multi-tenant contexts. Version 0.3214.0 fixes identifier path traversal and verifies webhook HMAC signatures only when a secret is configured; without a secret, unsigned webhooks continue to be processed.
Title Lightdash: Unauthenticated dbt Cloud webhook with path injection leaks API key
Weaknesses CWE-22
References
Metrics cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:L/VA:N/SC:N/SI:N/SA:N'}

Weaknesses
  • CWE-22

    Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal')

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Oct 30, 2026, 3:59 PM
Reserved
Jul 10, 2026, 5:12 PM
Status
Deferred
Published
Oct 29, 2026, 9:17 PM
Modified
Oct 30, 2026, 4:17 PM