Aug 1, 2026·6 min read·126 visits
GeoNetwork post-login and post-logout filters fail to prevent protocol-relative redirects, allowing attackers to bypass validation using double-slash syntax and redirect users to external phishing sites.
An open redirect vulnerability exists in core-geonetwork from versions 3.12.0 until 4.2.16 and 4.4.11 due to unsafe redirect validation in GeonetworkOAuth2LoginAuthenticationFilter and KeycloakAuthenticationProcessingFilter. An attacker can construct a protocol-relative URL to bypass local redirection checks and redirect authenticated users to malicious external domains.
The open redirect vulnerability, tracked as CVE-2026-53573, resides within the authentication and session management filters of core-geonetwork, an open-source catalog application designed for managing spatially referenced resources. Specifically, the flaw exists within GeonetworkOAuth2LoginAuthenticationFilter and KeycloakAuthenticationProcessingFilter. These filters fail to adequately validate user-supplied redirect parameters post-authentication, leaving users susceptible to external redirection.
The attack surface exists primarily in the OAuth2, OpenID Connect (OIDC), and Keycloak single sign-on (SSO) integration paths, where users are redirected to a destination specified in parameters like redirectUrl or targetUrlParameter. If an unauthenticated or low-privilege attacker can manipulate these parameters, they can force the application to redirect successfully authenticated clients to arbitrary external domains.
The underlying vulnerability class is CWE-601: URL Redirection to Untrusted Site ('Open Redirect'). The issue occurs because the validation logic assumes relative URLs starting with a forward slash are inherently safe, failing to account for protocol-relative or mixed-slash constructs that modern browsers normalize into absolute external URLs.
The root cause of CVE-2026-53573 lies in how the Java-based backend and client-side web browsers interpret relative paths. In legacy versions of core-geonetwork, JeevesNodeAwareLogoutSuccessHandler.java validated the target redirect URL by checking if it started with a single forward slash. If the URL met this condition, the filter bypassed the host, protocol, and port verification under the false assumption that any path starting with a single slash was internal to the application.
This check is flawed because it fails to account for protocol-relative URLs (such as //attacker.com) or mixed slashes (such as /\attacker.com). Modern browsers automatically normalize backslashes into forward slashes during parsing. They treat a leading double slash as an absolute, protocol-relative URL, resolving it to http://attacker.com or https://attacker.com depending on the current page's protocol scheme.
Similarly, in filters handling SSO authentication, such as GeonetworkOAuth2LoginAuthenticationFilter and KeycloakAuthenticationProcessingFilter, the code parsed the target redirect with the java.net.URI class. It called the isAbsolute() method to verify if the URL was absolute. However, in java.net.URI, a protocol-relative URI like //attacker.com has no explicit scheme, causing isAbsolute() to return false. The application subsequently treated the URI as relative and allowed the browser-directed redirect.
To resolve the issue, the maintainers implemented a centralized validator utility, RedirectUtil.java, and refactored authentication filters to enforce strict redirection rules. The new utility performs comprehensive normalization of backslashes before running any validation. This ensures mixed-slash payloads such as /\attacker.com are evaluated correctly.
The core of the fix is located in the isRelativeRedirect method inside RedirectUtil.java, which explicitly checks for double-slash combinations and denies them:
String normalized = redirectUrl.replace('\\', '/');
if (!normalized.startsWith("/") || normalized.startsWith("//")) {
return false;
}Additionally, the utility verifies that the java.net.URI object does not expose a host or authority, which is a key indicator of a protocol-relative exploit attempt:
URI redirectUri = new URI(redirectUrl);
if (redirectUri.isAbsolute() || redirectUri.getHost() != null || redirectUri.getAuthority() != null) {
return false;
}The filters were updated to replace custom, inline redirection parsing with calls to RedirectUtil.sendSafeRedirect or RedirectUtil.isSafeRedirect, ensuring consistent and secure redirection processing across all entry points.
An attacker exploits this vulnerability by crafting a link to a GeoNetwork instance that contains a malicious redirect payload. The primary prerequisite is that the target GeoNetwork server must have OAuth2, OIDC, or Keycloak SSO enabled, or the attacker must target the logout handler. The attacker distributes this crafted URL to potential victims using spearphishing techniques or other social engineering vectors.
When a victim visits the crafted link, they are initially presented with the authentic GeoNetwork portal. The victim logs in normally, entering their credentials and potentially completing multi-factor authentication. Since the host is legitimate, standard network defenses and email filters may permit the link, and browser indicators (such as SSL locks) remain valid during the authentication process.
Upon successful login, the server evaluates the redirect parameter. The backend validates the malformed string (e.g., //evil.com), incorrectly classifies it as a relative local path, and returns an HTTP 302 Redirect to the victim's browser. The victim's browser normalizes the location header to https://evil.com, seamlessly redirecting the victim to the attacker's server to facilitate credential harvesting or session hijacking.
The impact of CVE-2026-53573 is primarily centered on integrity and authentication flows. While an open redirect vulnerability does not allow direct remote code execution or data extraction on the host system itself, it serves as a critical facilitator for complex phishing campaigns. Attackers leverage the reputation of the trusted GeoNetwork domain to bypass email security gateways and link analyzers.
The vulnerability is assigned a CVSS v4.0 score of 4.8, reflecting low confidentiality and integrity impact from the perspective of the application server, but highlighting the potential for downstream user compromise. If an attacker successfully redirects an administrative user to a credential-harvesting site, they can capture active sessions or access tokens, leading to a complete compromise of the metadata catalog.
Furthermore, because GeoNetwork is used to manage spatially referenced resources and geographical catalogs (often within government or defense sectors), compromised credentials can lead to unauthorized modification of critical geospatial datasets or access to restricted geographic information.
Remediation requires upgrading core-geonetwork to versions 4.2.16 or 4.4.11, which contain the comprehensive RedirectUtil implementation. If upgrading immediately is not feasible, administrators can deploy Web Application Firewall (WAF) rules to detect and drop requests containing protocol-relative strings within redirection parameters.
Deploying a custom regex-based filter on reverse proxies or WAFs can mitigate the risk by blocking URL-encoded slash variants. An example regex pattern matches double-forward slashes or forward-backslash combinations in parameters like redirectUrl:
(?i)(?:redirecturl|target|redirect_uri)=\s*(?://|/\\|\\/)
In addition, implementing a strong Content Security Policy (CSP) can help limit where form submissions and network requests are directed, reducing the likelihood of successful data exfiltration even if a user is redirected. Security teams should also inspect server access logs for anomalous redirect destinations or warning logs containing the message 'Refused unsafe login redirect' which indicates blocked exploitation attempts.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:A/VC:N/VI:N/VA:N/SC:N/SI:L/SA:N| Product | Affected Versions | Fixed Version |
|---|---|---|
core-geonetwork geonetwork | >= 3.12.0, <= 3.12.12 | 4.2.16 |
core-geonetwork geonetwork | >= 4.0.0-alpha.1, <= 4.0.6 | 4.2.16 |
core-geonetwork geonetwork | >= 4.2.0, < 4.2.16 | 4.2.16 |
core-geonetwork geonetwork | >= 4.4.0, < 4.4.11 | 4.4.11 |
| Attribute | Detail |
|---|---|
| CWE ID | CWE-601 |
| Attack Vector | Network |
| CVSS Score | 4.8 |
| Exploit Status | None |
| KEV Status | Not Listed |
The product redirects the user to an untrusted external site through an unvalidated URL parameter, allowing phishing and other redirection attacks.
CVE-2026-63402 is a prototype-chain traversal and shared built-in object corruption vulnerability in the i18next internationalization framework for JavaScript prior to version 26.3.4. The flaw resides in the deepExtend utility function within src/utils.js, which uses the JavaScript 'in' operator to verify property existence on target objects. When an application passes untrusted resource bundles to i18next.addResourceBundle() with both the deep and overwrite parameters set to true, an attacker can traverse into inherited methods on Object.prototype and overwrite properties on shared built-in function objects, causing process-wide denial of service.
CVE-2026-58262 (tracked internally as KLR-04 and via GitHub Security Advisory GHSA-f9h7-4mmq-vgcq) is a cryptographic verification and consensus quorum bypass vulnerability in Klever-Go (`klever-io/klever-go`), the Go implementation of the Klever blockchain protocol. Prior to version 1.7.20, the block header signature verification logic (`HeaderSigVerifier.verifyConsensusSize`) counts all set bits across the entire `PubKeysBitmap` byte slice toward the required two-thirds validator quorum without masking or validating unused trailing padding bits in the final byte. Because the underlying Boneh-Lynn-Shacham (BLS) multi-signature verification function (`blsMultiSigner.Verify`) iterates strictly over the indices of configured validator public keys, it ignores any bits set at indices beyond the active consensus group size. When the consensus group size is not an exact multiple of 8, a compromised or malicious block producer can set these unused trailing padding bits to artificially inflate the apparent signer count by up to 7 signatures, enabling blocks with fewer genuine validator signatures than required by the protocol to pass consensus validation.
CVE-2026-77423 is a Regular Expression Denial of Service (ReDoS) vulnerability in the built-in less viewer of the JLine Java library (versions 3.0.0 prior to 3.30.15, and 4.0.0 prior to 4.3.1). The org.jline.builtins.Less class passes user-supplied search and display-filter patterns directly to Java's standard backtracking regular expression engine without complexity validation or execution timeouts. An attacker with access to an interactive JLine session can submit patterns containing nested quantifiers, causing catastrophic backtracking that consumes 100% of a CPU core and blocks the session thread indefinitely. In network-facing deployments such as SSH or Telnet administration consoles, repeated exploitation across concurrent sessions can exhaust bounded worker thread pools and result in a complete denial of service.
CVE-2026-63492 is a rejected CVE identifier originally assigned by GitHub for an OS command injection vulnerability in WWBN AVideo (formerly YouPHPTube) up to version 29.0. It was rejected as a duplicate of the canonical identifier CVE-2026-63304 (tracked under GHSA-j44m-77cc-p3cc). The flaw resides in the listFFmpegProcesses() function within plugin/API/standAlone/functions.php, which interpolates unsanitized user parameters directly into a single-quoted shell pipeline executed via PHP's exec() function. Attackers capable of crafting a valid AES-256-CBC encrypted API payload can break out of the single-quoted context and execute arbitrary operating system commands as the web-server user.
CVE-2026-63476 is an uncontrolled resource consumption vulnerability in isomorphic-git prior to version 1.38.6. When parsing Git packfile delta objects during clone or fetch operations, the applyDelta utility reads an untrusted targetSize integer from the delta stream header and passes it directly to Buffer.alloc(). A malicious remote Git server or man-in-the-middle attacker can supply a delta header specifying a targetSize of approximately 2 GB with minimal actual payload data. Because Buffer.alloc() reserves off-heap memory in Node.js, this bypasses standard V8 heap limits and results in immediate out-of-memory termination or sustained memory retention.
CVE-2026-63410 (GHSA-vp2j-gqfm-r3cf) is a compiler-induced timing side-channel vulnerability in the secp256k1-native Ruby C extension. When compiled with GCC 14.x or 15.x at optimization level -O2, the compiler reconstructs boolean predicates from branchless bitwise multiplexer routines and emits secret-dependent conditional jump instructions (je/jne). During elliptic curve scalar multiplication in the Montgomery ladder, these conditional branches create observable execution timing variations correlated with individual bits of secret private keys or signing nonces.