CVE-2024-7586 Insertion of Sensitive Information into Log File in GitLab

Medium 4.1 Published Updated

Attackers with audit log access can view sensitive webhook authentication credentials exposed in GitLab Enterprise Edition logs.

Exploited in the wild
Not known
Login needed
An administrator
Attackable
Over the internet
Victim action needed
Not needed
Fix
Available

What is CVE-2024-7586?

CVE-2024-7586 is a medium-severity vulnerability in Gitlab Gitlab, published on 20 Jun 2025. An attacker needs administrator access to exploit it, with no action from the victim.

Official description

An issue was discovered in GitLab EE affecting all versions starting from 17.0 prior to 17.0.6, starting from 17.1 prior to 17.1.4, and starting from 17.2 prior to 17.2.2, where webhook deletion audit log preserved auth credentials.

Weakness: CWE-532

Which versions are affected by CVE-2024-7586?

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

PackageAffectedFixed in
gitlab BitnamiFrom 17.0.017.2.2

Products include Gitlab Gitlab.

How do I fix CVE-2024-7586?

Upgrade gitlab to 17.2.2 or later.

Is CVE-2024-7586 being exploited?

There is no known exploitation of CVE-2024-7586 in the wild and no public exploit code.

All Gitlab Gitlab vulnerabilities

Sources

Also known as BIT-gitlab-2024-7586, GHSA-wcpq-3gmh-2fh6, UBUNTU-CVE-2024-7586.

Is CVE-2024-7586 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free