Read the docs
TI-2023-05073 Aliases CVE-2023-5512GHSA-3vp4-9jc4-q799

Improper Control of Generation of Code ('Code Injection') in GitLab

Priority LOW 26CWE-94Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
Required
Attack complexity
Low
Impact type
Code execution
Confidentiality · integrity · availability
None · High · None
Fix status
Fixed

Attack profile from CVSS 3.1 · NVD. Fix status from CNA. Impact type from CWE-94.

Summary

An issue has been discovered in GitLab CE/EE affecting all versions from 16.3 before 16.4.4, all versions starting from 16.5 before 16.5.4, all versions starting from 16.6 before 16.6.2. File integrity may be compromised when specific HTML encoding is used for file names leading for incorrect representation in the UI.

Why it matters now

EPSS 0.00494 42nd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by the CNA
Fix Fixed GitLab (GitLab): 16.4.4, 16.5.4, 16.6.2

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
GitLabGitLab16.3 to before 16.4.4; 16.5 to before 16.5.4; 16.6 to before 16.6.216.4.4, 16.5.4, 16.6.2Patch availableCNA
  • GitLab VendorGitLab Affected 16.3 to before 16.4.4; 16.5 to before 16.5.4; 16.6 to before 16.6.2 Fixed in 16.4.4, 16.5.4, 16.6.2 Patch available CNA

CPE configurations NVD · 6

CPEVersionsRoleVendor
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*16.3.0 to before 16.4.4VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*16.3.0 to before 16.4.4VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*16.5.0 to before 16.5.4VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*16.5.0 to before 16.5.4VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:*16.6.0 to before 16.6.2VulnerableGitLab
cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:*16.6.0 to before 16.6.2VulnerableGitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* Versions 16.3.0 to before 16.4.4 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* Versions 16.3.0 to before 16.4.4 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* Versions 16.5.0 to before 16.5.4 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* Versions 16.5.0 to before 16.5.4 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:community:*:*:* Versions 16.6.0 to before 16.6.2 Vulnerable ·GitLab
  • cpe:2.3:a:gitlab:gitlab:*:*:*:*:enterprise:*:*:* Versions 16.6.0 to before 16.6.2 Vulnerable ·GitLab

Remediation

  • Fix · CNA GitLab (GitLab) Fixed in 16.4.4, 16.5.4, 16.6.2

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    GitLab 16.4.4, 16.5.4, 16.6.2

    5 records Highest priority Priority MEDIUM 1 MEDIUM, 4 LOW

    Other records, highest priority first

    • TI-2023-04661 Missing Authorization in GitLabPriority MEDIUM 53
    • TI-2023-06110 Improper Certificate Validation in GitLabPriority LOW 35
    • TI-2023-05572 Improper Control of Generation of Code ('Code Injection') in GitLabPriority LOW 30

Timeline

  1. 2026-10-02 Threatist record created from CVE-2023-5512
  2. 2026-10-03 Alias added: GHSA-3vp4-9jc4-q799

References

  • TI-2026-71508 Integer overflow in GitLab allows code execution on the server KEVCVSS 3.1CRITICAL 10.0
  • TI-2026-58817 Improper Limitation of a Pathname to a Restricted Directory ('Path Traversal') in GitLab KEVCVSS 3.1CRITICAL 10.0
  • TI-2023-06425 Weak Password Recovery Mechanism for Forgotten Password in GitLab KEVCVSS 3.1CRITICAL 10.0
  • TI-2021-05191 Code injection in GitLab KEVCVSS 3.1CRITICAL 10.0
  • TI-2021-05161 Server-side request forgery in GitLab KEVCVSS 3.1CRITICAL 9.8
  • TI-2022-02763 Injection in GitLab CVSS 3.1CRITICAL 9.9
See all 1506 →

Sources