GitLab 19.6 adds AI agent audit log, but NGINX remains vulnerable
GitLab has released version 19.6 of its DevSecOps platform. Its new audit features for agents are overshadowed, however, by recent security vulnerabilities in NGINX and Ruby . One notable change is that, starting with version 19.6, GitLab logs what AI agents do through its MCP server. Every agent action generates an audit event, which appears under AI > Governance in the top-level group.
The audit feature is available in all tiers, including Free. Premium and Ultimate customers also get governance for GitLab MCP server tools. Since version 19.4, owners of a top-level group have been able to decide for each MCP tool whether GitLab always allows it, always asks first or always blocks it. Until now, however, the client had to enforce a block set to Always Deny. The MCP server now enforces it for every connected client, so agents won’t even see blocked tools. Server-side enforcement is still in beta and depends on two feature flags , which are off by default.
Until now, GitLab Duo Agentic Chat in the GitLab user interface answered only one message at a time and waited for the one, making larger changes relatively inefficient. Users can now start a long-running task with /goal . Agentic Chat launches a Developer Flow session that runs until the task is complete. Also, Duo Flows previously continued running in the Runner without isolation when no sandbox was available, and GitLab issued only a warning. A new option makes the job fail in that case. The official GitLab page has the full list of changes.
Anyone who runs GitLab on their own should update to version 19.6.1 right away. Released Nov. 20 alongside versions 19.5.8 and 19.4.10, one day after the main release, it replaces the bundled Ruby. This closes CVE-2026-132825, also known as Ruby2Shell, a heap buffer overflow in case conversion. The Ruby team considers remote code execution possible in some scenarios and rates the vulnerability critical. Linux packages and container images include the fix, and GitLab.com has already been patched. Anyone installing from source must rebuild Ruby 3.3.14 or 3.4.13.
The patches do nothing to the bundled NGINX. GitLab 19.6 upgrades it to version 1.31.7, closing five older vulnerabilities. But this version is also vulnerable to the five nginx2root vulnerabilities disclosed Nov. 18; they are fixed only in NGINX 1.30.7 and 1.31.9. The most dangerous, CVE-2026-123007 , is in the HTTP/2 code and can be exploited without authentication. The Linux package and the Docker image based on it enable HTTP/2 for HTTPS by default. Distribution updates won’t help because GitLab bundles its own NGINX under /opt/gitlab/embedded . Until GitLab provides an update, admins should set nginx['http2_enabled'] = false in gitlab.rb and run gitlab-ctl reconfigure . This mitigates two of the five vulnerabilities; the others affect HTTP/3, the DNS resolver and the mail proxy.
Anyone who adds custom directives through nginx['custom_gitlab_server_config'] or nginx['custom_nginx_config'] should check them before upgrading. NGINX 1.31.7 treats buffer sizes of zero as errors. When proxy_ssl_verify on is enabled, it now checks certificates for IP addresses only against IP SANs. If the certificate lacks the matching entry, NGINX returns a 502 error.
In Runner 19.6, jobs with the optional FF_CONCRETE feature flag use the configured shell. If it’s set to sh , scripts that use Bash arrays or [ ] may fail. The direct_download option in the [runners.artifact] section replaces the deprecated FF_USE_DIRECT_DOWNLOAD flag.
On the server side, Git access using CI/CD job tokens now counts toward the rate limit for authenticated Git HTTP requests. GitLab attributes those requests to the user running the job. Anyone who has enabled this limit should check whether it can accommodate pipelines that clone repositories heavily.
There is also no longer a way to return to the classic diff view: Rapid Diffs has been the default in the Changes tab since version 19.4, and with version 19.6 GitLab is also removing the feature flags that admins of self-managed instances could use to switch back.
Ultimate customers can add a malware rule to approval policies. If Dependency Scanning detects a package listed in GitLab’s malware advisories, the merge request requires approval, regardless of the severity level or dismissal status. The rule covers npm, PyPI, Maven, Go, NuGet, Cargo and RubyGems, and works only with the SBOM-based scanner.
The beta feature “Rotate and fix” is also available only to Ultimate customers. It revokes a leaked GitLab personal access token, stores a replacement with the same permissions in the Secrets Manager, and opens a merge request to remove the hard-coded token. The rotation is final, so systems outside GitLab CI/CD need a new token. On self-managed instances, the feature depends on the secrets_manager_pat_rotation feature flag.
This article was originally published in German . It was translated with technical assistance and editorially reviewed before publication.
