title: Bypassing Cloudflare Zero Trust policies using warp-cli set-custom-endpoint command
description: It was possible to bypass policies configured for Zero Trust Secure Web Gateway by using warp-cli 'set-custom-endpoint' subcommand. Using this command with an unreachable endpoint caused the WARP Client to disconnect and allowed bypassing administrative restrictions on a Zero Trust enrolled endpoint.
problem types: CWE-862 Missing Authorization
affected:
{
defaultStatus: unaffected
platforms: Windows
product: WARP
vendor: Cloudflare
versions:
lessThan: 2022.8.857.0, status: affected, version: 0, versionType: semver
}
{
defaultStatus: unaffected
platforms: Linux
product: WARP
vendor: Cloudflare
versions:
lessThan: 2022.8.936, status: affected, version: 0, versionType: semver
}
{
defaultStatus: unaffected
platforms: MacOS
product: WARP
vendor: Cloudflare
versions:
lessThan: 2022.8.861.0, status: affected, version: 0, versionType: semver
}
metrics:
cvssV3_1: [
attackComplexity: LOW
attackVector: LOCAL
availabilityImpact: LOW
baseScore: 6.7
baseSeverity: MEDIUM
confidentialityImpact: NONE
integrityImpact: HIGH
privilegesRequired: LOW
scope: CHANGED
userInteraction: REQUIRED
vectorString: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:C/C:N/I:H/A:L
version: 3.1
]
format: CVSS
scenarios: GENERAL
solutions: Upgrade to specified patched versions.