Repository navigation
Releases
v0.31.1
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
â ïļ
Security fixes
Moderate GHSA-44c9-68w4-qf5j - Kubernetes proxy forwards client-supplied X-Remote-* request-header identities
Suggested action: upgrade if using Kubernetes targets with certificate authentication
Requires: a Kubernetes target cluster whose --requestheader-client-ca-file trusts the certificate. kubeadm and k3s use a separate front-proxy CA, so they are not affected by default.
Warpgate forwarded client-supplied X-Remote-User, X-Remote-Group and X-Remote-Extra-* headers to Kubernetes targets. If the API server trusts the target's client certificate for request-header authentication, a user with access to the target could choose the Kubernetes identity their requests run as, including system:masters. These headers are now dropped.
Moderate GHSA-vv28-4wq5-g7q8 - Self-service tickets keep working after the role that granted them is revoked or expires
Suggested action: upgrade if self-service tickets are enabled
Requires: activated ticket self-service and auto-approval
A self-service ticket requested by a user who already had a role on the target was approved automatically and never checked against roles again. It kept opening the target after the role was removed or a time-limited role assignment expired. Auto-approved tickets now work only while a role still grants the user that target.
Moderate GHSA-fpvw-5j34-323q - LDAP user deletion leaves synchronized SSH keys valid
Suggested action: upgrade if using LDAP-linked users
When a linked user's LDAP object was deleted, the SSH keys previously synced from LDAP were kept and still accepted for login. Keys are now removed once the user is gone from LDAP.
Moderate GHSA-6g78-qqp6-mhcv - HTTP proxy security issues: X-Forwarded-* spoofing, ticket forwarding and SSO logout CSRF
Suggested action: upgrade if using trust_x_forwarded_headers or SSO
- With
trust_x_forwarded_headersenabled, a client could spoof its IP, host and protocol by sending its ownX-Forwarded-*header line next to the proxy's. Only the last header line is now used.
Requires:http.trust_x_forwarded_headers: truebehind a reverse proxy that adds its own header line instead of appending to the client's. â ïļ /@warpgate/api/sso/logoutacceptedGET, so any site could log users out. It now requiresPOST.
Moderate GHSA-687f-c4c8-7hh9 - Unauthenticated SSH public-key offers force unbounded LDAP/DB work and bypass bruteforce protection
Suggested action: upgrade if using LDAP-linked users or login protection with SSH
Requires: LDAP-linked users.
Each public key an SSH client offered before authenticating triggered a full credential check, including an LDAP search for LDAP-linked users. Offers also skipped IP blocks and lockouts. An unauthenticated client could flood Warpgate's database and LDAP server from a single connection. Offers no longer resync LDAP keys, and they are refused from blocked IPs.
Moderate GHSA-jw77-g2vh-4p4r - Authenticated SSH user can grow Warpgate's memory with pending port-forward opens during the approval wait
Suggested action: upgrade if using SSH targets with admin approval
Requires: an SSH target with admin approval required, and an authenticated user who can connect to it.
Port-forwarding channels opened while a session waited for admin approval were queued with no limit until the approval timeout. The queue is now capped.
Moderate GHSA-r86f-pgmf-4c7f/GHSA-q59c-j6jj-x756 - A connected RDP client can pin memory through an unbounded virtual channel
Suggested action: upgrade if using RDP
Requires: An authenticated user with access to an RDP target.
Virtual channel messages (e.g. the clipboard) were reassembled with no size cap. A client could declare a message of up to 4 GiB and never finish sending it, so a few connections could get the process killed. Messages are now capped at 64 MiB.
Low GHSA-9c2p-c9r6-j5xx - SCP recording exemption and SSH public-key offers bypass audit and bruteforce checks
Suggested action: upgrade if you've disabled SCP recordings due to storage constraints, or use login protection or per-user allowed_ip_ranges
With record_scp: false, any exec command starting with scp skipped recording and command detection, including scp ...; <anything>. Only plain scp -t / scp -f transfers are exempt now.
Changes
- fixed #2787 - SSO: a new per-provider
match_by: subjectoption matches users by the IdP'ssubclaim instead of their e-mail (default staysemail). By @vdhome-dev in #2814 - GitOps: the sync history shows exact changes, and saving the settings tests them, and the settings page can generate webhook secrets, in e419220
- Helm: new
setup.rdpandsetup.vncvalues expose the RDP and VNC listeners (chart 0.3.0), in a292021
Security hardening
â ïļ Live tickets approved with the admin token are migrated to need role access, the same as auto-approved tickets, in 313b98c- Header filtering treats
_the same as-, soX_Remote_Userand similar spellings are dropped as well, in e4d9f8b - A user lockout that expired but was not yet cleaned up no longer stops the user from being locked again, in 045d925
- Caps: 10 keyboard-interactive rounds from an SSH target, 256 open channels per web SSH session, and 60s to connect to MySQL/PostgreSQL targets, in 137c007
- The database directory now gets the same permission checks as the config file, in 64ab9e3
Fixes
- fixed #2644 - RDP: reconnecting to an xrdp session that resumes an existing session no longer fails, in 857d946
- fixed #3006 - Admin UI: creating a target requires the
targetsCreatepermission instead ofadminRolesManage, in 53eee3d
Full Changelog: v0.31.0...v0.31.1
v0.31.0
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 SASLPLAINauthentication 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 theConfigEditpermission, 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 a...
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
v0.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