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

CVE-2026-97879: StarTraining Authentication Bypass Vulnerability

CVE-2026-97879 is an authentication bypass flaw in zhistaredu StarTraining up to version 3.8.1 affecting the api-docs endpoint. Attackers can exploit this remotely to gain unauthorized access. This article covers technical details, affected versions, security 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-97879 Overview

CVE-2026-97879 is a missing authentication vulnerability [CWE-287] affecting zhistaredu StarTraining versions up to 3.8.1. The flaw resides in an unknown function within SecurityConfig.java that governs access to the api-docs endpoint. Attackers can reach the endpoint remotely without supplying credentials, exposing API documentation that typically assists in reconnaissance and follow-on exploitation. A public exploit has been released, increasing the likelihood of opportunistic abuse. The vendor was contacted prior to public disclosure but did not respond, and no official patch has been published at the time of writing.

Critical Impact

Unauthenticated remote attackers can access the Swagger api-docs endpoint, disclosing the full application API surface and aiding broader attack planning.

Affected Products

  • zhistaredu StarTraining versions up to and including 3.8.1
  • The api-docs (Swagger) endpoint component
  • Applications relying on the vulnerable SecurityConfig.java configuration

Discovery Timeline

  • 2026-09-25 - CVE-2026-97879 published to NVD
  • 2026-09-28 - Last updated in NVD database

Technical Details for CVE-2026-97879

Vulnerability Analysis

The vulnerability stems from a missing authentication control in StarTraining's Spring-based SecurityConfig.java. The security configuration fails to require authentication on routes serving the Swagger api-docs endpoint. As a result, any network-reachable client can retrieve the OpenAPI specification without credentials.

Although the direct impact is limited to confidentiality of API metadata, exposed api-docs output typically enumerates endpoints, parameters, and expected payloads. Attackers use this information to map authenticated and administrative endpoints, locate injection points, and chain additional weaknesses. The exploit has been released publicly, and the vendor has not acknowledged the issue.

Root Cause

The root cause is improper security filter configuration in SecurityConfig.java. The filter chain omits the api-docs paths from authentication requirements, treating them as public resources. This is classified under [CWE-287] Improper Authentication and is a common pattern when Swagger UI routes are allow-listed in development and carried into production builds.

Attack Vector

Exploitation requires only network access to the StarTraining application. An attacker sends an unauthenticated HTTP GET request to the /v3/api-docs or equivalent Swagger documentation path. The server returns the complete OpenAPI schema without challenge. No user interaction or privileges are required, and the attack can be fully automated against internet-exposed instances. See the GitHub Security Advisory for the technical write-up.

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-97879

Indicators of Compromise

  • Unauthenticated HTTP requests to /v3/api-docs, /swagger-ui, or /swagger-resources paths in web server logs
  • Successful HTTP 200 responses to api-docs endpoints originating from unknown or external source IPs
  • Repeated enumeration patterns against documented API routes shortly after api-docs retrieval

Detection Strategies

  • Inspect application and reverse-proxy logs for anonymous access to Swagger-related URIs on StarTraining hosts
  • Correlate api-docs retrieval with subsequent requests targeting enumerated endpoints from the same source
  • Deploy web application firewall (WAF) rules that flag unauthenticated requests to documentation endpoints

Monitoring Recommendations

  • Alert on access to any api-docs, swagger, or OpenAPI route from untrusted network segments
  • Baseline normal administrative access patterns to the StarTraining management interface and investigate deviations
  • Forward StarTraining application logs to a centralized logging platform for retention and analytics

How to Mitigate CVE-2026-97879

Immediate Actions Required

  • Restrict network access to StarTraining instances behind a VPN or allow-listed IP ranges until a vendor fix is available
  • Block external requests to /v3/api-docs, /swagger-ui, and related documentation routes at the reverse proxy or WAF
  • Audit SecurityConfig.java and the Spring Security filter chain to require authentication on all non-public routes

Patch Information

No vendor patch has been released. zhistaredu did not respond to the disclosure attempt reported in the VulDB Vulnerability Report. Operators should monitor the vendor's channels for a fix and apply workarounds in the interim.

Workarounds

  • Add an authentication requirement in the Spring Security configuration for all api-docs and swagger-ui paths
  • Disable the Swagger api-docs endpoint entirely in production builds via springdoc.api-docs.enabled=false
  • Place StarTraining behind an authenticating reverse proxy that enforces access controls before requests reach the application
bash
# Configuration example - disable Swagger api-docs in production
# application.properties
springdoc.api-docs.enabled=false
springdoc.swagger-ui.enabled=false

# Or restrict at reverse proxy (nginx example)
# location ~ ^/(v3/api-docs|swagger-ui|swagger-resources) {
#     deny all;
#     return 403;
# }

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.