CVE-2026-53661
Awaiting Analysis Awaiting Analysis - Queue
Session Cookie Exposure in Boruta OAuth Server

Publication date: 2026-06-11

Last updated on: 2026-06-11

Assigner: GitHub, Inc.

Description
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 boruta_web, boruta_identity, and boruta_admin. The affected cookies include the shared session cookie, defaulting to _boruta_web_key, and the identity remember-me cookie, defaulting to `_boruta_identity_web_user_remember_me`. The issue is fixed in commit 18691c655164635066aa113003a3cd87f6ed11cd, released as part of version 0.9.1. The patch sets `secure: true` and `same_site: "Lax"` on configured session cookies for boruta_web, boruta_identity, and boruta_admin, 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 SECRET_KEY_BASE and BORUTA_SESSION_COOKIE_SIGNING_SALT, 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.
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2026-06-11
Last Modified
2026-06-11
Generated
2026-06-11
AI Q&A
2026-06-11
EPSS Evaluated
N/A
NVD
EUVD
Affected Vendors & Products
Showing 2 associated CPEs
Vendor Product Version / Range
malach-it boruta to 0.9.1 (exc)
malach-it boruta 0.9.1
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-614 The Secure attribute for sensitive cookies in HTTPS sessions is not set.
Attack-Flow Graph
AI Quick Actions
Instant insights powered by AI
Executive Summary

This vulnerability in Boruta, an authorization server implementing OAuth 2.0 and OpenID Connect, involves session cookies and identity "remember me" cookies being set without the Secure attribute prior to version 0.9.1.

Without the Secure attribute, these cookies could be transmitted over unencrypted HTTP connections if users accessed Boruta via plaintext HTTP. This allows an attacker who can observe or intercept network traffic to capture valid session or remember-me cookies.

An attacker could then reuse these cookies to impersonate the affected user, potentially gaining unauthorized access.

The issue affects components boruta_web, boruta_identity, and boruta_admin, and was fixed by enforcing the Secure attribute and setting SameSite to "Lax" on cookies in version 0.9.1.

Impact Analysis

If you use Boruta versions prior to 0.9.1 and allow users to access it over plaintext HTTP, attackers could intercept session and remember-me cookies.

This interception can lead to session hijacking, where attackers impersonate legitimate users, including administrators, gaining unauthorized access to sensitive resources.

Such unauthorized access can compromise user accounts, data confidentiality, and the integrity of your authentication system.

To mitigate this risk before upgrading, it is recommended to enforce HTTPS-only access, enable HSTS, or terminate plaintext HTTP traffic before it reaches Boruta.

Detection Guidance

To detect this vulnerability, verify if Boruta session and remember-me cookies are set without the Secure attribute, which means they could be transmitted over unencrypted HTTP connections.

You can inspect HTTP response headers or browser cookies to check if the Secure attribute is missing.

For example, use curl to inspect the Set-Cookie headers from the Boruta server responses:

  • curl -I http://your-boruta-domain/path | grep Set-Cookie

Look for cookies named _boruta_web_key or _boruta_identity_web_user_remember_me and check if the Secure flag is present.

Alternatively, use browser developer tools (Network tab) to inspect cookies and confirm whether the Secure attribute is set.

Mitigation Strategies

Immediate mitigation steps before upgrading include:

  • Terminate or reject plaintext HTTP traffic before it reaches the Boruta server.
  • Enforce HTTPS-only access at the reverse proxy or load balancer.
  • Enable HTTP Strict Transport Security (HSTS) for Boruta domains to ensure browsers only connect over HTTPS.
  • If cookie exposure is suspected, rotate SECRET_KEY_BASE and BORUTA_SESSION_COOKIE_SIGNING_SALT, then require users to re-authenticate.

Ultimately, upgrade Boruta to version 0.9.1 or later, which includes the fix that sets the Secure and SameSite attributes on session cookies.

Compliance Impact

This vulnerability involves session and identity cookies being transmitted without the Secure attribute, allowing potential interception over unencrypted HTTP connections. Such exposure of authentication tokens can lead to unauthorized access and user impersonation.

From a compliance perspective, this weakness could negatively impact adherence to common standards and regulations like GDPR and HIPAA, which require protection of personal data and secure authentication mechanisms to prevent unauthorized access.

Failure to secure session cookies properly may result in breaches of confidentiality and integrity of user data, potentially leading to violations of data protection requirements and increased risk of regulatory penalties.

Mitigations such as enforcing HTTPS-only access, enabling HSTS, and applying the patch to set Secure and SameSite cookie attributes help align the system with security best practices expected by these standards.

Chat Assistant
Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-53661. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70
EPSS Chart