CVE-2025-5101
MEDIUM 5 ALL-YEARSAn 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.
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
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:
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
| Vendor | Product | Version range |
|---|---|---|
| Gitlab | Gitlab | < 18.1.5 |
| Gitlab | Gitlab | < 18.1.5 |
| Gitlab | Gitlab | ≥ 18.2.0 and < 18.2.5 |
| Gitlab | Gitlab | ≥ 18.2.0 and < 18.2.5 |
| Gitlab | Gitlab | 18.3.0 |
| Gitlab | Gitlab | 18.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)
- https://hackerone.com/reports/3124199 CVE record · GitLab · Updated 2025-08-27T19:33:36.040Z
NVD · CVE-2025-5101 · Updated 2026-06-17T09:47:11.977
Advisories
- https://euvd.enisa.europa.eu/vulnerability/EUVD-2025-25949 EUVD · EUVD-2025-25949
Technical & other
- https://gitlab.com/gitlab-org/gitlab/-/issues/545165 CVE record · GitLab · Updated 2025-08-27T19:33:36.040Z
NVD · CVE-2025-5101 · Updated 2026-06-17T09:47:11.977
Sources: NVD · CVE.org · All sources and attribution · EPSS