GitLab CVE-2025-64446 Is Being Exploited: Check and Patch Your Instance Now
CISA added a maximum-severity GitLab vulnerability to its Known Exploited Vulnerabilities (KEV) catalog after confirming attackers are actively exploiting it in the wild. The flaw — tracked as CVE-2025-64446 with a CVSS score of 10.0 — allows unauthenticated attackers to bypass authentication and gain administrative access to affected GitLab instances. If you run GitLab Self-Managed (CE or EE), treat this as a fire alarm, not a newsletter. This guide gives you the exact commands to check your version, patch in minutes, and hunt for signs of compromise.
What Exactly Is CVE-2025-64446?
GitLab patched this vulnerability in its October 2025 security release (versions 18.4.2, 18.3.4, and 18.2.6). The bug is a path traversal / improper access control issue in the GitLab authentication layer that lets a remote, unauthenticated attacker bypass login restrictions and impersonate any user — including administrators.
| Detail | Value |
|---|---|
| CVE ID | CVE-2025-64446 |
| CVSS Score | 10.0 (Critical) |
| Attack Vector | Network, unauthenticated |
| Affected Versions | GitLab CE/EE 18.2.x, 18.3.x, 18.4.x (before patch) |
| Fixed Versions | 18.4.2, 18.3.4, 18.2.6 |
| Exploitation Status | Active, in the wild (CISA KEV) |
| CISA Remediation Deadline | Per BOD 22-01, federal agencies must patch within 3 days of KEV listing |
Who’s affected: Any self-managed GitLab instance running an unpatched version in the 18.2–18.4 range. GitLab.com (SaaS) users are already patched — no action needed there.
Step-by-Step: Check, Patch, and Verify in Under 10 Minutes
Step 1 — Check your current version
SSH into your GitLab server and run:
sudo gitlab-rake gitlab:env:info
Or check via the web UI: Admin Area → Overview → Components. Look at the top of the dashboard.
Step 2 — Patch immediately
Omnibus (Linux package) installations:
sudo apt-get update
sudo apt-get install gitlab-ce # or gitlab-ee
sudo gitlab-ctl reconfigure
Docker installations:
docker pull gitlab/gitlab-ce:18.4.2-ce.0 # or gitlab-ee equivalent
docker stop gitlab && docker rm gitlab
docker run --detach --name gitlab [your existing flags] gitlab/gitlab-ce:18.4.2-ce.0
Kubernetes/Helm: bump your gitlab/gitlab chart to the release that ships 18.4.2 or later and run helm upgrade.
Step 3 — Verify the patch landed
sudo gitlab-rake gitlab:env:info | grep "GitLab Version"
Confirm you see 18.4.2, 18.3.4, 18.2.6, or newer.
Step 4 — Hunt for compromise indicators
Patching closes the door, but if you were exposed for days, check for backdoors:
- Review Admin Area → Monitoring → Audit Events for logins or admin actions from unfamiliar IPs.
- Check for newly created admin users:
sudo gitlab-rails runner "User.admins.each { |u| puts u.username }" - Inspect for rogue personal access tokens and SSH keys added to admin accounts.
- Search web server logs for anomalous requests to authentication endpoints:
sudo grep -i "auth" /var/log/gitlab/nginx/access.log | tail -100 - Rotate all secrets:
gitlab-secrets.json, runner tokens, CI/CD variables, and any credentials stored in projects.
Step 5 — Block the attack surface while patching
If you can’t patch instantly, restrict access at the network layer:
- Put GitLab behind a VPN or IP allowlist.
- Block external access to
/users/sign_inand API endpoints via your WAF/reverse proxy. - Do not rely on this as a fix — it’s a stopgap only.
Common Issues, Alternatives, or What You Should Know
“My package manager says I’m already on the latest version.” Check your apt/yum repo pinning. Some mirrors lag behind. Verify against the official GitLab release blog and force the exact version with sudo apt-get install gitlab-ce=18.4.2-ce.0.
“I’m on GitLab 17.x — am I safe?” The CVE targets the 18.2–18.4 branches. Older, unsupported versions have their own unpatched flaws — upgrade to a supported release regardless.
“We use GitLab.com.” You’re patched server-side. Rotate passwords anyway if you reused credentials elsewhere.
“Is there a workaround if I can’t patch today?” No official workaround exists. Network isolation (VPN-only access) is the only meaningful mitigation until you patch. Per CISA’s KEV guidance, remediation should happen within 3 days for federal agencies — private orgs should match that urgency.
Cost of inaction: A compromised GitLab instance means attackers own your source code, CI/CD pipelines, secrets, and can push malicious code into production. That’s a supply-chain breach, not just a login issue.
Frequently Asked Questions (FAQ)
Is GitLab CVE-2025-64446 being exploited right now?
Yes. CISA confirmed active in-the-wild exploitation and added the flaw to its Known Exploited Vulnerabilities catalog, which triggers mandatory patching deadlines for US federal agencies.
Which GitLab versions fix CVE-2025-64446?
GitLab patched the flaw in 18.4.2, 18.3.4, and 18.2.6, released in October 2025. Any version before those in the 18.2–18.4 branches is vulnerable.
Does CVE-2025-64446 affect GitLab.com SaaS users?
No. GitLab.com is already patched server-side. The vulnerability only impacts self-managed GitLab CE and EE instances running unpatched versions.
How do I know if my GitLab was already compromised?
Check audit events for unfamiliar admin logins, list admin users with gitlab-rails runner, review personal access tokens and SSH keys, and inspect nginx access logs for suspicious authentication requests. If anything looks off, rotate all secrets immediately.
What is the CVSS score of this GitLab vulnerability?
10.0 — the maximum possible score, reflecting unauthenticated remote code and admin-level access with no user interaction required.
Final Verdict
Patch today — not this week. CVE-2025-64446 is a 10.0 severity flaw with confirmed active exploitation, and GitLab instances are high-value targets because they hold your source code, secrets, and deployment pipelines. Run the version check, upgrade to 18.4.2 (or the equivalent patched release for your branch), verify the install, then audit for compromise indicators. If you’re on GitLab.com, you’re covered — but if you manage a self-hosted instance and you’re still reading instead of patching, stop reading and run sudo apt-get install gitlab-ce right now.