Description
Lightdash before 3.212.0 contains an insufficiently protected credentials vulnerability in getGitlabInstallationRepoReadAccess that sends the organization GitLab app token to unverified hosts. Project developers can set the dbt connection host_domain to an attacker-controlled server and capture the token when the AI agent reads the repository, gaining access to every reachable repository.
Affected products
| Vendor | Product | Affected | Fixed |
|---|---|---|---|
| Lightdash | Lightdash | < 3.212.0 | 3.212.0 |
References
- https://github.com/lightdash/lightdash/pull/32389 patch issue-tracking
- https://github.com/lightdash/lightdash/commit/e207ceb480e394c7ce50f676057bf4a2807588e6 patch
- Lightdash 3.212.0 Release Notes release-notes
- https://github.com/lightdash/lightdash/blob/3.211.0/packages/backend/src/ee/services/AiWritebackService/AiWritebackService.ts#L1165-L1201 technical-description
- VulnCheck Advisory: Lightdash before 3.212.0 Credential Exposure via AI Writeback GitLab Read Access third-party-advisory