Repository navigation
Releases
v0.31.0-beta.3
Features
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
- 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 #2955 - SSH: Warpgate now also offers NIST ECDH key exchange (
ecdh-sha2-nistp256/384/521) to targets by default in #2978 - 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
Fixes
- 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
Full Changelog: v0.31.0-beta.2...v0.31.0-beta.3
v0.31.0-beta.2
Features
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
Changes
- Refreshed onboarding hints and target creation/options forms in the admin UI in 5addfc3
- russh, rsa and IronRDP dependencies updated in 9b26536 and c0f81ca
Security hardening
- 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 #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
- Web SSH: the font size setting no longer shows
[object Object]by @MartinAbadie in #2958 - 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
New Contributors
- @SvenHerrmann made their first contribution in #2881
- @JulioRamos0 made their first contribution in #2751
- @mr-karan made their first contribution in #2857
- @jb2barrels made their first contribution in #1496
Full Changelog: v0.31.0-beta.1...v0.31.0-beta.2
v0.31.0-beta.1
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)
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
Changes
- Kubernetes: sessions are now database-backed, and session approvals can be shared by all cluster nodes in #2839
- 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
- Expired tickets now show "Expired" and can be dismissed by @fergusean in #2674
- Cancel is no longer red (#2846) by @a1kudryavtsev in #2800
- 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 - fixed #2864 - IronRDP updated (ref #2644) in #2871
- Migrated to SeaORM 2 in #2941
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 - API token restrictions are now enforced centrally by the API security scheme in #2931
- Request body size limits tightened further in a6e0ba6
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
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
Full Changelog: v0.30.4...v0.31.0-beta.1
v0.30.6
Security fixes
High GHSA-6mq2-fpwv-cm4w - Malicious HTTP targets can send API requests to each other and to the Warpgate admin API
Suggested action: upgrade if using untrusted/user-controlled HTTP targets
An HTTP target bound to its own domain could still be opened on the Warpgate domain itself via ?warpgate-target=, letting its scripts run on the Warpgate origin and call the Warpgate API as the visiting user. Host-bound targets are now only served on their own domain.
Moderate GHSA-xm63-rjwf-r3g8 - SSH port forwarding can bypass traffic recording while the session awaits approval
Suggested action: upgrade if using SSH targets with approvals and session recording
Port forwards opened by the client while the session was still waiting for administrator approval or in the target selection menu were not recorded once the session was admitted. These forwards are now recorded.
Moderate GHSA-qw79-rh95-853p - Malicious VNC, Kubernetes, SSH and PostgreSQL targets can exhaust Warpgate's memory
Suggested action: upgrade if using untrusted/user-controlled targets
A target could make Warpgate allocate unbounded memory and get the whole process killed: oversized JPEG frames from VNC targets, large Kubernetes responses, SSH output queued behind an unanswered channel open and repeated PostgreSQL cancel keys. All of these are now bounded. Large pages from HTTP targets are also no longer buffered whole to inject the Warpgate menu.
Full Changelog: v0.30.5...v0.30.6
0.30.5
Security fixes
High GHSA-vv47-j2gq-5g6g - Unauthenticated request with an oversized body crashes Warpgate
Suggested action: upgrade
HTTP request bodies were read whole with no size limit, so a single unauthenticated request to the login endpoint could exhaust memory and abort the process. Request bodies are now size-limited and must arrive within a read deadline.
Moderate GHSA-x5mm-vfrh-x55p - Kubernetes audit events can be skipped by sending a YAML request body
Suggested action: upgrade if using Kubernetes targets
Kubernetes write requests whose body Warpgate could not parse (e.g. YAML) were proxied without an audit log entry. These requests are now always logged.
Full Changelog: v0.30.4...v0.30.5
v0.30.4
Security fixes
Moderateย GHSA-fxfw-2m4j-xmc8 - Kubernetes approval for one API token authorizes a different token of the same user
Suggested action:ย upgrade if using Kubernetes targets with approvals via token authentication
When approval grace period is enabled and an approval for a Kubernetes target is remembered, it becomes valid for all tokens of that user instead and not just the token the approval was given for.
Highย GHSA-hhq8-x2xc-95qx - HTTP proxy follows cross-host redirects from upstream targets
Suggested action:ย upgrade if using untrusted/user-controlled HTTP targets
Warpgate follows HTTP redirects sent by the target, allowing SSRF by a malicious target.
Moderateย GHSA-r7rf-j762-2xxv - MySQL/Postgres unencrypted auth methods used without TLS in TLS Preferred mode
Suggested action:ย set an explicit TLS mode (enabled/disabled)
When TLS mode is set to "Preferred" and the target does not offer TLS, Warpgate would still accept plaintext authentication if it's the only available and supported auth mechanism.
Full Changelog: v0.30.3...v0.30.4
v0.30.3
Fixes
- fixed #2865 - SSH command audit truncates the command when Enter is pressed with the cursor mid-line
Full Changelog: v0.30.2...v0.30.3
v0.30.2
Features
- RDP now shows remote cursor shape, by @DevNico in #2776
- Sessions are now immediately aborted when the corresponding role assignment is revoked, by @vdhome-dev in #2789
Fixes
- fixed #2828 - HTTP targets: compressed responses are now passed through to the browser instead of being decompressed in 2c16c18
- MySQL: ticket secrets and cleartext passwords no longer appear in the handshake trace log by @thoro in #2624
- Admin approvals: a timed-out approval request is now settled before the session is closed, so a decision made at the last moment is honoured and the request leaves the queue immediately, in #2830
- zstd-safe updated to 8.2 in 397dec2
New Contributors
- @DevNico made their first contribution in #2776
- @vdhome-dev made their first contribution in #2789
- @thoro made their first contribution in #2624
Full Changelog: v0.30.1...v0.30.2
v0.30.1
Security fixes
GHSA-hp22-gfvj-7m8r - MySQL proxy: authenticated memory exhaustion via unbounded max_packet_size - eee3915
Malicious target could cause an unbounded memory allocation
GHSA-cj29-mv44-r3g2 - is_localhost_host matches arbitrary 127.* DNS domains (post-SSO open redirect & control_plane_host bypass) and MFA+SSO drops SsoLoginState - d466f3c
Accessing a bound target domain matching the 127.* pattern would disable some security protections
GHSA-rccx-x2f2-qggp - The SSH target menu connects with a stale copy of the target, bypassing approval enabled while the menu is open
Target role changes made while a user already has the SSH target selection menu open would not affect their session.
GHSA-wv8f-pg5h-j86g - The Kubernetes proxy follows upstream redirects, fetching internal URLs from Warpgate's network position - acdf746
A malicious authenticated user with Kubernetes target access could perform arbitrary HTTP requests from Warpgate's network position.
GHSA-9cmw-ff3v-ggc9 - Single-target HTTP ticket sessions can attach to or terminate the owner's WebSSH/WebDesktop sessions and read SSO Kubernetes OIDC secrets - 2bebdf9
HTTP tickets were not restricted from controlling user's own WebSSH / Web desktop sessions and fetching Kubernetes OIDC secrets.
GHSA-2xj4-4766-4xwx - HTTP proxy forwards client-supplied X-Forwarded-For, X-Forwarded-Host, and X-Forwarded-Proto headers ahead of Warpgate's own headers - 90472d2
Client-supplied X-Forwarded-* headers were not stripped when forwarding to an HTTP target
GHSA-jgwh-2q6f-w7g6 - Login protection brute-force rate limiting bypass via Condition::any() in clear_failed_attempts - 21636e7
An authenticated user could bypass brute-force protection while bruteforcing another user's password.
Security hardening
- Secret references: mount and path segments are now validated by @mtthsbrd in #2815
- Ticket activation is now atomic, so concurrent requests can't use the same ticket more than once, by @mtthsbrd in #2818
- VNC: Tight compact-length bounds and the Apple DH public key range are now validated by @mtthsbrd in #2819
- Web UI: config warnings are no longer rendered as raw HTML, and target URLs and kubeconfig contents are now escaped, by @mtthsbrd in #2817
- Docker: trust roots updated for the eMudhra intermediate distrust by @SachinMaharana in #2775
Fixes
- fixed #2765 - web SSH opened two shell channels per session by @monsterlag in #2778
- SSH: the target list is reloaded when connecting from the interactive menu in 6dd8d23
- Kubernetes: watch streams are no longer buffered, and percent-encoded paths are decoded correctly in eea30c7
- OIDC: logout state is now stored earlier in the flow in 43acddf
- The Vault/OpenBao client now uses the OS trust store in a5773ca
Changes
- Accessibility: secondary text and field borders now meet WCAG AA contrast by @a1kudryavtsev in #2793 and #2794
- Database targets in the portal can now be reached with the keyboard by @a1kudryavtsev in #2801
- Users without any targets are now told who can grant them access by @a1kudryavtsev in #2804
- The profile page now explains empty credential sections by @a1kudryavtsev in #2803
- UI copy: page titles shortened to fit on phones, consistent title case, and one shared table of target kind labels by @a1kudryavtsev in #2799, #2798 and #2811
- Session IDs are now shortened in the log by @a1kudryavtsev in #2808
New Contributors
- @monsterlag made their first contribution in #2773
- @a1kudryavtsev made their first contribution in #2793
Full Changelog: v0.30.0...v0.30.1
v0.30.0
Note
Would you kindly spend 5 minutes to give your feedback on your deployment and what you'd like to see in Warpgate?
Multiple changes in this release have been proposed by users like you through this survey.
Warning
This release includes an important Helm chart update (v0.2.0) to accomodate for the new distroless Docker image.
Major new features
HashiCorp Vault / OpenBao secret backends - #2185
Support for fetching passwords and private keys from a Vault-compatible backend without storing them in the database.
Backends are configured under Config โ Secret backends.
by @Simonn21
Vault/OpenBao-signed SSH certificates for target authentication - #2734
SSH targets can now authenticate with a short-lived OpenSSH certificate signed per connection by a Vault / OpenBao secret backend.
by @janisdombr
OIDC back-channel logout - #2740
Warpgate now accepts OpenID Connect Back-Channel Logout requests at /@warpgate/api/sso/providers/<name>/backchannel-logout. When the identity provider signs a user out, it ends their Warpgate sessions on every cluster node. The new disable_local_logout provider option hides Warpgate's own "log out" button when the provider supports single logout.
Custom logo - #2696
Upload your own logo under Config โ Parameters
Features
- Graphics Pipeline (RDPEGFX) support for RDP - RDP now negotiates the Graphics Pipeline extension with RemoteFX Progressive and ClearCodec. Adds support for GNOME Remote Desktop and KRDP by @askz in #2621
- SSH: new
ssh.target_handshake_timeoutconfig option for targets that accept the TCP connection but never complete the handshake @boenshao in #2641 - fixed #2695 - fuzzy search in the target list in #2714
Security fixes
Moderate GHSA-qcwp-cwqv-g428 - a hostile HTTP target can trigger actions in an active admin's session
A malicious HTTP target could send POST requests to Warpgate API endpoints when accessed by a logged-in admin user.
- Cross-site requests to Warpgate's own API are rejected: state-changing and WebSocket requests to
/@warpgatemust originate from the control plane host itself (sibling target subdomains no longer count), and sessions on target hosts are limited to the login/logout and MFA endpoints. The UI redirects to the control plane host (http.external_host, falling back toexternal_host) for those flows
Moderate GHSA-fhwh-r27p-hvg5 - TOTP MFA policy not enforced unless the user's own policy specifies both factors
When a user had an explicit auth policy that did not require MFA, the global MFA policy did not apply to this user. Additionally, a user having both a TOTP credential and a "any credential" policy would be interpreted literally and allow authentication with OTP alone. Now, OTP credentials by themselves are never considered to be sufficient for login.
Moderate GHSA-rm54-2mgh-59g9 - a hostile VNC or RDP target can trigger an unbounded memory allocation
Hostile VNC/RDP targets could report excessive desktop resolutions and trigger unbounded allocations in Warpgate.
Low GHSA-2cwg-f83j-xjgx - HTTP target headers and URL credentials are returned to admins without TargetsEdit
HTTP target header values and the basic auth credentials in the URL are now additionally blanked out for limited admin users without the TargetsEdit permission.
Low GHSA-g5wc-qprw-44ph - ?warpgate-ticket= authenticates the existing HTTP session without rotating its ID
- Using a valid ticket in an existing HTTP session now automatically rotates its key as a defense-in-depth against session fixation attacks
Changes
- Docker: the runtime image is now based on
gcr.io/distroless/cc-debian12(no shell, no package manager), which removes 60+ scanner CVEs from OS packages Warpgate never used. Thewarpgateuser (UID 1000) and/datavolume are unchanged by @mtthsbrd in #2705 - fixed #2548 - RDP, VNC and web SSH now show users a fixed phrase when the target connection fails instead of the raw error in #2729
- Closing a session (admin close, user deletion) now also aborts its pending approvals in c73ca3c
- Cluster peers are authenticated via mTLS instead of a static cluster token in #2698
- Web SSH and desktop clients now show connection progress state (waiting for approval, connecting, connected) in #2684
- Large target lists in the gateway UI are now virtualized (#2642) in #2650
- fixed #2633 - the S3 recordings scratch directory is configurable (
scratch_path) by @mathieuHa in #2634 - Helm:
overrides_configis rendered throughtpl, so it can reference other chart values by @vitaly-sinev in #2673
Fixes
- fixed #2658 - SSH port forwarding for RDP with
ssh -Nwas dropped immediately because the forwarded data was mistaken for Ctrl-C by @megative in #2679 - HTTP: query parameters are forwarded to the target verbatim; since 0.27.0 they were re-encoded, breaking upstreams that put opaque data (e.g. bare base64) in the query by @Mac898 in #2704
- fixed #2702 - web approvals satisfied by the grace period no longer show up as pending in the admin UI in #2719
- fixed #2627 - Kubernetes: upstream API clients are reused across requests instead of opening a new connection and TLS handshake for every proxied request by @sthalbert in #2628
- Kubernetes: requests are resent when the upstream TCP connect or TLS handshake fails, instead of returning a 500 to kubectl in #2718
- Kubernetes: closing a session (admin close, user deletion) now actually ends its in-flight exec/attach/port-forward and watch/log streams in #2720
- SSH public keys added through the user profile had their comment stored, which made login with that key fail by @fergusean in #2666
- Recordings were marked complete before all of their streams had finished uploading (S3) in #2652
- Adding a TOTP credential through the admin API now updates the user's credential policy to require it, as the UI already did in f8590e2
- VNC: target connect and handshake are now bounded by the same 10s / 30s deadlines as RDP in 8de78f5
- Admin UI: the search box did nothing on the Admin roles and Target groups pages in 1c16a9f
- API tokens: expiry picker used UTC instead of local time, treated the preset as milliseconds and showed the maximum in whole days only in 2a2c2c4
Security hardening
- Target credentials are now redacted in the admin API responses for admins without the Targets Edit permission in #2685
- The session cookie is now always marked
Secureby @mtthsbrd in #2675 - Added
X-Content-Type-Options: nosniff,Referrer-Policy: same-originandX-Frame-Options: SAMEORIGINheaders by @mtthsbrd in #2676 X-Forwarded-For/-Host/-Protonow use the last value and ignore invalid values in 1d41778
New Contributors
- @Simonn21 made their first contribution in #2185
- @sthalbert made their first contribution in #2628
- @megative made their first contribution in #2679
- @vitaly-sinev made their first contribution in #2673
- @askz made their first contribution in #2621
- @k176060444-lgtm made their first contribution in #2669
- @Mac898 made their first contribution in #2704
- @boenshao made their first contribution in #2641
Full Changelog: v0.29.2...v0.30.0