Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-112326 Overview
CVE-2026-112326 is a low-severity flaw in GitLab Enterprise Edition (EE) that allows an authenticated user with read-only permissions to permanently delete existing vulnerability records. The issue stems from improper cleanup logic that fails to distinguish between pre-existing records and newly created ones during error handling. The flaw affects GitLab EE versions 17.8 through 19.3.6, 19.4 before 19.4.3, and 19.5 before 19.5.1. GitLab has released fixes in versions 19.3.6, 19.4.3, and 19.5.1.
Critical Impact
An authenticated low-privilege user can trigger error paths that delete vulnerability records, undermining the integrity of GitLab's vulnerability management workflow.
Affected Products
- GitLab EE versions 17.8 through 19.3.5
- GitLab EE 19.4 before 19.4.3
- GitLab EE 19.5 before 19.5.1
Discovery Timeline
- 2026-10-22 - CVE-2026-112326 published to NVD
- 2026-10-22 - Last updated in NVD database
Technical Details for CVE-2026-112326
Vulnerability Analysis
The flaw resides in GitLab EE's vulnerability management subsystem, specifically within the cleanup routines invoked during error handling. When an operation fails, the cleanup logic removes vulnerability records without verifying whether those records were created by the current operation or already existed in the database. This improper initialization of state during rollback [CWE-460] enables destructive side effects on persistent data.
A user with read-only permissions can trigger the error path under specific conditions. Because the cleanup process treats pre-existing records as transient, it deletes them permanently. The deleted records cannot be recovered through the application interface, forcing teams to restore from backups to reconstruct historical vulnerability data.
Root Cause
The root cause is improper cleanup logic classified under [CWE-460] (Improper Cleanup on Thrown Exception). The error handler lacks a check that distinguishes between records created during the current transaction and records retrieved from existing state. Both are treated identically during rollback, resulting in deletion of persistent data that should remain untouched.
Attack Vector
Exploitation requires network access to the GitLab instance and valid credentials with read-only permissions. The attacker triggers a vulnerability-related workflow that reaches the faulty error-handling path. Successful exploitation does not compromise confidentiality or availability of the service, but it permanently removes integrity-critical vulnerability records. Attack complexity is high because the conditions required to reach the vulnerable code path are not trivially reproducible.
Technical details are available in the GitLab Patch Release 19.5.1 notes and GitLab Work Item #633147.
Detection Methods for CVE-2026-112326
Indicators of Compromise
- Unexpected deletion events in the GitLab vulnerability management audit log tied to users holding only read-level roles.
- Discrepancies between the current vulnerability record count and historical baselines or backup snapshots.
- Error log entries from the vulnerability subsystem followed closely by record removal operations on the same request ID.
Detection Strategies
- Compare vulnerability record inventories against periodic exports or database snapshots to flag unexplained removals.
- Correlate application error logs with database DELETE statements against vulnerability tables to surface the cleanup pattern.
- Alert on API or UI actions by Reporter or Guest-equivalent roles that result in vulnerability record state changes.
Monitoring Recommendations
- Enable and centralize GitLab audit events covering vulnerability management actions and role assignments.
- Monitor PostgreSQL slow query and statement logs for bulk delete activity against the vulnerabilities table.
- Track EPSS scoring (currently 0.178%) and GitLab advisories for updates that may indicate expanded exploitability.
How to Mitigate CVE-2026-112326
Immediate Actions Required
- Upgrade GitLab EE to version 19.3.6, 19.4.3, or 19.5.1 depending on your deployment branch.
- Validate backups of vulnerability records before upgrading so deleted data can be restored if needed.
- Review role assignments and remove unnecessary read-only accounts, especially inactive integrations and tokens.
Patch Information
GitLab addressed the issue in versions 19.3.6, 19.4.3, and 19.5.1. The patch corrects the cleanup logic so that error-handling routines only remove records created during the failed operation. Full details are published in the GitLab Patch Release 19.5.1 announcement and the tracking entry at GitLab Work Item #633147.
Workarounds
- Restrict access to vulnerability management features through project-level permissions until the patch is applied.
- Increase the frequency of database backups to limit data loss if records are destroyed before patching completes.
- Audit custom integrations and personal access tokens that may invoke vulnerability APIs with read-only credentials.
# Configuration example: verify installed GitLab version
sudo gitlab-rake gitlab:env:info | grep -i "GitLab information" -A 5
# Upgrade on Omnibus (Debian/Ubuntu) to a patched release
sudo apt-get update && sudo apt-get install gitlab-ee=19.5.1-ee.0
sudo gitlab-ctl reconfigure
sudo gitlab-ctl restart
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

