News · Lightdash · 2 min read
Event date: · Published:
Lightdash AI Writeback flaw risked leaking GitLab org tokens
GitHub published a high-severity advisory describing a flaw in Lightdash's AI Writeback agent. It let a low-privilege user redirect the organization's GitLab token to an attacker's server, exposing repositories reachable by the integration.
GitHub Security Advisories published a high-severity advisory for Lightdash, a BI and analytics platform whose AI Writeback agent reads and writes to dbt-connected git repositories, on November 23, 2026. The advisory, GHSA-8cf9-9rx7-rppm, describes a flaw that let a low-privilege project developer redirect the organization's GitLab app token to an attacker-controlled host.
Concrete changes in the advisory
- Advisory GHSA-8cf9-9rx7-rppm, tracked as CVE-2026-134827, was published on November 23, 2026
- GitHub rates the severity as High, with a CVSS v4 score of 8.3 and vector AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N
- The flaw affects Lightdash versions before 3.212.0 and is fixed in version 3.212.0
- It is classified as CWE-522, Insufficiently Protected Credentials
- The vulnerable code is the
getGitlabInstallationRepoReadAccessfunction insideAiWritebackService
What it means for people who build with AI
According to the advisory, a project developer could set the dbt connection's host_domain to a server they controlled. When the AI Writeback agent read the connected repository, Lightdash sent the organization's GitLab app token to that unverified host instead of GitLab, and the attacker could use the stolen token to read every repository reachable by the integration. That makes this a case of an AI agent feature leaking source-control credentials on its own, not a bug in surrounding app code, letting a low-privileged user escalate to organization-wide repository read access through the AI writeback path.
What to do next
Teams running Lightdash's AI Writeback feature should upgrade to version 3.212.0, where the issue is fixed.
Sources
- Lightdash before 3.212.0 contains an insufficiently protected credentials vulnerability (GitHub Security Advisories, November 23, 2026, official)
Written with AI assistance, strictly from the sources listed above. Before it went live, automated checks verified its dates, sources and every language edition.