Skip to content
QIO journal

Technology3 min read

GitLab CVE-2026-85706: a 10-point flaw and the versions you must update

GitLab has patched CVE-2026-85706, rated the maximum 10 on the CVSS scale: a path traversal in the repository commits API lets an unauthenticated attacker read arbitrary server files. GitLab CE and EE 18.7–19.3.1 are affected; fixes shipped in 19.3.2, 19.2.6 and 19.1.8. Update today.

GitLab CVE-2026-85706: a 10-point flaw and the versions you must update

What the vulnerability is

A bug in the repository commits API: paths are restricted incorrectly and the authentication check is missing. An attacker without an account can reach files outside the repository: logs, configuration, credentials and access tokens. A 10 out of 10 rating means remote exploitation without privileges and full data compromise.

A folder tree with one branch reaching past a fence
Path traversal: the request escapes the repository to server files.

We keep client repositories on managed instances precisely because of news like this: a security update must happen the day it ships, not in the next quarterly release window.

Affected versions and fixes

The list is short, but exact numbers matter.

  • Vulnerable: GitLab CE and EE 18.7–19.1.7, 19.2–19.2.5, 19.3–19.3.1.
  • Fixed: 19.3.2, 19.2.6, 19.1.8.
  • A second flaw in the same release: CVE-2026-87719, 9.9 points, insecure deserialisation in GitLab EE GraphQL subscriptions, reachable by authenticated users.

What an administrator should do

Steps from simplest to most laborious.

  • Install the patch version of your branch without waiting for a maintenance window.
  • If updating today is impossible, restrict public access to the instance at the network level.
  • Check logs for suspicious requests to /api/v4/projects/{id}/repository/commits/ over recent weeks.
  • On signs of exploitation, rotate tokens, keys and passwords that could have been in accessible files.

Why small teams are affected too

Self-hosted GitLab gets installed 'just in case' and goes unupdated for years. Such instances are the first ones scanners find. If there is no update process, the minimum protection is to put the instance behind VPN or ZTNA and subscribe to GitLab security releases.

Summary

CVE-2026-85706 is a rare 10-point vulnerability in a mass-market product. Update to 19.3.2, 19.2.6 or 19.1.8, check logs and rotate secrets at the slightest suspicion.

Sources

  1. Developers urged to patch a critical GitLab vulnerability (Xakep.ru, in Russian)
  2. GitLab releases and security updates
  3. OWASP: Path Traversal
  • GitLab
  • CVE
  • CVSS
  • Path traversal
  • GraphQL

Follow the journal

New pieces on websites, SEO and AI come out in the QIO journal. Follow in Google, by RSS or in Telegram to get them first.

Read next

How can we help?
Discuss a project