The AI agent in your DevOps tool runs someone else's commands too
In October NVD published two vulnerabilities in GitLab's AI features. In one, a command runs under another user's name; in the other, on the AI Gateway itself. What the records say and what to check on your side.
What happened
On 13 October 2026, NVD published CVE-2026-96893. It affects GitLab EE: versions from 19.1 to 19.2.8, from 19.3 to 19.3.5 and from 19.4 to 19.4.2, not counting the fixed versions themselves. According to the description, a user with an account can inject specially crafted content into the AI agent’s instructions. The result is command execution that the system attributes to other users. The cause is that special elements are not neutralised when the context of the conversation with the AI is assembled.
The 7.3 (High) CVSS 3.1 score comes from GitLab, which issued the CVE. The NVD record has the status Analyzed: NVD added the CWE-74 class and the affected versions, but gave no CVSS score of its own. The only score in the record is GitLab’s. The vector says the attack needs low privileges and an action by another user.
Eleven days earlier, on 2 October 2026, CVE-2026-90970 was published. It is in the AI Gateway, the separate component for GitLab’s AI features. Affected are versions from 18.1.6 to 19.2.4, from 19.3 to 19.3.2 and from 19.4 to 19.4.1, again not counting the fixed ones. A user with access to the Duo Agent Platform can use a crafted flow configuration to escape the prompt template’s sandbox and run arbitrary commands on the AI Gateway itself. The 9.9 (Critical) score also comes from GitLab. NVD has not analysed the record yet; its status is Awaiting Analysis.
What they show
In both cases the attacker has an account. Both records require a user with an account and low privileges. That can be a colleague, an external contributor with access to the project or someone’s stolen account.
The first vulnerability is prompt injection. The agent assembles its context from text, part of which another person wrote. When that text is not separated from the instructions, the agent executes it as an instruction. The record does not specify which fields the content comes from. It does specify the consequence: the command runs, and the history shows another user’s name.
During an incident, the first thing you do is open the log and see who ran what. Here the log points to a person who ran nothing.
The second vulnerability is on the server. The prompt template’s sandbox protects the AI Gateway from what the user writes in the flow configuration. When the template escapes it, the command runs on the service that everyone’s requests go through. That is why the vector has scope Changed: the damage reaches beyond the component where the bug is.
An AI agent turns text into action. Whoever can write text the agent reads gets a path to the agent’s permissions.
The agent that writes our tests
The agents we work with have a lot of permissions. In Proba, the agent goes through the application over MCP: it opens pages, fills in fields, clicks buttons, queries the API and checks the database. That is access from the interface all the way to the data.
Passwords in Proba do not live in the tests. Accounts and variables are stored once for the application, and the value is passed by name at run time. The tests see internal systems, test accounts and data, and we do not want any of that going through someone else’s cloud. So everything is kept in a single SQLite database on the machine.
These decisions limit what the agent can leak and how far it gets if someone steers it. Prompt injection itself is still possible.
How much autonomy today
In the research on language models in restoring critical infrastructure, we reached a conclusion that applies here too. Today, the real value lies in assistants that leave a trail for every decision. Autonomous execution is premature until stronger verification and formal safeguards appear.
The October vulnerabilities show why the trail also has to be accurate. A trail in which the command sits under someone else’s name sends the investigation to the wrong person.
The Zero Trust model says that no device and no connection is trusted by default. For an AI agent, that also covers the text in its context: an issue, a comment, a merge request description, a flow configuration.
What to check on your side
- The versions. If you run your own installation, GitLab EE needs to be at least 19.2.8, 19.3.5 or 19.4.2 depending on the line, and the AI Gateway at least 19.2.4, 19.3.2 or 19.4.1.
- Who has access to the Duo Agent Platform and who can write flow configurations. The second vulnerability needs exactly that access.
- Which account the agent runs under and what permissions its token has. If the agent acts on behalf of the person who started it, its permissions are that person’s permissions.
- What the agent reads. Every field that another person writes and that reaches the context is external input.
- The log. For an agent action, the log has to say who started the agent and where the instruction came from. Check whether yours does.
- Secrets. Passwords and tokens should not sit in text the agent reads. In Proba they are passed by name at run time.
My next step
The next thing I am doing is going through the agents we use and writing down, for each one, which account it runs under, what it reads and what it can change. Where the log does not show who started the agent, that gets fixed first.
Sources
- NVD, CVE-2026-96893: https://nvd.nist.gov/vuln/detail/CVE-2026-96893
- NVD, CVE-2026-90970: https://nvd.nist.gov/vuln/detail/CVE-2026-90970