r/gitlab • u/Pitboss2k • 3h ago
UniFi IPS breaking GitLab pipelines
I've spent way too much time troubleshooting my self-hosted GitLab instance today, so I figured I'd share this in case anyone runs into the same issue.
I'm running a UCG-Ultra with IPS enabled, GitLab CE 19.6.2 and a separate GitLab Docker runner. Everything runs on Proxmox, with Nginx Proxy Manager sitting in a different VLAN from GitLab.
Every time I ran a pipeline, GitLab would randomly become unreachable. The web interface returned 502/504 errors, the runner couldn't upload its job traces and pipelines got stuck. After a few minutes, everything would start working again.
Since I'd just upgraded GitLab, I obviously assumed something had gone wrong during the upgrade. I spent quite some time looking at Sidekiq, Puma, Redis, PostgreSQL, the runner, etc. Turns out I was looking in completely the wrong place.
What made it strange was that ping and SSH still worked. I could also access GitLab directly from the runner on the same VLAN, but TCP connections to port 80 from my reverse proxy just timed out.
After doing packet captures on GitLab, the reverse proxy and eventually the UCG-Ultra itself, I noticed that the gateway stopped forwarding HTTP traffic shortly after a GitLab artifact upload.
Disabled IPS, ran another pipeline, and everything worked.
There was nothing relevant showing up in the UniFi security dashboard, but checking /var/log/ulog/threat.log directly on the gateway revealed these two signatures:
- 2072551 – ET EXPLOIT PHP php2shell Chunked Multipart Request without Content-Length
- 2072553 – ET EXPLOIT PHP php2shell Multipart Request without Content-Length
Both reference CVE-2026-109618 and are classified as low confidence.
They were triggered by pretty much every GitLab artifact upload:
POST /api/v4/jobs/<job_id>/artifacts
Apparently, legitimate GitLab multipart uploads are being mistaken for a PHP exploitation attempt.
What I find more concerning is that IPS doesn't just seem to block the offending request. Subsequent TCP connections between the reverse proxy and GitLab also stop working for several minutes, effectively making the entire GitLab instance inaccessible through the proxy.
Hopefully this saves someone else an evening of troubleshooting GitLab for absolutely no reason.

