Skip to main content
Vulnerability Database/CVE-2026-103057

CVE-2026-103057: AiSOC Authentication Bypass Vulnerability

CVE-2026-103057 is an authentication bypass vulnerability in AiSOC versions 5.1.0 through 12.0.0 that lets attackers post malicious events and send unauthorized notifications. This article covers technical details, affected versions, impact, and mitigation strategies.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-103057 Overview

CVE-2026-103057 is an authentication bypass vulnerability in AiSOC versions 5.1.0 before 12.0.0. The flaw affects the realtime service's internal endpoints POST /internal/agent-event and POST /internal/push. These endpoints fail to enforce authentication, allowing unauthenticated callers on the adjacent network to submit arbitrary events with spoofed tenant identifiers.

Attackers can broadcast malicious content over WebSocket and Redis Server-Sent Events (SSE) channels or push unauthorized notifications to registered devices. The issue is tracked under [CWE-306] (Missing Authentication for Critical Function).

Critical Impact

Any actor able to reach the realtime service port can forge events for any tenant, injecting content into downstream WebSocket and SSE channels and delivering unauthorized push notifications to registered devices.

Affected Products

  • AiSOC 5.1.0 through 11.x (all releases prior to 12.0.0)
  • AiSOC realtime service (services/realtime)
  • Deployments where REALTIME_INTERNAL_TOKEN and AISOC_REALTIME_JWT_SECRET are unset

Discovery Timeline

  • 2026-09-30 - CVE-2026-103057 published to the National Vulnerability Database (NVD)
  • 2026-09-30 - Last updated in NVD database

Technical Details for CVE-2026-103057

Vulnerability Analysis

The AiSOC realtime service exposes internal fan-out routes intended for service-to-service traffic from the API and agent components. These routes accept a tenant_id field supplied by the caller and dispatch the resulting event to that tenant's WebSocket subscribers, Redis SSE channels, and registered push devices.

The guard protecting these routes checks an x-internal-token header against the REALTIME_INTERNAL_TOKEN environment variable. When that variable is unset, the guard treats the request as authorized rather than failing closed. No shipped deployment manifest populated the variable, so the routes accepted arbitrary requests in every real environment.

Exploitation lets an attacker inject arbitrary content into any tenant's realtime stream and send push notifications to that tenant's devices. The vulnerability does not directly expose stored data, but it enables spoofed alerts, phishing prompts, and denial of legitimate signals.

Root Cause

Two defects combine. First, the internal-token guard interprets a missing secret as a permissive default. Second, the companion AISOC_REALTIME_JWT_SECRET, used to verify realtime tickets, also fell back to a constant committed to the public repository. That constant became the effective signing key across all deployments, letting anyone mint valid tickets for any tenant.

Attack Vector

An attacker with adjacent-network access to the realtime service port sends a crafted HTTP POST to /internal/agent-event or /internal/push with a chosen tenant_id in the body. No credentials, session, or user interaction is required. The service accepts the request and fans the payload out to WebSocket clients, Redis SSE listeners, and mobile or desktop devices registered under the spoofed tenant.

python
# Patch excerpt from scripts/ensure_env.py - both variables now generated, no fallback
# Source: https://github.com/beenuar/AiSOC/commit/2f0e954f2febecb3720e6eadb017546c5d121c43

"AISOC_REALTIME_JWT_SECRET": (
    lambda: secrets.token_urlsafe(32),
    "HS256 key for realtime WebSocket/SSE tickets. Shared by the API (mints) and realtime (verifies).",
),
# Service-to-service bearer for realtime's /internal/* fan-out routes.
# Their guard treated an unset value as authorized, and nothing set it, so
# the routes accepted an arbitrary tenant_id from any caller that could
# reach the port.
"REALTIME_INTERNAL_TOKEN": (
    lambda: secrets.token_urlsafe(32),
    "Bearer for realtime's /internal/* fan-out (API/agents -> realtime). Sent as x-internal-token.",
),

Source: GitHub Commit 2f0e954

Detect Identity Attacks the Moment Authentication Fails

Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.

Stop Identity Attacks

Detection Methods for CVE-2026-103057

Indicators of Compromise

  • Unexpected POST requests to /internal/agent-event or /internal/push originating from clients outside the API or agent service subnets.
  • Requests to the realtime service missing the x-internal-token header, or carrying a header that does not match the expected value.
  • Realtime events or push notifications delivered to tenants that did not originate from the tenant's own API traffic.

Detection Strategies

  • Inspect reverse-proxy and container logs for the two internal paths and alert on any source address not on the service-to-service allowlist.
  • Correlate realtime broadcasts against upstream API activity; broadcasts without a matching authenticated API request indicate spoofing.
  • Monitor Redis SSE channel publishes for volume anomalies per tenant.

Monitoring Recommendations

  • Emit structured audit logs from the realtime service including source IP, tenant_id, and route for every /internal/* call.
  • Forward those logs to a SIEM and build detections keyed on unknown source addresses or unregistered tenant identifiers.
  • Track WebSocket and push notification error rates and user reports of unexpected alerts as leading indicators.

How to Mitigate CVE-2026-103057

Immediate Actions Required

  • Upgrade AiSOC to version 12.0.0 or later, which enforces authentication on /internal/* routes and removes the JWT secret fallback.
  • Restrict network access to the realtime service port so only the API and agent services can reach it.
  • Set REALTIME_INTERNAL_TOKEN and AISOC_REALTIME_JWT_SECRET to unique, high-entropy values and rotate any tickets minted before the upgrade.

Patch Information

The fix ships in AiSOC 12.0.0, released via GitHub Release v12.0.0 and documented in GitHub Security Advisory GHSA-mqjp-pcpr-7c37. Commit 2f0e954 removes the development fallback for both secrets and causes the ticket endpoint to fail closed with HTTP 503 when the JWT secret is unset. Additional context is available in the VulnCheck Advisory on AiSOC.

Workarounds

  • Block the realtime service's internal port at the network layer, allowing only the API and agent service subnets.
  • Terminate /internal/* at a reverse proxy that requires a bearer token before forwarding to the realtime service.
  • Rotate AISOC_REALTIME_JWT_SECRET immediately so any tickets minted with the previously committed constant are invalidated.
bash
# Generate strong values for both secrets before starting the realtime service
export AISOC_REALTIME_JWT_SECRET="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"
export REALTIME_INTERNAL_TOKEN="$(python -c 'import secrets; print(secrets.token_urlsafe(32))')"

# Restrict /internal/* at the reverse proxy (nginx example)
# location /internal/ {
#     if ($http_x_internal_token != "$REALTIME_INTERNAL_TOKEN") { return 403; }
#     allow 10.0.0.0/24;   # API/agent subnet
#     deny all;
#     proxy_pass http://realtime_upstream;
# }

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.