What happened
A critical flaw in GitLab’s AI Gateway could let a logged-in user with Duo Agent Platform access run commands on the gateway under certain conditions, according to a GitLab advisory. The gateway connects a GitLab instance to AI models, so only organisations that host their own gateway need to act.
What you should do
- Upgrade the gateway now. Update to version 19.2.4, 19.3.2, or 19.4.1 (whichever matches your release line). These versions fix the flaw.
- Check whether you’re affected. If you use GitLab’s hosted service, you don’t need to act. If you host your own AI Gateway, you do.
- Limit who can use Duo Agent Platform. Until you’ve upgraded, restrict AI features to the people who need them, since the flaw requires a logged-in user with that access.
- Review gateway logs. Look for unexpected command execution or unfamiliar activity on the gateway host since the flaw was disclosed.
- Reduce the gateway’s reach. Run it with the least privileges and network access it needs, so that even a compromised gateway can’t reach sensitive systems.
This story is an AI-assisted summary of a report from The Hacker News. Read the original: https://thehackernews.com/2026/10/gitlab-patches-critical-self-hosted-ai.html. The recommendations are CyberNet Labs’ own, based on that report.