# CVE-2023-4522: Improper Validation of Specified Type of Input in GitLab

- Severity: Medium 4.3 (CVSS:3.1, scored by GitLab) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.15%, higher than 67% of CVEs (2026-12-01)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-08-30T07:01:19.117Z
- Modified: 2026-09-10T16:01:21.635Z
- Also known as: BIT-GITLAB-2023-4522
- Weaknesses: CWE-1287
- Assigned by: GitLab

## Description

An issue has been discovered in GitLab affecting all versions before 16.2.0. Committing directories containing LF character results in 500 errors when viewing the commit.

(As written by CVE List.)

## Affected

- GitLab GitLab: before 16.2.0
- gitlab (Bitnami): before 16.2.0

## Every score

- GitLab: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:N/A:L`
- NVD: CVSS:3.1 5.3 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:L`
- Bitnami Vulnerability Database: rating Medium

## References

- <https://gitlab.com/gitlab-org/gitlab/-/issues/406817> (exploit, evidence, issue-tracking, permissions-required)
- <https://hackerone.com/reports/1937213> (exploit, permissions-required, technical-description, web)
- <https://lists.fedoraproject.org/archives/list/package-announce@lists.fedoraproject.org/message/SJ42V7O7F4OU6R7QSQQECLB6LDHKZIMQ/> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-4522> (web)

## Sources

- CVE List: [CVE-2023-4522](https://www.cve.org/CVERecord?id=CVE-2023-4522), CVE Terms of Use, modified 2026-05-26
- NVD: [CVE-2023-4522](https://nvd.nist.gov/vuln/detail/CVE-2023-4522), Public domain, modified 2026-06-17
- Bitnami Vulnerability Database: [BIT-GITLAB-2023-4522](https://osv.dev/vulnerability/BIT-GITLAB-2023-4522), Apache-2.0, modified 2026-09-10

---

Page: https://cve.day/CVE-2023-4522 · Whole record: https://cve.day/CVE-2023-4522.json · Rebuilt by cve.day 2026-11-25T22:58:27.424Z
