CVE-2021-22171Gitlab
Medium 6.5 No auth needed
Follow: this CVE · Gitlab · Gitlab We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- 1.7% probability of exploitation in 30 days · percentile 77
- Auth required
- No
- Published
- Jan 15, 2021
- Updated
- Jun 17, 2026
- Category
- Server · Cross-platform
- Weakness (CWE)
- CWE-287
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
What happens
Insufficient validation of authentication parameters in GitLab Pages for GitLab 11.5+ allows an attacker to steal a victim's API token if they click on a maliciously crafted link
What to do
- Apply the vendor's security update for Gitlab.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| gitlab | gitlab | ≥ 11.5.0 < 13.5.6 |
| gitlab | gitlab | ≥ 11.5.0 < 13.5.6 |
| gitlab | gitlab | ≥ 13.6.0 < 13.6.4 |
| gitlab | gitlab | ≥ 13.6.0 < 13.6.4 |
| gitlab | gitlab | ≥ 13.7.0 < 13.7.2 |
| gitlab | gitlab | ≥ 13.7.0 < 13.7.2 |
Official sources
References
Links published by the sources. Open them with care.
- gitlab.com Vendor Advisory
- gitlab.com Broken Link
- hackerone.com Permissions Required Third Party Advisory