CVE-2023-5356: Attacker can abuse Slack/Mattermost integrations to execute slash commands as another user

Published Jan 11, 2024
·
Updated

Incorrect authorization checks in GitLab CE/EE from all versions starting from 8.13 before 16.5.6, all versions starting from 16.6 before 16.6.4, all versions starting from 16.7 before 16.7.2, allows a user to abuse slack/mattermost integrations to execute slash commands as another user.

Affected Software

21 affected componentsFixes available
GitLab GitLab>=8.13.0<16.5.6
GitLab GitLab>=8.13.0<16.5.6
GitLab GitLab>=16.6.0<16.6.4
GitLab GitLab>=16.6.0<16.6.4
GitLab GitLab=16.7.0
GitLab GitLab=16.7.0
GitLab GitLab=16.7.1
GitLab GitLab=16.7.1
GitLab Community Edition=16.7.2
GitLab Community Edition=16.5.6
GitLab Community Edition=16.6.4
GitLab Community Edition=16.1.6
GitLab Community Edition=16.2.9
GitLab Community Edition=16.3.7
GitLab Enterprise Edition=16.7.2
GitLab Enterprise Edition=16.5.6
GitLab Enterprise Edition=16.6.4
GitLab Enterprise Edition=16.1.6
GitLab Enterprise Edition=16.2.9
GitLab Enterprise Edition=16.3.7
GitLab GitLab>=8.13<16.5.6, >=16.6<16.6.4, >=16.7<16.7.2
16.5.616.6.416.7.2

Remediation

Information

Upgrade to versions 16.7.2, 16.6.4, 16.5.6 or above.

Event History

Jan 12, 2024
CVE Published
via MITRE·01:56 PM
Data Sourced
via MITRE·01:56 PM
RemedyDescriptionSeverityWeakness
Data Sourced
via NVD·02:15 PM
DescriptionSeverityWeaknessAffected Software
News Published
05:54 PM
May 2, 2024
News Published
via The Register·02:15 PM
News Published
via The Register·02:18 PM
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software

Peer vulnerabilities

Found alongside the following vulnerabilities.

Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2023-5356?

CVE-2023-5356 is classified as a critical vulnerability due to its potential to allow unauthorized command execution.

2

What versions are affected by CVE-2023-5356?

CVE-2023-5356 affects GitLab Community and Enterprise Editions from versions 8.13 up to 16.5.6, as well as specific versions between 16.6.0 and 16.6.4 and 16.7.0 and 16.7.1.

3

How do I fix CVE-2023-5356?

To mitigate CVE-2023-5356, it is recommended to upgrade GitLab to version 16.5.6, 16.6.4, or 16.7.2.

4

What is the risk associated with CVE-2023-5356?

The risk associated with CVE-2023-5356 is that it allows attackers to execute commands on behalf of other users via Slack or Mattermost integrations.

5

Are there any known exploits for CVE-2023-5356?

Yes, there are reported exploits for CVE-2023-5356, indicating active attempts to leverage this vulnerability.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203