← All CVEs

CVE-2025-5101

MEDIUM 5 ALL-YEARS

Published 2025-08-27 · Last modified 2025-08-27 · GitLab · NVD: Analyzed

An issue has been discovered in GitLab CE/EE affecting all versions before 18.1.5, 18.2 before 18.2.5, and 18.3 before 18.3.1 that under certain conditions could have allowed an authenticated attacker to distribute malicious code that appears harmless in the web interface by taking advantage of ambiguity between branches and tags during repository imports.

LIMITED SIGNALS

No known exploitation, public exploit, or elevated probability at this time. Track for changes.

Exploitation likelihood

0.1%chance of exploitation in 30 days · 2nd percentile

○ In CISA KEV○ Catalogued PoC◆ SSVC: exploitation none, automatable no

Impact if exploited

5CVSS 3.1 · MEDIUM · CNA

  • ConfidentialityNone
  • IntegrityHigh
  • AvailabilityNone

What an attacker needs

  • ⚠Access: Requires local access to the host
  • ⚠Privileges: Requires an admin / high-privilege account
  • ⚠User interaction: A user must take an action (click / open a file)
  • ⚠Complexity: Needs a race window or specific setup

✓ lowers the bar for an attacker · ⚠ raises it

Proof of concept

No public PoC is currently catalogued.

Search for new PoCs

Search GitHub now — results may be empty or unverified.

Tracked sources are checked weekly for the full archive, including PoCs published after the original disclosure. A later release appears after a tracked source lists it and a refresh succeeds.

Data snapshot:

Affected

Vendors Gitlab

Products Gitlab

Weakness (CWE)

  • CWE-94: : Improper Control of Generation of Code ('Code Injection')

CVSS vector

CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N

References and research data (JSON)

Known Affected Software Configurations

VendorProductVersion range
GitlabGitlab< 18.1.5
GitlabGitlab< 18.1.5
GitlabGitlab≥ 18.2.0 and < 18.2.5
GitlabGitlab≥ 18.2.0 and < 18.2.5
GitlabGitlab18.3.0
GitlabGitlab18.3.0

All CVSS metrics

  • MEDIUM 5 v3.1 · CNA Primary
    CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N
  • MEDIUM 5 v3.1 · NVD Secondary
    CVSS:3.1/AV:L/AC:H/PR:H/UI:R/S:C/C:N/I:H/A:N

References

Exploit-tagged references (not proof of a PoC)

Technical & other

Sources: NVD · CVE.org · All sources and attribution · EPSS