CVE-2026-53661: boruta-server sent sensitive session cookies without the Secure attribute
Boruta is a standalone authorization server that aims to implement OAuth 2.0 and Openid Connect up to decentralized identity specifications. Prior to version 0.9.1, boruta session cookies and the identity “remember me” cookie were set without the Secure attribute. In deployments where users could reach the same Boruta origin over plaintext HTTP, browsers could send these cookies over an unencrypted connection. An attacker able to observe or intercept that network traffic could recover a valid session or remember-me cookie and reuse it to impersonate the affected user. Affected components include borutaweb, borutaidentity, and borutaadmin. The affected cookies include the shared session cookie, defaulting to borutawebkey, and the identity remember-me cookie, defaulting to borutaidentitywebuserrememberme. The issue is fixed in commit 18691c655164635066aa113003a3cd87f6ed11cd, released as part of version 0.9.1. The patch sets secure: true and samesite: "Lax" on configured session cookies for borutaweb, borutaidentity, and borutaadmin, and sets secure: true on the identity remember-me cookie. Until upgrading to a release containing the fix: terminate or reject plaintext HTTP before requests reach Boruta; enforce HTTPS-only access at the reverse proxy or load balancer; enable HSTS for Boruta domains; if cookie exposure is suspected, rotate SECRETKEYBASE and BORUTASESSIONCOOKIESIGNINGSALT, then require users to authenticate again. Upgrade to a version containing commit 18691c655164635066aa113003a3cd87f6ed11cd, or apply the patch manually. After deploying the fix, verify that Boruta session and remember-me cookies include the Secure attribute in browser developer tools or with an HTTP response inspection tool.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
borutato a version that resolves this vulnerability.Fixed in 0.9.1Patch 18691c655164635066aa113003a3cd87f6ed11cd - Configuration
Set secure: true and same_site: "Lax" on configured session cookies for boruta_web, boruta_identity, and boruta_admin (as in commit 18691c655164635066aa113003a3cd87f6ed11cd).
boruta_web, boruta_identity, boruta_admin session_cookie_attributes = secure=true; same_site=Lax - Configuration
Set secure: true on the identity remember-me cookie (default `_boruta_identity_web_user_remember_me`).
boruta_identity identity_remember_me_cookie_secure = true - Compensating control
Terminate or reject plaintext HTTP before requests reach Boruta (prevent HTTP traffic to the Boruta origin).
- Compensating control
Enforce HTTPS-only access at the reverse proxy or load balancer (reject or redirect plain HTTP to HTTPS).
- Compensating control
Enable HSTS for Boruta domains to ensure browsers use HTTPS-only connections.
- Operational
If cookie exposure is suspected, rotate SECRET_KEY_BASE and BORUTA_SESSION_COOKIE_SIGNING_SALT, then require users to authenticate again.
- Operational
After deploying the fix, verify that Boruta session and remember-me cookies include the Secure attribute using browser developer tools or an HTTP response inspection tool.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-53661?
CVE-2026-53661 has a high severity rating of 8.8 according to the CVSS score.
How do I fix CVE-2026-53661?
To fix CVE-2026-53661, update boruta-server to version 0.9.1 or later where the Secure attribute is applied to session cookies.
What are the risks associated with CVE-2026-53661?
The risks associated with CVE-2026-53661 include the potential for sensitive session cookies to be intercepted and exploited due to lack of the Secure attribute.
Who is affected by CVE-2026-53661?
Deployments of boruta-server prior to version 0.9.1 are affected by CVE-2026-53661.
What type of vulnerability is CVE-2026-53661?
CVE-2026-53661 is an authorization vulnerability pertaining to the improper handling of session cookies by the boruta-server.