CVE-2023-3401: Manipulate the repository content in the UI (CVE-2023-3401 bypass)

Published Aug 2, 2023
·
Updated

An issue has been discovered in GitLab affecting all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, all versions starting from 16.2 before 16.2.2. The main branch of a repository with a specially designed name allows an attacker to create repositories with malicious code.

Other sources

An issue has been discovered in GitLab affecting all versions before 16.4.3, all versions starting from 16.5 before 16.5.3, all versions starting from 16.6 before 16.6.1. Under certain circumstances, a malicious actor bypass prohibited branch checks using a specially crafted branch name to manipulate repository content in the UI.

GitLab

Affected Software

4 affected componentsFixes available
GitLab GitLab<16.0.8
GitLab GitLab>=16.1<16.1.3
GitLab GitLab>=16.2<16.2.2
GitLab GitLab>=16.5<16.5.3, >=16.6<16.6.1
16.5.316.6.1

Remediation

Information

Upgrade to versions 16.2.2, 16.1.3, 16.0.8 or above.

Event History

Aug 2, 2023
CVE Published
via MITRE·08:30 AM
Data Sourced
via MITRE·08:30 AM
RemedyDescriptionSeverityWeakness
Apr 22, 2026
Data Sourced
via GitLab·08:52 AM
DescriptionSeverityAffected Software
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 vulnerability ID for this GitLab issue?

The vulnerability ID for this GitLab issue is CVE-2023-3401.

2

What is the severity level of CVE-2023-3401?

The severity level of CVE-2023-3401 is medium (6.5).

3

Which versions of GitLab are affected by CVE-2023-3401?

The versions affected by CVE-2023-3401 are all versions before 16.0.8, all versions starting from 16.1 before 16.1.3, and all versions starting from 16.2 before 16.2.2.

4

What can an attacker do with this vulnerability?

An attacker can create repositories with malicious code using the main branch of a repository with a specially designed name.

5

Are there any references for more information on CVE-2023-3401?

Yes, you can find more information on CVE-2023-3401 at the following references: [GitLab Issue](https://gitlab.com/gitlab-org/gitlab/-/issues/416252), [HackerOne Report](https://hackerone.com/reports/2031845)

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