Critical Template Injection in GitLab AI Gateway Duo Workflow Service (CVE-2026-1868)
Emerging Technology Risk · 3 sources · Updated 5mo ago · First seen Feb 9, 2026

GitLab remediated CVE-2026-1868, a critical flaw in the Duo Workflow Service component of GitLab AI Gateway caused by improper neutralization during template expansion of user-supplied data. By submitting crafted Duo Agent Platform Flow definitions, an attacker could trigger denial of service or potentially achieve remote code execution (RCE) on the AI Gateway, turning the AI workflow feature into an execution path on the underlying gateway service.
The issue impacts self-hosted GitLab AI Gateway deployments across multiple version tracks, including versions starting at 18.1.6, 18.2.6, and 18.3.1 up to vulnerable releases such as 18.6.1, 18.7.0, and 18.8.0. GitLab released fixes in 18.6.2, 18.7.1, and 18.8.1; exploitation requires authenticated access to the GitLab instance (e.g., a compromised developer account or malicious insider), and GitLab reported the issue was discovered internally (by a GitLab team member, per reporting).


