GitLab Commits API Vulnerability CVE-2026-85706: What You Need to Know
- Severity
- HIGH
- Affected component
- gitlab (github-actions)
- Patched version
- 19.1.8 || 19.2.6 || 19.3.2 || nieuwer
GitLab has patched a critical vulnerability in the commits API that allowed unauthenticated users to read arbitrary files. Users of affected versions should upgrade immediately.
What happened
GitLab has patched a critical vulnerability, tracked as CVE-2026-85706, in the commits API of both Community and Enterprise Editions. This vulnerability allowed unauthenticated users to perform path traversal, enabling them to read arbitrary files on the system. CISA has confirmed that this vulnerability is being exploited in the wild, with public exploit code available. Users of affected versions should upgrade immediately and review their API logs for suspicious activity.
The vulnerability was first flagged on September 12, 2026, and confirmed on September 14, 2026. Affected versions include those below 19.1.8, 19.2.6, and 19.3.2. The patched versions are 19.1.8, 19.2.6, and 19.3.2 or newer. It is recommended to upgrade to one of these versions and to rotate any credentials that may have been exposed.
What to do about it
- Upgrade to GitLab 19.1.8, 19.2.6, 19.3.2 or newer.
- Review API logs for any suspicious requests containing parameters like file.path.
- Rotate any credentials that may have been exposed due to this vulnerability.
- Monitor your system for any unusual activity that may indicate a compromise.
- Consult the primary sources for the most up-to-date information and additional mitigation steps.
How 0Day would have caught this
gitlab is anywhere in your dependency tree, the engineers who own the affected repositories get a push alert the moment it is flagged — no manual audit to remember to run.Read how this differs from waiting on a scanner to catch a known advisory, or see the exact, read-only access 0Day needs to do this for an organization.
Frequently asked questions
Am I affected?
You are affected if you are using GitLab versions below 19.1.8, 19.2.6, or 19.3.2.
What should I do right now?
Upgrade to GitLab 19.1.8, 19.2.6, 19.3.2 or newer and review your API logs for suspicious activity.
Has this been exploited in the wild?
Yes, this vulnerability is being actively exploited.
Sources
- NCSC-2026-0367 [1.00] [H/H] Kwetsbaarheid verholpen in GitLab Community en Enterprise Editions
- [GHSA-2h44-8472-frjj] @zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery
- [GHSA-vmp7-252j-cwp7] @zereight/mcp-gitlab: DNS rebinding reaches local Streamable HTTP MCP transport
- [GHSA-2h44-8472-frjj] @zereight/mcp-gitlab Vulnerable to Server-Side Request Forgery
- CISA: Hackers now exploit max severity GitLab flaw in attacks
- Maximum Severity GitLab Flaw Puts Supply Chains at Risk
- Perfect-10 GitLab bug under attack days after patch lands