CVE-2026-85706: GitLab repository commits API path traversal allows unauthenticated file reads

Exploited in the wild Critical 10.0 EPSS 97.4% GitLab CE/EE

Improper path confinement and missing authentication enforcement in the GitLab CE/EE repository commits API let an unauthenticated attacker read arbitrary files from the GitLab server, including configuration and secrets files such as gitlab.yml. GitLab fixed it in 19.3.2, 19.2.6 and 19.1.8 on September 10, 2026, and backported the fix to 19.0.9 and 18.11.12 on September 23, 2026; versions before 18.7 are not affected. CISA added it to the Known Exploited Vulnerabilities catalog on 2026-09-11 as exploited in the wild.

What do these terms mean? CVE · CVSS score · exploited (KEV) · EPSS · backported fix · all terms

What to do now

  1. Check whether you run GitLab CE/EE and which version (commands below).
  2. Install the fixed version for your system: see “Patch it” below.
  3. GitLab says this patch includes database migrations: single-node instances are down until the migrations finish, while multi-node instances can use the zero-downtime upgrade procedure. Run `sudo gitlab-rake gitlab:check` afterwards.
  4. Because this flaw is being exploited, also check the server for signs of compromise.

Affected and fixed versions

Affected:

Fixed in:

Am I affected?

sudo gitlab-rake gitlab:env:info
dpkg -l gitlab-ee gitlab-ce 2>/dev/null | grep ^ii
rpm -q gitlab-ee gitlab-ce

Patch it

Use the commands for your system. Distribution packages often keep an older version number with the fix backported, so compare with the fixed package versions in the table below, not only with the upstream version.

Debian
sudo apt update && sudo apt install gitlab-ee=19.3.2-ee.0
# other series: 19.2.x -> 19.2.6, 19.1.x -> 19.1.8, 19.0.x -> 19.0.9, 18.11.x -> 18.11.12, or any later patch release of your series
# Community Edition: sudo apt update && sudo apt install gitlab-ce=19.3.2-ce.0
Ubuntu
sudo apt update && sudo apt install gitlab-ee=19.3.2-ee.0
# other series: 19.2.x -> 19.2.6, 19.1.x -> 19.1.8, 19.0.x -> 19.0.9, 18.11.x -> 18.11.12, or any later patch release of your series
# Community Edition: sudo apt update && sudo apt install gitlab-ce=19.3.2-ce.0
RHEL, AlmaLinux, Rocky, Oracle
# RHEL/AlmaLinux/Oracle Linux 9 (use .el8 on EL8)
sudo dnf install gitlab-ee-19.3.2-ee.0.el9
# other series: 19.2.x -> 19.2.6, 19.1.x -> 19.1.8, 19.0.x -> 19.0.9, 18.11.x -> 18.11.12, or any later patch release of your series
# Community Edition: sudo dnf install gitlab-ce-19.3.2-ce.0.el9
Fedora
not packaged
SUSE / openSUSE
# openSUSE Leap 15.5
sudo zypper install gitlab-ee=19.3.2-ee.sles15
# SLES 12
sudo zypper install gitlab-ee=19.3.2-ee.0.sles12
# other series: 19.2.x -> 19.2.6, 19.1.x -> 19.1.8, 19.0.x -> 19.0.9, 18.11.x -> 18.11.12, or any later patch release of your series; Community Edition: gitlab-ce=<version>-ce.sles15 (SLES 12: -ce.0.sles12)
Amazon Linux
# Amazon Linux 2023
sudo dnf install gitlab-ee-19.3.2-ee.0.amazon2023
# Amazon Linux 2
sudo yum install gitlab-ee-19.3.2-ee.0.amazon2
# other series: 19.2.x -> 19.2.6, 19.1.x -> 19.1.8, 19.0.x -> 19.0.9, 18.11.x -> 18.11.12, or any later patch release of your series; Community Edition: gitlab-ce-<version>-ce.0.<suffix>
Arch Linux
sudo pacman -Syu
Alpine
apk update && apk upgrade gitlab-runner (runner only)
FreeBSD
pkg update && pkg upgrade gitlab-ce
Docker images
# in docker-compose.yml set: image: gitlab/gitlab-ee:19.3.2-ee.0  (other series: 19.2.x -> 19.2.6, 19.1.x -> 19.1.8, 19.0.x -> 19.0.9, 18.11.x -> 18.11.12, or any later patch release of your series; CE: gitlab/gitlab-ce:<version>-ce.0)
docker compose pull
docker compose up -d

General update steps for every system are on the Linux and Unix & BSD pages; after updating, see which services to restart.

Look for signs of exploitation

CISA required action: Apply mitigations in accordance with vendor instructions, ensuring compliance with CISA’s BOD 26-04 Prioritizing Security Updates Based on Risk (see URL in Notes) guidance and CISA’s “Forensics Triage Requirements” (see URL in Notes). Follow applicable BOD 26-04 guidance for cloud services or discontinue use of the product if mitigations are unavailable. Stakeholders are responsible for evaluating each asset's internet exposure and ensuring adherence to BOD 26-04 patching guidelines.

https://docs.gitlab.com/releases/patches/patch-release-gitlab-19-3-2-released/ ; BOD 26-04: https://www.cisa.gov/news-events/directives/bod-26-04-prioritizing-security-updates-based-risk ; Forensics Triage Requirements: https://www.cisa.gov/news-events/directives/bod-26-04-implementation-guidance-prioritizing-security-updates-based-risk ; https://nvd.nist.gov/vuln/detail/CVE-2026-85706

Related vulnerabilities

Sources

Page generated automatically from official sources on 2026-11-03 18:05 UTC and reviewed by an editor. Always confirm with your vendor's advisory.