Upgrade to the fixed release for your branch: 18.6.2, 18.5.4, 18.4.6.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-11247 (and the other 9 CVEs):Debian · Ubuntu · Red Hat · Alpine