# Vulnerabilities

List, read and triage a project's vulnerabilities, count them by severity and summarize a pipeline's security reports, through GitLab's GraphQL API.

Source: https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/
Updated: 2026-11-22

---

Vulnerabilities are the records GitLab keeps of what its security scanners found, tracked across pipelines. These actions list a project's vulnerabilities with filters, read one, triage it (confirm, dismiss, resolve, or revert it to detected), count a project's vulnerabilities by severity, and summarize the security reports of one pipeline. What a single pipeline's scanners reported is on [Security findings](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/security-finding/).

## Sample questions

- "List the critical vulnerabilities of project 42"
- "Dismiss vulnerability 42 as a false positive"
- "How many vulnerabilities does project 42 have by severity?"
- "Which scanners ran in pipeline 123?"

## How to call it

- **Dynamic**, the default surface: call `gitlab_execute_action` with `action` set to the action's ID, such as `vulnerability.confirm`, and its parameters in `params`. `gitlab_find_action` finds an ID from a description of the task.
- **Meta** (`GITLAB_MCP_TOOL_SURFACE=meta`): call `gitlab_vulnerability` with `action` set to the action's name, such as `confirm`, and its parameters in `params`.
- **Individual** (`GITLAB_MCP_TOOL_SURFACE=individual`): call the action's own tool, such as `gitlab_confirm_vulnerability`, with its parameters as the arguments.

## Availability

How many of these actions an instance serves at each tier, out of a total of 8:

- **Free**: 0
- **Premium**: 0
- **Ultimate**: 8

Read-only actions: 4 of 8, the ones a deployment in read-only mode keeps. A token with `read_api` and not `api` is served 4 of the 8.

## Actions

The description of each action, and of each of its parameters, is the text the server serves for it on the default surface, quoted as served. The token lines say what GitLab 19.6.1 requires of a token for the requests each action sends; on an instance with Admin Mode turned on, an action only an administrator may run also needs `admin_mode`.

| Action | Individual |
| --- | --- |
| [`vulnerability.confirm`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityconfirm) | `gitlab_confirm_vulnerability` |
| [`vulnerability.dismiss`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitydismiss) | `gitlab_dismiss_vulnerability` |
| [`vulnerability.get`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityget) | `gitlab_get_vulnerability` |
| [`vulnerability.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitylist) | `gitlab_list_vulnerabilities` |
| [`vulnerability.pipeline_security_summary`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitypipeline_security_summary) | `gitlab_pipeline_security_summary` |
| [`vulnerability.resolve`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityresolve) | `gitlab_resolve_vulnerability` |
| [`vulnerability.revert`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityrevert) | `gitlab_revert_vulnerability` |
| [`vulnerability.severity_count`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityseverity_count) | `gitlab_vulnerability_severity_count` |

### `vulnerability.confirm`

> Confirm a vulnerability as a real finding. Returns: the updated vulnerability with its new confirmed state and timestamp. See also: [`vulnerability.get`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityget), [`vulnerability.dismiss`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitydismiss), [`vulnerability.resolve`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityresolve).

- **Meta-tool**: `gitlab_vulnerability`, action `confirm`
- **Individual tool**: `gitlab_confirm_vulnerability`
- **Tier**: Ultimate
- **Classic or OAuth token**: `api`
- **Fine-grained token**: Vulnerability: Update at project; Vulnerability: Read at project; served empty: `vulnerabilityConfirm { vulnerability { findingTokenStatus } }` (always), `vulnerabilityConfirm { vulnerability { location { kubernetesResource } } }` (always), `vulnerabilityConfirm { vulnerability { issueLinks { nodes } } }` (always), `vulnerabilityConfirm { vulnerability { dismissedBy } }` (without User: Read at user), `vulnerabilityConfirm { vulnerability { resolvedBy } }` (without User: Read at user), `vulnerabilityConfirm { vulnerability { confirmedBy } }` (without User: Read at user), `vulnerabilityConfirm { vulnerability { scanner } }` (without Vulnerability: Read at project), `vulnerabilityConfirm { vulnerability { location { kubernetesResource { agent } } } }` (without Cluster Agent: Read at project), `vulnerabilityConfirm { vulnerability { project } }` (without Project: Read at project), `vulnerabilityConfirm { vulnerability { issueLinks { nodes { issue } } } }` (without Work Item: Read at project), `vulnerabilityConfirm { vulnerability { mergeRequest } }` (without Merge Request: Read at project) ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: writes, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | Vulnerability GID (e.g. `gid://gitlab/Vulnerability/42`) |

### `vulnerability.dismiss`

> Dismiss a vulnerability with a dismissal reason. Returns: the updated vulnerability with its new dismissed state and timestamp. See also: [`vulnerability.get`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityget), [`vulnerability.confirm`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityconfirm), [`vulnerability.revert`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityrevert).

- **Meta-tool**: `gitlab_vulnerability`, action `dismiss`
- **Individual tool**: `gitlab_dismiss_vulnerability`
- **Tier**: Ultimate
- **Classic or OAuth token**: `api`
- **Fine-grained token**: Vulnerability: Update at project; Vulnerability: Read at project; served empty: `vulnerabilityDismiss { vulnerability { findingTokenStatus } }` (always), `vulnerabilityDismiss { vulnerability { location { kubernetesResource } } }` (always), `vulnerabilityDismiss { vulnerability { issueLinks { nodes } } }` (always), `vulnerabilityDismiss { vulnerability { dismissedBy } }` (without User: Read at user), `vulnerabilityDismiss { vulnerability { resolvedBy } }` (without User: Read at user), `vulnerabilityDismiss { vulnerability { confirmedBy } }` (without User: Read at user), `vulnerabilityDismiss { vulnerability { scanner } }` (without Vulnerability: Read at project), `vulnerabilityDismiss { vulnerability { location { kubernetesResource { agent } } } }` (without Cluster Agent: Read at project), `vulnerabilityDismiss { vulnerability { project } }` (without Project: Read at project), `vulnerabilityDismiss { vulnerability { issueLinks { nodes { issue } } } }` (without Work Item: Read at project), `vulnerabilityDismiss { vulnerability { mergeRequest } }` (without Merge Request: Read at project) ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: writes, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | Vulnerability GID (e.g. `gid://gitlab/Vulnerability/42`) |
| `comment` | `string` | no | Reason for dismissal |
| `dismissal_reason` | `string` (`ACCEPTABLE_RISK`, `FALSE_POSITIVE`, `MITIGATING_CONTROL`, `NOT_APPLICABLE`, `USED_IN_TESTS`) | no | Dismissal reason: ACCEPTABLE_RISK, FALSE_POSITIVE, MITIGATING_CONTROL, USED_IN_TESTS, NOT_APPLICABLE |

### `vulnerability.get`

> Get a single vulnerability by global ID. Returns: title, description, severity, state and its comment, report type, scanner, identifiers, CVSS assessments, EPSS and known-exploit data, location, solution, report links, a leaked token's status, who confirmed, dismissed or resolved it, linked issues, and merge request. See also: [`vulnerability.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitylist), [`vulnerability.dismiss`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitydismiss), [`vulnerability.confirm`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityconfirm).

- **Meta-tool**: `gitlab_vulnerability`, action `get`
- **Individual tool**: `gitlab_get_vulnerability`
- **Tier**: Ultimate
- **Classic or OAuth token**: `read_api` (or `api`)
- **Fine-grained token**: Vulnerability: Read at project; served empty: `vulnerability { findingTokenStatus }` (always), `vulnerability { location { kubernetesResource } }` (always), `vulnerability { issueLinks { nodes } }` (always), `vulnerability { dismissedBy }` (without User: Read at user), `vulnerability { resolvedBy }` (without User: Read at user), `vulnerability { confirmedBy }` (without User: Read at user), `vulnerability { scanner }` (without Vulnerability: Read at project), `vulnerability { location { kubernetesResource { agent } } }` (without Cluster Agent: Read at project), `vulnerability { project }` (without Project: Read at project), `vulnerability { issueLinks { nodes { issue } } }` (without Work Item: Read at project), `vulnerability { mergeRequest }` (without Merge Request: Read at project) ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: read-only, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | Vulnerability GID (e.g. `gid://gitlab/Vulnerability/42`) |

### `vulnerability.list`

> List a project's vulnerabilities with severity, state, scanner, and report-type filters plus keyset pagination. Returns: matching vulnerabilities with UUID, title, severity, state, report type, scanner, identifiers, location, CVSS and EPSS data, who confirmed, dismissed or resolved each, detection time, and web URL. See also: [`vulnerability.get`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityget), [`vulnerability.severity_count`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityseverity_count), [`security_finding.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/security-finding/#security_findinglist).

- **Meta-tool**: `gitlab_vulnerability`, action `list`
- **Individual tool**: `gitlab_list_vulnerabilities`
- **Tier**: Ultimate
- **Classic or OAuth token**: `read_api` (or `api`)
- **Fine-grained token**: Project: Read at project; Vulnerability: Read at project; served empty: `project { vulnerabilities { nodes { findingTokenStatus } } }` (always), `project { vulnerabilities { nodes { location { kubernetesResource } } } }` (always), `project { vulnerabilities { nodes { issueLinks { nodes } } } }` (always), `project { vulnerabilities { nodes { dismissedBy } } }` (without User: Read at user), `project { vulnerabilities { nodes { resolvedBy } } }` (without User: Read at user), `project { vulnerabilities { nodes { confirmedBy } } }` (without User: Read at user), `project { vulnerabilities { nodes { scanner } } }` (without Vulnerability: Read at project), `project { vulnerabilities { nodes { location { kubernetesResource { agent } } } } }` (without Cluster Agent: Read at project), `project { vulnerabilities { nodes { project } } }` (without Project: Read at project), `project { vulnerabilities { nodes { issueLinks { nodes { issue } } } } }` (without Work Item: Read at project), `project { vulnerabilities { nodes { mergeRequest } } }` (without Merge Request: Read at project) ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: read-only, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `project_path` | `string` | yes | Full path of the project (e.g. my-group/my-project) |
| `after` | `string` | no | Cursor for forward pagination (from previous response end_cursor) |
| `before` | `string` | no | Cursor for backward pagination (from previous response start_cursor). The page size comes from last, or from first when last is omitted |
| `first` | `integer` | no | Number of items to return (default 20, max 100) |
| `has_issues` | `boolean` | no | Filter by whether a linked issue exists |
| `has_resolution` | `boolean` | no | Filter by whether a resolution exists |
| `last` | `integer` | no | Number of items to return from the end of the range (backward pagination). Cannot be combined with first |
| `report_type` | `string[]` | no | Filter by report type: SAST, DAST, DEPENDENCY_SCANNING, CONTAINER_SCANNING, CONTAINER_SCANNING_FOR_REGISTRY, SECRET_DETECTION, COVERAGE_FUZZING, API_FUZZING, CLUSTER_IMAGE_SCANNING, SARIF, GENERIC |
| `scanner` | `string[]` | no | Filter by scanner external IDs |
| `severity` | `string[]` | no | Filter by severity: CRITICAL, HIGH, MEDIUM, LOW, INFO, UNKNOWN |
| `sort` | `string` (`severity_desc`, `severity_asc`, `detected_desc`, `detected_asc`) | no | Sort order: severity_desc, severity_asc, detected_desc, detected_asc |
| `state` | `string[]` | no | Filter by state: DETECTED, CONFIRMED, DISMISSED, RESOLVED |

### `vulnerability.pipeline_security_summary`

> Summarize a pipeline's security scan results. Returns: per-scanner vulnerability and scanned-resource counts for the pipeline (SAST, DAST, and other report types), the scans that ran with their status, errors and warnings, and the first resources a DAST scan requested. See also: [`vulnerability.severity_count`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityseverity_count), [`vulnerability.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitylist).

- **Meta-tool**: `gitlab_vulnerability`, action `pipeline_security_summary`
- **Individual tool**: `gitlab_pipeline_security_summary`
- **Tier**: Ultimate
- **Classic or OAuth token**: `read_api` (or `api`)
- **Fine-grained token**: Not reachable at this release: GitLab declares no fine-grained permission for `SecurityReportSummary`, which the answer is made of ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: read-only, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `pipeline_iid` | `string` | yes | Pipeline IID (internal ID within the project) |
| `project_path` | `string` | yes | Full path of the project (e.g. my-group/my-project) |

### `vulnerability.resolve`

> Resolve a vulnerability after it is fixed. Returns: the updated vulnerability with its new resolved state and timestamp. See also: [`vulnerability.get`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityget), [`vulnerability.confirm`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityconfirm), [`vulnerability.revert`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityrevert).

- **Meta-tool**: `gitlab_vulnerability`, action `resolve`
- **Individual tool**: `gitlab_resolve_vulnerability`
- **Tier**: Ultimate
- **Classic or OAuth token**: `api`
- **Fine-grained token**: Vulnerability: Update at project; Vulnerability: Read at project; served empty: `vulnerabilityResolve { vulnerability { findingTokenStatus } }` (always), `vulnerabilityResolve { vulnerability { location { kubernetesResource } } }` (always), `vulnerabilityResolve { vulnerability { issueLinks { nodes } } }` (always), `vulnerabilityResolve { vulnerability { dismissedBy } }` (without User: Read at user), `vulnerabilityResolve { vulnerability { resolvedBy } }` (without User: Read at user), `vulnerabilityResolve { vulnerability { confirmedBy } }` (without User: Read at user), `vulnerabilityResolve { vulnerability { scanner } }` (without Vulnerability: Read at project), `vulnerabilityResolve { vulnerability { location { kubernetesResource { agent } } } }` (without Cluster Agent: Read at project), `vulnerabilityResolve { vulnerability { project } }` (without Project: Read at project), `vulnerabilityResolve { vulnerability { issueLinks { nodes { issue } } } }` (without Work Item: Read at project), `vulnerabilityResolve { vulnerability { mergeRequest } }` (without Merge Request: Read at project) ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: writes, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | Vulnerability GID (e.g. `gid://gitlab/Vulnerability/42`) |

### `vulnerability.revert`

> Revert a vulnerability back to the detected state. Returns: the updated vulnerability with its restored detected state. See also: [`vulnerability.get`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityget), [`vulnerability.dismiss`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitydismiss), [`vulnerability.resolve`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilityresolve).

- **Meta-tool**: `gitlab_vulnerability`, action `revert`
- **Individual tool**: `gitlab_revert_vulnerability`
- **Tier**: Ultimate
- **Classic or OAuth token**: `api`
- **Fine-grained token**: Vulnerability: Update at project; Vulnerability: Read at project; served empty: `vulnerabilityRevertToDetected { vulnerability { findingTokenStatus } }` (always), `vulnerabilityRevertToDetected { vulnerability { location { kubernetesResource } } }` (always), `vulnerabilityRevertToDetected { vulnerability { issueLinks { nodes } } }` (always), `vulnerabilityRevertToDetected { vulnerability { dismissedBy } }` (without User: Read at user), `vulnerabilityRevertToDetected { vulnerability { resolvedBy } }` (without User: Read at user), `vulnerabilityRevertToDetected { vulnerability { confirmedBy } }` (without User: Read at user), `vulnerabilityRevertToDetected { vulnerability { scanner } }` (without Vulnerability: Read at project), `vulnerabilityRevertToDetected { vulnerability { location { kubernetesResource { agent } } } }` (without Cluster Agent: Read at project), `vulnerabilityRevertToDetected { vulnerability { project } }` (without Project: Read at project), `vulnerabilityRevertToDetected { vulnerability { issueLinks { nodes { issue } } } }` (without Work Item: Read at project), `vulnerabilityRevertToDetected { vulnerability { mergeRequest } }` (without Merge Request: Read at project) ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: writes, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `id` | `string` | yes | Vulnerability GID (e.g. `gid://gitlab/Vulnerability/42`) |

### `vulnerability.severity_count`

> Count a project's vulnerabilities grouped by severity. Returns: critical, high, medium, low, info, and unknown counts. See also: [`vulnerability.list`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitylist), [`vulnerability.pipeline_security_summary`](https://docs.jmrp.io/gitlab-mcp-server/reference/tools/vulnerability/#vulnerabilitypipeline_security_summary).

- **Meta-tool**: `gitlab_vulnerability`, action `severity_count`
- **Individual tool**: `gitlab_vulnerability_severity_count`
- **Tier**: Ultimate
- **Classic or OAuth token**: `read_api` (or `api`)
- **Fine-grained token**: Not reachable at this release: GitLab declares no fine-grained permission for `VulnerabilitySeveritiesCount`, which the answer is made of ([permissions page](https://docs.jmrp.io/gitlab-mcp-server/reference/fine-grained-permissions/#vulnerability))
- **Behavior**: read-only, idempotent

| Parameter | Type | Mandatory | Description |
| --- | --- | --- | --- |
| `project_path` | `string` | yes | Full path of the project (e.g. my-group/my-project) |
