# CVE-2026-85706: GitLab Community Edition and Enterprise Edition Path Traversal

> An unauthenticated attacker can read arbitrary files from the GitLab server due to improper path confinement in the repository commits API.

- **Severity:** Critical 10.0 (`CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:N`)
- **Exploited in the wild:** Yes, since 11 Sep 2026 (CISA KEV)
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Fix available:** Yes
- **Published:** 12 Sep 2026
- **Updated:** 23 Sep 2026
- **Also known as:** BIT-gitlab-2026-85706, GHSA-f47w-mrg9-g9p2, MINI-25wr-r8f5-2p27, MINI-2jm5-vxp4-xc4p, MINI-3352-4p33-w2m3, MINI-3wpr-v4gr-wwcj, MINI-473h-4xc8-fwjx, MINI-49q2-rw23-7j32, MINI-4gfp-cgc5-98w9, MINI-4rcx-j7qx-mrpr, MINI-65v7-q9p3-6m8f, MINI-66rg-h4fp-pp8p, MINI-756g-vqx9-mqc3, MINI-789h-mf2p-7wvh, MINI-7qcx-mq96-c6rh, MINI-7vf3-78r3-vx5x, MINI-85fh-qv8g-9f7v, MINI-9p35-v62w-9wgg, MINI-9pgx-9wq8-7xx3, MINI-9q2p-c3xj-g8h2, MINI-c3hr-w48h-vp65, MINI-c634-f394-m6qm, MINI-g5r3-p86c-95p3, MINI-g93w-6j4f-4fxp, MINI-h4xx-6xw6-5gc3, MINI-h5v3-wr9r-rc7r, MINI-p374-hq53-c4mc, MINI-q6x5-vxwq-ggq9, MINI-qc73-3m99-7w7v, MINI-qmpg-4cg3-mw3m, MINI-rc8g-7ppp-rjrp, MINI-vhgp-fpx3-h9h8, MINI-vpcg-vwjh-fmx5, MINI-w9xr-6x2v-6rqr, MINI-ww24-vc92-gq45, MINI-wwj5-ppf5-h929, MINI-wwmc-mrgh-2vxg, MINI-x4wx-x7w7-7g6w, MINI-xf2c-chxf-9v63, MINI-xq25-38vq-x4xf

## What is CVE-2026-85706?

CVE-2026-85706 is a critical path traversal vulnerability in Gitlab Gitlab, published on 12 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

GitLab has remediated an issue in GitLab CE/EE affecting all versions from 18.7 before 18.11.12, 19.0 before 19.0.9, 19.1 before 19.1.8, 19.2 before 19.2.6, and 19.3 before 19.3.2 that, under certain conditions, an unauthenticated user could have read arbitrary files from the GitLab server due to improper path confinement and missing authentication enforcement in the repository commits API.

Weakness: CWE-22 (Improper Limitation of a Pathname to a Restricted Directory)

## Which versions are affected by CVE-2026-85706?

1 open source package ship an affected version, including gitlab. It affects 1 product.


| Package | Ecosystem | Affected | Fixed in |
| --- | --- | --- | --- |
| `gitlab` | Bitnami | From 18.7.0 | 18.11.12, 19.0.9, 19.1.8, 19.2.6, 19.3.2 |

Products: Gitlab Gitlab.

## How do I fix CVE-2026-85706?

Upgrade gitlab to a fixed version for your release line: 18.11.12, 19.0.9, 19.1.8 or 19.2.6. US federal agencies must fix it by 14 Sep 2026.

## Is CVE-2026-85706 being exploited?

Yes. Attackers have exploited CVE-2026-85706 in the wild since at least 11 Sep 2026.

Public exploit code:

- Exploit poc for CVE-2026-85706 an unauthenticated arbitrary file read on Gitlab CE-EE affecting versions: 18.7–19.1.7; 19.2.0–19.2.5; 19.3.0–19.3.1 (github_poc): https://github.com/guneykabel/cve-2026-85706
- GitLab Unauthenticated Arbitrary File Read (github_poc): https://github.com/EQSTLab/CVE-2026-85706
- CVE-2026-85706 Unauthenticated File Read (github_poc): https://github.com/ynsmroztas/GitLabSniper
- cve-2026-85706-poc-exploit-gitlab (github_poc): https://github.com/0xlyvio/cve-2026-85706-poc-exploit-gitlab
- CVE-2026-85706_docker_exp (github_poc): https://github.com/FlowerWitch/CVE-2026-85706_docker_exp
- CVE-2026-85706 — GitLab Path Traversal IOC Scanner & Detection Toolkit. Detect and hunt for exploitation of the critical unauthenticated GitLab CE/EE path traversal vulnerability with IOC scanning, Sigma, Suricata/Snort, and SIEM detection rules. (github_poc): https://github.com/jithinkrishnanrs/gitlab-cve-2026-85706-ioc

## Other vulnerabilities in Gitlab Gitlab

- [CVE-2026-97229](https://insights.sbomify.com/CVE-2026-97229/): GitLab Community Edition and Enterprise Edition Integer Overflow or Wraparound (critical 10.0, exploited in the wild)
- [CVE-2023-7028](https://insights.sbomify.com/CVE-2023-7028/): GitLab Community and Enterprise Editions Improper Access Control (critical 10.0, exploited in the wild)
- [CVE-2021-22205](https://insights.sbomify.com/CVE-2021-22205/): GitLab Community and Enterprise Editions Remote Code Execution (critical 10.0, exploited in the wild)
- [CVE-2021-39935](https://insights.sbomify.com/CVE-2021-39935/): GitLab Community and Enterprise Editions Server-Side Request Forgery (SSRF) (medium 6.8, exploited in the wild)
- [CVE-2021-22175](https://insights.sbomify.com/CVE-2021-22175/): GitLab Server-Side Request Forgery (SSRF) (medium 6.8, exploited in the wild)

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-85706 and fix it if it is affected.

What it is: CVE-2026-85706 is a critical path traversal vulnerability in Gitlab Gitlab, published on 12 Sep 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: Yes. Attackers have exploited CVE-2026-85706 in the wild since at least 11 Sep 2026.

Affected packages and fixed versions:
- gitlab (Bitnami): affected from 18.7.0; fixed in 18.11.12, 19.0.9, 19.1.8, 19.2.6, 19.3.2

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-85706/ (Markdown: https://insights.sbomify.com/CVE-2026-85706/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-85706
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-85706
- OSV: https://osv.dev/vulnerability/CVE-2026-85706

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-85706/
Summaries are generated and may contain mistakes; the official description above is the record.
