GitLab Agentic SAST Vulnerability Resolution: How AI Automates Security Fixes

02/11/2026
Share:

GitLab can now go beyond detecting vulnerabilities in source code. With Agentic SAST Vulnerability Resolution, it can investigate findings, prepare code fixes, and open merge requests for review – whether teams are addressing a single vulnerability, an existing backlog, or issues in release branches. This article explains how the process works, what teams need to enable it, which capabilities remain in beta, and what GitLab has on its roadmap. The information is current as of November 2026 and covers GitLab 19.5.

Table of contents:

GitLab Agentic SAST: What Changed in 2026?

GitLab introduced agentic SAST vulnerability remediation in February 2026 as a beta feature. Throughout the year, it expanded the capability with automated false-positive assessment, a generally available release, bulk remediation, and support for tracked branches beyond the default branch. The timeline below starts with the most recent release.

Release date GitLab version Key updates
Oct 15, 2026 19.5 AI workflows for false-positive assessment and remediation now support tracked branches beyond the default branch. SAST scanning profiles can be customized through the UI. Business Logic Security Analyzer enters early access, while GitLab Secrets Manager and the MCP server reach general availability.
Sep 17, 2026 19.4 SAST remediation is supported by the “automated triage and remediation” profile. Bulk processing is enabled by default (beta).
Aug 20, 2026 19.3 Bulk false-positive assessment and bulk remediation enter beta. AI Gateway for GitLab Dedicated and GitLab Credits spending limits become generally available.
Jul 16, 2026 19.2 SAST remediation no longer requires a feature flag and is enabled by default. Automated dependency remediation moves from experimental to beta.
Jun 18, 2026 19.1 Findings from external scanners using SARIF can be managed under GitLab policies and routed through the same remediation workflow. AI audit event streaming enters beta.
May 21, 2026 19.0 Security configuration profiles for SAST, dependency scanning, and secret detection can be applied across multiple projects. Automated dependency remediation is introduced as an experimental feature.
Apr 16, 2026 18.11 Agentic SAST Vulnerability Resolution reaches general availability. A SAST profile is added to security configurations, along with incremental Advanced SAST scanning.
Mar 19, 2026 18.10 Automated SAST false-positive assessment is introduced, with supporting rationale shown in the vulnerability report.
Feb 19, 2026 18.9 Agentic SAST vulnerability remediation debuts in beta.

GitLab’s documentation indicates that bulk processing is expected to reach general availability (GA) in the next release, 19.6.

How Agentic SAST Vulnerability Resolution Works

Rather than simply suggesting a fix, the agent creates a merge request containing a proposed code change. This capability has been generally available since GitLab 18.11. GitLab cites its 2025 DevSecOps report, which found that developers spend an average of 11 hours per month fixing vulnerabilities after software has been released.

The workflow follows five steps:

  1. A SAST scan completes on the default tracked branch.
  2. GitLab assesses high- and critical-severity vulnerabilities to identify potential false positives.
  3. For findings that do not appear to be false positives, the agent examines the code, investigates the root cause, and prepares a fix.
  4. The agent opens a merge request and runs a pipeline to validate the proposed change.
  5. The merge request includes details of the vulnerability, an explanation of the remediation approach, and a confidence assessment. A human reviewer evaluates and merges the change.

Teams can also trigger remediation manually for any SAST vulnerability, regardless of severity.

Prerequisites for Deployment

  • GitLab Ultimate and the GitLab Duo Agent Platform, billed through GitLab Credits.
  • The foundational “Resolve SAST Vulnerability” and “SAST False Positive Detection” flows enabled, together with the relevant project setting.
  • A service account authorized under the project’s push rules.
  • Self-managed or GitLab-hosted runners.
  • A recommended agent configuration file that identifies the project’s tools and dependencies.
  • Project-level Duo Agent Platform access for the user on whose behalf automated or bulk runs execute.

Where Automation Has Limits

Not every vulnerability results in an automated fix. GitLab’s documentation cites several reasons: complex code patterns that require additional context, findings classified as false positives, and temporary errors from the model provider. GitLab also advises organizations to have security professionals review AI-generated analysis.

The practical distinction matters: automation can accelerate the initial remediation work, but it does not eliminate the need for human review.

Bulk Vulnerability Remediation: Addressing the Backlog

Agentic remediation is not limited to newly detected vulnerabilities. Teams can also use it to work through an existing backlog. GitLab introduced bulk false-positive assessment and bulk remediation in version 19.3, initially in beta.

Users can select findings from a vulnerability report or choose all eligible vulnerabilities. GitLab assesses each finding and opens a merge request for confirmed vulnerabilities. Processing follows severity order: critical, high, medium, low, and then informational. According to GitLab, an individual execution costs the same whether it is initiated separately or as part of a bulk run. Concurrency limits help prevent pipeline resources from becoming overloaded, and users can stop a run in progress. The workflow also supports findings from external scanners that use SARIF.

The Security Manager, Maintainer, and Owner roles can initiate bulk runs, as can a custom role with the admin_vulnerability permission. Users with the Developer role can view progress.

Documented Limitations of Bulk Processing

  • A project can have only one active run of a given flow at a time. A run started by another user also prevents a new one from starting.
  • Users can manually select up to 1,000 vulnerabilities. The “all eligible” option is not subject to that limit.
  • The progress indicator counts only vulnerabilities eligible for remediation. If some findings do not pass false-positive assessment, progress may stop below 100%.

Supporting Release Branches and Multiple Projects

As of GitLab 19.5, AI workflows can also address vulnerabilities on other tracked branches. This allows teams to prepare fixes before merging changes into the main branch. A remediation merge request targets the branch where the vulnerability was detected. Teams can track three additional branches or tags beyond the default branch, ideally long-lived release branches.

For broader rollout, the “automated triage and remediation” profile has supported multi-project enablement since version 19.4. In version 19.5, teams can also customize SAST and secret detection scanning profiles through the UI, without editing .gitlab-ci.yml in each project.

Beyond SAST: Dependency Remediation, Business Logic, and Secrets

The same model – assess a finding, prepare a fix, and open a merge request—is expanding beyond application source code. These related capabilities are not all at the same stage of maturity.

Automated Dependency Remediation (Beta)

A service account opens a merge request to upgrade a vulnerable dependency to a version without the known vulnerability. The default safeguards are intentionally conservative:

  • Remediation targets vulnerabilities rated high severity or above.
  • Versions released within the preceding seven days are excluded to reduce the risk of adopting a defective or malicious release.
  • Only patch and minor upgrades are proposed unless agentic resolution of breaking changes is enabled.
  • Each project can have up to 30 such merge requests open at once.

Supported ecosystems include Maven, Gradle, pip, npm, Go, Cargo, and NuGet. GitLab’s documentation identifies Swift support as planned for version 19.6. During the beta, each pipeline run addresses one vulnerability, and the runner must operate in privileged mode.

Business Logic Security Analyzer (Early Access)

Pattern-based scanners can miss security flaws rooted in what an application is supposed to enforce. Business Logic Security Analyzer targets cases such as missing object-level access controls, missing authorization checks, and mass assignment. Findings appear in the vulnerability report and the merge request’s security widget.

For now, the capability is available only on GitLab.com with the Ultimate plan. Each scan consumes GitLab Credits.

Secret Detection and GitLab Secrets Manager

False-positive assessment also applies to detected secrets, including test keys and placeholder values. GitLab Secrets Manager, built on OpenBao, has been generally available since version 19.5. Each secret is scoped to the job that requires it, and every access is logged for auditing.

AI Security and Governance: What’s Available and What’s Next?

GitLab has delivered some of the capabilities needed to manage emerging AI-related security challenges. Others remain in beta or early access, while several are still roadmap items. GitLab cautions that plans listed under “What’s coming” may change.

Challenge GitLab capability or planned response Status
Managing AI costs GitLab Credits spending limits at the subscription and user levels, plus visibility into individual usage Available (19.3, 19.5)
Handling data in regulated environments AI Gateway within GitLab Dedicated; models hosted on an organization’s own infrastructure Available (19.3, 18.9)
Assessing exposure after disclosure of a critical CVE GitLab Orbit, a graph linking code, merge requests, pipelines, and vulnerabilities Available since 19.5; GitLab.com only, Premium and Ultimate
Governing AI agents, including external tools such as Claude Code, Cursor, and Codex AI Governance dashboard and AI audit events streamed to a SIEM Beta for external agents (19.5)
Addressing vulnerable dependencies Automated dependency remediation Beta; GA on the roadmap
Detecting business logic flaws Business Logic Security Analyzer Early access; GitLab.com only
Defining custom secret detection rules Custom Rules for Secret Detection On the roadmap
Viewing security data across the organization Organization Level Security Data Dashboards On the roadmap
Attesting, signing, and verifying container images Capability listed on GitLab’s product roadmap On the roadmap

The Limits No Vendor Can Fully Eliminate

The following is our assessment, not a claim by GitLab. A pipeline can validate a fix only to the extent supported by its tests. Inadequate test coverage can create a false sense of security, regardless of the remediation tool. With bulk processing, hundreds of merge requests may enter the same review queue, shifting the bottleneck to human reviewers.

Teams should therefore track two metrics from the outset: the percentage of proposed fixes merged without modification and the time from vulnerability detection to merge. Other vendors are also investing in AI-assisted vulnerability prioritization and remediation, so organizations should benchmark competing approaches against their own code before choosing a solution.

Cyber Resilience Act, DORA, and NIS2: Why Remediation Speed Matters

Since September 11, 2026, manufacturers of products with digital elements have been required to report actively exploited vulnerabilities under Article 14 of the EU Cyber Resilience Act (CRA). An early warning is due within 24 hours of becoming aware of a vulnerability, followed by a full notification within 72 hours. Reporting takes place through ENISA’s single reporting platform.

This obligation covers actively exploited vulnerabilities—not every finding generated by a SAST scan. Even so, a well-managed vulnerability backlog and a shorter interval between detection and remediation help organizations respond: teams have a clear view of open findings and can close them faster. In the financial sector, the Digital Operational Resilience Act (DORA) reinforces this approach through requirements for ICT risk management. Vulnerability and risk management obligations under NIS2 point in the same direction.

A defensible audit trail matters, too. The agent uses a service account, each proposed change is documented in a merge request, and changes follow the standard review process. AI audit events can be streamed to a SIEM, and GitLab 19.5 extends the AI Governance dashboard to agents operating outside GitLab.

How to Get Started: A Five-Step GitLab Pilot

A focused pilot is the most practical way to evaluate the quality of AI-generated fixes against your own codebase.

  1. Select three to five projects in your team’s primary programming languages, ideally with strong test coverage.
  2. Verify the prerequisites: GitLab Ultimate, Duo Agent Platform, runners, a service account permitted by push rules, and an agent configuration file.
  3. Set spending limits for GitLab Credits at both the subscription and user levels before enabling bulk processing.
  4. Introduce automation gradually: start with false-positive assessment, then enable remediation for critical- and high-severity vulnerabilities. Move to bulk processing after several weeks of observation.
  5. Measure the results: track the share of merge requests merged without changes, the time from detection to merge, and why proposed fixes are rejected.

GitLab – implementation, optimization, and support

Much of the deployment work sits outside the agent itself: runner configuration, service account permissions, push rules, internal policies, and responsibility assignments. If you want to evaluate agentic remediation in your own environment, Linux Polska can help assess readiness, plan a pilot, and compare the results objectively against your current tooling—even if another solution ultimately proves to be a better fit.

Look more