CVE-2023-5356
GitLab vulnerability analysis and mitigation

Overview

Incorrect authorization checks in GitLab CE/EE affecting versions from 8.13 before 16.5.6, 16.6 before 16.6.4, and 16.7 before 16.7.2 were discovered. The vulnerability allows users to abuse Slack/Mattermost integrations to execute slash commands as another user (GitLab Release, NVD).

Technical details

The vulnerability stems from non-correlation between token verification and user identification in slash command integrations. The flaw involves two steps: verification of the integration token and identification of the current user via team_id and user_id parameters. The vulnerability has been assigned a CVSS v3.1 base score of 8.8 (HIGH) by NVD with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H, while GitLab assessed it at 7.3 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:C/C:H/I:H/A:N (NVD, GitLab Release).

Impact

The vulnerability enables attackers to execute any slash commands as victims, including executing ChatOps jobs, deploying between environments, and creating new issues or comments. The impact is significant as it allows command execution impersonating other users within the Slack/Mattermost integration context (Security Online).

Mitigation and workarounds

GitLab has addressed this vulnerability in versions 16.5.6, 16.6.4, and 16.7.2. Users are strongly recommended to upgrade their GitLab installations to one of these patched versions immediately. GitLab.com has already been updated with the security fix (GitLab Release).

Additional resources


SourceThis report was generated using AI

Related GitLab vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-9222HIGH8.7
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13761HIGH8
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13772HIGH7.1
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-13781MEDIUM6.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026
CVE-2025-3950LOW3.5
  • GitLabGitLab
  • cpe:2.3:a:gitlab:gitlab
NoYesJan 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management