Note
Would you kindly spend 5 minutes to give your feedback on your deployment and what you'd like to see in Warpgate?
The GitOps support was the most asked for feature in the survey proposed by users just like you.
Backwards-incompatible and behavioral changes are marked ⚠️
Major new features
GitOps - #1578
Targets, target groups, roles, role assignments and SSH client keys can now be managed declaratively via YAML files - locally, in a Git repository or submitted via API. Includes webhooks, dry-run mode and automatic export of the existing resources.
New navigation - #2870
The Config section has been split into Manage (day-to-day administration) and Config (mostly one-time configuration)
Kubernetes impersonation modes - #2999
Kubernetes targets have a new impersonation option that controls which Impersonate-* headers are sent upstream:
off(default): impersonation headers sent by the client are dropped.allow_all: impersonation headers sent by the client are passed through unchanged.warpgate_username:Impersonate-Useris set to the user's Warpgate username, and any impersonation headers from the client are dropped.
In #3000
Features
Azure Blob Storage backend for session recordings - #2678
Recordings can now be stored in Azure Blob Storage, authenticated via Entra ID (managed identity, workload identity, service principal or Azure CLI). Playback is either streamed through Warpgate (default) or redirected to a SAS URL.
by @mrmm
Customizable columns in UI - #2860
Various tables now have column toggles to show and hide columns
HTTP target default path - #2904
HTTP targets now respect the path and fragment set in the upstream URL and use it for the initial navigation
Audit log for admin changes - #2752
Audit event logging for all resource modifications (#2612).
Windows support (preview) - #2862
Added support for building and running on Windows.
by @vdhome-dev
X-Warpgate-Ticket header - #2751
HTTP tickets can now be passed in an X-Warpgate-Ticket header, leaving Authorization free for the target's own authentication.
by @JulioRamos0
OIDC discovery_url and Oracle IDCS support - #2869
Custom SSO providers can set a discovery_url for providers that host their discovery document somewhere other than the issuer URL. IDCS-style id/name group fields are accepted for role mapping. When preferred_username is missing, the username falls back to email.
by @robo-cap
Changes
Kubernetes
- Kubernetes: new API recordings are written with a seek index, speeding up loading - #3002
- Kubernetes: sessions are now database-backed, and session approvals can be shared by all cluster nodes in #2839
- Kubernetes: each session now gets one API recording per node instead of a new recording for every request. Switching recording off ends the live recording, and a live API recording can be viewed from any cluster node, in #2987
SSH
- Web SSH: added custom font selection (#2912) by @MartinAbadie in #2913
- fixed #2769 - SSH:
diffie-hellman-group14-sha1anddiffie-hellman-group-exchange-sha1are now available withallow_insecure_algosby @ManneG in #2867 - SSH: the target menu now authorizes all targets with a single query instead of one per target (#2885) by @thecicco in #2886
- fixed #2955 - ⚠️ SSH: Warpgate now also offers NIST ECDH key exchange (
ecdh-sha2-nistp256/384/521) to targets by default in #2978
RDP
General
- Expired tickets now show "Expired" and can be dismissed by @fergusean in #2674
- Helm:
readinessProbeis now configurable by @basti-nis in #2897 - Admin API: the logo is now set through its own
parameters/logoendpoint instead of the parameters update in a6e0ba6 - Azure Blob Storage: the local scratch directory that holds recordings before upload can now be set with
scratch_path, in #2985 - Refreshed onboarding hints and target creation/options forms in the admin UI in 5addfc3
- russh, rsa and IronRDP dependencies updated in 9b26536 and c0f81ca
- fixed #2398 - ⚠️ OIDC: role removal is now strict. If role mappings are configured and IdP returns no role claim, managed roles are stripped from the user, in #2980
- fixed #2976 - ⚠️ S3: a blank key prefix no longer adds a leading
/to object keys. Existing configs with a blank prefix are migrated to/so recordings already stored stay readable, in #2979
Security fixes
Moderate GHSA-893j-96w5-q4g7 - Malicious Kubernetes targets can capture the user's Warpgate API token via a redirect
Suggested action: upgrade if using untrusted/user-controlled Kubernetes targets
Redirects returned by a Kubernetes target were passed through to the client unchanged. kubectl follows them and re-sends its Warpgate token to the new host, so a target could redirect a user to a server of its choosing and collect the token. Redirects pointing outside the target are now dropped.
Moderate GHSA-vpgp-pg4v-f9m3 - Malicious PostgreSQL targets can capture the target password when TLS mode is Preferred
Suggested action: upgrade if using PostgreSQL targets with TLS mode set to Preferred
A PostgreSQL target could refuse TLS and then request SASL PLAIN authentication, making Warpgate send the configured target password or IAM token unencrypted. Warpgate no longer agrees to SASL PLAIN with a target.
Security hardening
- ⚠️ API tokens can no longer be used to issue new API tokens in 236e804
- New
user_api_token_allowed_endpointsconfig option restricts which API endpoints are reachable with token auth (<METHOD> <path>, with*/**wildcards) in 5aca27f and 62c808e - Request body size limits tightened further in a6e0ba6
- ⚠️ PostgreSQL: Warpgate no longer agrees to SASL
PLAINauthentication with a target in 17fbee6 - Credentials are now redacted in debug and setup output, and generated files are created with
0600permissions in #2962 - Warpgate now refuses to start with an empty
WARPGATE_ADMIN_TOKENby @mr-karan in #2857 - ⚠️ Admin API: reading a secret backend now requires the
ConfigEditpermission, and stored secrets are guarded when its endpoint is changed by @mtthsbrd in #2816
Fixes
- fixed #2777 - SSH: a window resize sent while the target is still connecting is now forwarded by @megative in #2873
- PostgreSQL: long-running queries are no longer disconnected by the idle timeout (#2915) by @sirluky in #2917
- fixed #2632 - HTTP: a domain-bound target is no longer remembered as the main host's target by @TheSigaro in #2903
- fixed #2841 - the ticket request form now uses the target's own maximum ticket duration by @TheSigaro in #2902 and @fergusean in 3cf4b18
- fixed #2937 - Kubernetes: the region is now parsed from EKS dual-stack endpoints by @treasuryspring-lg in #2938
warpgate healthchecknow sends a PROXY header whenhttp.proxy_protocolis enabled (#2883) by @cgrard in #2884- fixed #2932 - RDP: clipboard paste race in the web client in #2933
- Kubernetes: websocket streams that offer no subprotocol are now proxied (#2662) in #2832
- SSH: ticket logins now work with clients restricted to public-key authentication (#2667) in #2868
- Docker: config environment substitutions are applied in the order given in #2835
- Web RDP/VNC: target connection errors are now reported to the client correctly in d2325c3
- fixed #2998 - LDAP: on PostgreSQL and MySQL,
users.ldap_object_uuidwas created as a string column, which caused database errors after LDAP user sync. It is now migrated to a UUID column, in 84113c8 - SSH: when a password or public key is accepted but another factor is still needed, Warpgate now reports partial success (RFC 4252 §5.1), so clients that only continue on partial success no longer give up, in 4c42c58
- Admin UI: narrow pages no longer overflow on medium-width windows, in a17f683
- fixed #2872 - SSH: the exit status is no longer lost when the client closes a session channel early (e.g. OpenSSH ControlMaster) by @SvenHerrmann in #2881
- SSH: multiple PTYs opened at the target menu are now handled in 328593b
- SSH: enabling OTP for a user no longer drops public-key authentication or adds a duplicate TOTP requirement by @mtthsbrd in 98898af
- fixed #2619 - PostgreSQL: in-browser auth now works for any credential policy, including SSO-only users by @TheSigaro in #2923
- fixed #2656 - cluster peer forwarding now works with PROXY protocol enabled by @TheSigaro in #2924
- fixed #2896 - peer address detection now falls back to IPv6 by @TheSigaro in #2905
- fixed #2956 - SQLite: concurrent transactions no longer fail fighting over writes in 724f220
- SQLite: data paths containing spaces or non-ASCII characters now work by @vdhome-dev in #2862
- fixed #2945 - VNC: extraneous refresh requests and a busy loop in #2959
- VNC: fixed a panic when the viewer disconnects while the banner is shown by @mtthsbrd in 0082e8d
- Web SSH and web desktop sessions now record the trusted client IP when behind a proxy by @mtthsbrd in #2948
- fixed #2875 - duplicate and empty admin role names are now rejected by @megative in #2876
- Fixed a panic in the rate limiter with a
u32::MAXbytes-per-second limit by @mtthsbrd in 1947e8b - Fixed a TCP sequence number overflow in the traffic recorder by @mtthsbrd in cb47960
- Admin UI: ctrl/cmd-clicking links now opens them in a new tab in 6efaaf2
- SSH: when a target is slow to answer a port-forwarding request or channel open, the rest of the SSH connection no longer freezes, in #2973
- fixed #2680 - SSH: a forwarded channel's traffic recorder is now released when its last channel closes. By @megative in #2874
- Kubernetes: gzip-encoded responses from the API server are passed through unchanged, so WatchList streams arrive whole. In #2982
- fixed #2977 - Web desktop: keys held down when the window loses focus are now released on the target in 441656f
- fixed #2779 - Admin UI: lists show load errors instead of spinning forever in #2981, and the secret backends page now checks the admin's permissions in 2dfbc16
- S3 errors now include the underlying SDK error message in 4d4b7dc
New Contributors
- @ManneG made their first contribution in #2867
- @treasuryspring-lg made their first contribution in #2938
- @thecicco made their first contribution in #2886
- @sirluky made their first contribution in #2917
- @TheSigaro made their first contribution in #2902
- @cgrard made their first contribution in #2884
- @MartinAbadie made their first contribution in #2913
- @mr-karan made their first contribution in #2857
- @JulioRamos0 made their first contribution in #2751
- @jb2barrels made their first contribution in #1496
- @SvenHerrmann made their first contribution in #2881
- @robo-cap made their first contribution in #2869
Full Changelog: v0.30.4...v0.31.0