Exploit database

GH-a8153f85006106242e79d74c471669dd

eqstlab/cve-2026-18963

GitHubNot listedPoC
Download repository ZIP

Sources for CVE-2026-18963

12 sources

Preferred order: Exploit-DB, Metasploit, then GitHub repositories by stars. Open preferred source

Repository files7
eqstlab/cve-2026-18963Revision e97e56507e02

Files from this repository share one source choice. Supporting files may cover other vulnerabilities.

entrypoint.sh

Shell · 682 bytes
#!/bin/bash
set -e

PUBLIC_URL="${PORTAL_PUBLIC_URL:-}"
PUBLIC_URL="${PUBLIC_URL%/}"
export PORTAL_PUBLIC_URL="$PUBLIC_URL"

if [[ -n "$PUBLIC_URL" ]]; then
    HOSTNAME_ARGS=(--hostname="${PUBLIC_URL}/keycloak")
else
    HOSTNAME_ARGS=(--hostname-strict=false)
fi

mkdir -p /opt/keycloak/data/import
REALM_JSON="$(< /opt/eqst/realm.json)"
printf '%s\n' "${REALM_JSON//__PORTAL_PUBLIC_URL__/$PUBLIC_URL}" \
    > /opt/keycloak/data/import/cve-lab.json

/opt/keycloak/bin/kc.sh start-dev \
    --http-host=127.0.0.1 \
    --http-port=8080 \
    --http-relative-path=/keycloak \
    "${HOSTNAME_ARGS[@]}" \
    --proxy-headers=xforwarded \
    --import-realm &

exec /opt/eqst/portal