CVE-2018-19572
Description
GitLab CE 8.17 and later and EE 8.3 and later have a symlink time-of-check-to-time-of-use race condition that would allow unauthorized access to files in the GitLab Pages chroot environment. This is fixed in versions 11.5.1, 11.4.8, and 11.3.11.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
A TOCTOU race condition in GitLab Pages allows unauthorized file access via symlinks in the chroot environment.
Vulnerability
A time-of-check-to-time-of-use (TOCTOU) race condition exists in the gitlab-pages component of GitLab CE (8.17 and later) and EE (8.3 and later). The vulnerability arises because GitLab allows symlinks in the deployed pages tree. When the pages tree is replaced, the symlink check can run on the previous tree while the subsequent open operation runs on the new tree, enabling an attacker to bypass symlink restrictions. This issue is fixed in versions 11.5.1, 11.4.8, and 11.3.11 [1].
Exploitation
An attacker must have the ability to create or modify symlinks within the GitLab Pages deployment tree. The race window occurs during the replacement of the pages tree; the attacker can craft a symlink that points outside the intended chroot environment. By timing the replacement, the symlink check passes on the old tree, but the file open uses the new tree, allowing access to arbitrary files [1].
Impact
Successful exploitation allows an attacker to read files outside the GitLab Pages chroot environment, leading to unauthorized information disclosure. The attacker gains access to files that should be restricted, potentially including sensitive data from other projects or the host system [1].
Mitigation
Upgrade to GitLab versions 11.5.1, 11.4.8, or 11.3.11 or later, which contain the fix. The issue is resolved by dropping symlinks during extraction, as suggested in the reference [1]. No workaround is documented for unpatched versions.
AI Insight generated on May 26, 2026. Synthesized from this CVE's description and the cited reference URLs; citations are validated against the source bundle.
Affected products
2- GitLab/CE/EEdescription
- Range: >=8.17 <11.3.11 || >=11.4.0 <11.4.8 || >=11.5.0 <11.5.1
Patches
0No patches discovered yet.
Vulnerability mechanics
AI mechanics synthesis has not run for this CVE yet.
References
2- about.gitlab.com/2018/11/28/security-release-gitlab-11-dot-5-dot-1-released/mitrex_refsource_CONFIRM
- gitlab.com/gitlab-org/gitlab-pages/issues/98mitrex_refsource_MISC
News mentions
0No linked articles in our index yet.