github.com/rancher/fleet
Affected
- introduced
0.15.0, fixed0.15.2(semver)
Fixed versions
0.15.2
Fix
- Fixed version
0.15.2go get github.com/rancher/[email protected]
Advisory
Also known as: CVE-2026-44937, GO-2026-5874
Rancher Fleet has Unauthenticated Webhook: Regex Injection via Unsanitized Repository URL Components
Impact
A vulnerability has been identified in Fleet when the webhook endpoint is configured without a secret; an attacker can forge webhook requests. The attacker doesn't need to know the specific repository or path configured in the GitRepo resource to make Fleet process these requests.
An attacker can exploit this vulnerability to cause the following impacts:
Please consult the associated MITRE ATT&CK - Technique - T1499.004: Endpoint Denial of Service for further information about this category of attack.
Patches
To resolve this vulnerability, upgrade Fleet to a patched version. This upgrade version escapes the URL and path to the remote repository received from webhooks, which prevents regular expressions from being used as a replacement for the URL and path.
Patched versions of Fleet include releases v0.15.2, v0.14.6, 0.13.11, and v0.12.15.
Workarounds
If you can't upgrade to a fixed version, please make sure to only enable webhooks with a shared secret.
Credits
This security issue was reported by the following collaborators according to our responsible disclosure policy:
References
If you have any questions or comments about this advisory:
High Basis: The source's own band: HIGH
0.15.0, fixed 0.15.2 (semver)0.15.2
0.15.2go get github.com/rancher/[email protected]0.14.0, fixed 0.14.6 (semver)0.14.6
0.14.6go get github.com/rancher/[email protected]0.13.0, fixed 0.13.11 (semver)0.13.11
0.13.11go get github.com/rancher/[email protected]0.12.0, fixed 0.12.15 (semver)0.12.15
0.12.15go get github.com/rancher/[email protected]Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.
Check your own computer: guard packages check
Source: GitHub Advisory Database (reviewed advisories) · CC BY 4.0