CVE-2026-50124: Insecure Jdbc Url Construction

Dynamically constructing a JDBC database URL and returning it without centralized validation can lead to JDBC Injection. Attackers could manipulate connection parameters or use dangerous protocols (e.g., 'zip:' or 'jndi:') to achieve Remote Code Execution. Ensure the URL is validated against a strict security policy before being returned or established.

Provally CuratedPublic repositoryHighMedium confidenceVerifiedApache-2.0Java
greprules fetch cve-2026-50124-insecure-jdbc-url-construction --engine opengrep

Description

Dynamically constructing a JDBC database URL and returning it without centralized validation can lead to JDBC Injection. Attackers could manipulate connection parameters or use dangerous protocols (e.g., 'zip:' or 'jndi:') to achieve Remote Code Execution. Ensure the URL is validated against a strict security policy before being returned or established.