Upgrade to the fixed release for your branch: 18.11.3, 18.10.6, 18.9.7.Vendor announcement
Self-managed only (GitLab.com is patched by GitLab). Follow the upgrade path: you may need intermediate versions.
Using distro packages? Distros backport fixes under their own version numbers. Check your distro's status for CVE-2025-12669 (and the other 24 CVEs):Debian · Ubuntu · Red Hat · Alpine