Skip to content Are you an AI agent? QIO facts, prices and requests are here

Technology2 min read

A 10 out of 10 GitLab flaw hands over server files without a password

GitLab has patched CVE-2026-85706, rated the maximum 10 on the CVSS severity scale: a path traversal in the repository commits API lets an unauthenticated attacker read arbitrary server files. Affected are GitLab CE and EE (Community and Enterprise Edition) from 18.7 through 19.1.7, 19.2–19.2.5 and 19.3–19.3.1; fixes shipped in 19.1.8, 19.2.6 and 19.3.2. Update today.

A cracked GitLab logo

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. It is enough for the instance to have at least one public project. The 10 out of 10 rating describes what is possible: remote exploitation without privileges and full data compromise. Researchers have seen scans of vulnerable servers since 11 September 2026, and the first exploitation attempts came within hours of disclosure.

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. An authenticated user with access to Duo Chat can obtain Advanced Search settings and credentials.

What an administrator should do

Steps from simplest to most laborious.

  • Install your branch’s fixed release (19.1.8, 19.2.6 or 19.3.2) promptly. From 18.7–19.0, follow GitLab’s upgrade path to a fixed release in one of those branches.
  • If updating today is impossible, restrict public access to the instance at the network level.
  • Check logs for suspicious POST requests to /api/v4/projects/{id}/repository/commits/ with a file.path parameter over recent weeks. A suspicious request suggests an attempt. Disclosure requires evidence that file contents were returned. Missing logs cannot rule out an incident outside the retention period.
  • If exposure is plausible, rotate any tokens, keys or passwords the affected files may have held.

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 a VPN or ZTNA (Zero Trust Network Access: access only to specific services after a user and device check) and subscribe to GitLab security releases.

Summary

Update to the fixed release for your branch, review the available logs and rotate any secrets that may have been exposed.

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