CVE-2026-1868: Insecure template expansion in GitLab AI Gateway Duo Workflow Service
- Vendor
- GitLab
CVE-2026-1868 is an insecure template expansion vulnerability in the Duo Workflow Service component of GitLab AI Gateway. Improper handling of user-supplied data in crafted Duo Agent Platform Flow definitions allows an authenticated GitLab user to cause denial of service or execute code on the Gateway. Affected release ranges begin at 18.1.6, 18.2.6, and 18.3.1 and include vulnerable releases through 18.6.1, 18.7.0, and 18.8.0. The vulnerability was fixed in AI Gateway versions 18.6.2, 18.7.1, and 18.8.1.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation can disrupt GitLab AI Gateway availability through denial of service or permit code execution on the Gateway. The execution privilege level and any resulting access to other systems are not specified.
Mitigation
If you can’t patch tonight, do this now.
If immediate patching is not possible, reduce exposure by restricting access to authenticated GitLab accounts that can define or modify Duo Agent Platform Flow content, limiting use of self-hosted AI Gateway workflow features to trusted administrators and users, and monitoring for abnormal workflow submissions or Gateway instability. Because exploitation requires authenticated access and targets template processing of crafted flow definitions, minimizing who can supply such definitions can reduce risk until upgrades are completed.
Remediation
Patch, then assume compromise.
Upgrade affected self-hosted GitLab AI Gateway deployments to a fixed release: 18.6.2, 18.7.1, or 18.8.1, according to the applicable release line. GitLab released these fixes on February 6, 2026 and recommended immediate upgrades. GitLab-hosted AI Gateways were already patched; GitLab.com, GitLab Dedicated, and self-managed customers using GitLab-hosted gateways do not need to take action for this vulnerability.
Exploits
No public exploits tracked yet. Mallory keeps watching.
Affected products & vendors
Products and vendors Mallory has correlated with this vulnerability. Open in Mallory to drill down to specific CPE configurations and version ranges.
References
Frequently asked questions
- Is CVE-2026-1868 exploited in the wild?
- As of Oct 5, 2026, Mallory has no reports of CVE-2026-1868 being exploited in the wild. It is not listed in CISA KEV.
- Is there a public exploit for CVE-2026-1868?
- As of Oct 5, 2026, Mallory has found no public exploit for CVE-2026-1868.
- Is there a patch for CVE-2026-1868?
- Upgrade affected self-hosted GitLab AI Gateway deployments to a fixed release: 18.6.2, 18.7.1, or 18.8.1, according to the applicable release line. GitLab released these fixes on February 6, 2026 and recommended immediate upgrades.
- What products are affected by CVE-2026-1868?
- GitLab Ai-Gateway.
- How severe is CVE-2026-1868?
- CVE-2026-1868 has a CVSS v3.1 score of 9.9 (Critical) and an EPSS score of 0.70% (54th percentile) as of Oct 5, 2026.
Recent activity
20 sources tracked across advisories, community write-ups, and news. New activity surfaces here as Mallory finds it.