/

CVE-2026-129877

Severity:

HIGH RISK

(7.5)

Missing Authentication (CWE-306) in DeepAudit v1 API

CVE-2026-129877

Received

Vulnerability type

Category:

Missing Authentication

CWE:

CWE-306

Impact:

Sensitive credential disclosure and potential abuse of connected services

Severity:

HIGH RISK

(7.5)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

DeepAudit exposes server secrets through the /api/v1/config/defaults endpoint without requiring authentication. An unauthenticated attacker who can reach the endpoint may retrieve configured LLM provider API keys and GitHub or GitLab tokens, then use them to access connected services or repositories.

Affected context

The issue affects DeepAudit deployments where the /api/v1/config/defaults endpoint is reachable without an effective authentication or access-control boundary. Risk depends on network exposure and on whether the returned configuration contains active provider keys or source-control tokens.

Exploit preconditions

  • Attack surface: The DeepAudit HTTP API, specifically /api/v1/config/defaults
  • Required access: No authentication is required when the endpoint is exposed as described
  • Trigger point: A GET request to the endpoint
  • Why exploitation is possible: The endpoint returns sensitive configuration values without first requiring authentication

Why this happens

The endpoint makes sensitive configuration available without verifying the identity of the requester. This is a missing authentication control for a critical function, mapping to CWE-306. Secrets intended for operator or service use are exposed through an API response rather than being restricted to authorized callers.

Potential impact

  • Attackers may obtain LLM provider API keys and incur unauthorized usage or access provider resources.
  • Exposed GitHub or GitLab tokens could allow access to repositories or other token-authorized actions.
  • Compromised credentials could be reused for further access to connected services.
  • Disclosure may increase the risk of follow-on compromise, depending on token scope and deployment controls.

General mitigation guidance

Defensive patterns focus on keeping secrets out of public responses and enforcing access control at sensitive API boundaries.

  • Require authentication and appropriate authorization before returning configuration data.
  • Exclude secrets from defaults or diagnostic responses; return only non-sensitive configuration needed by clients.
  • Store credentials in protected secret-management systems and limit their scope and privileges.
  • Apply network access restrictions as an additional layer, not as a substitute for endpoint authentication.
  • Review and rotate potentially exposed credentials, and use controls that reduce the impact of misuse.

How teams detect issues like this

Review API handlers and routes that return configuration or diagnostic data for missing authentication and authorization checks. Static analysis and code review can flag sensitive response fields, secret access, and routes that bypass shared middleware. Policy checks can require authentication on sensitive endpoints and prevent credentials from appearing in API responses. Monitoring for unusual requests to the defaults endpoint and unexpected use of provider or source-control tokens can help identify possible exposure.

Sources

SourceLink
github.comgithub.com/lintsinghua/DeepAudit/blob/9aa46568f20b2ab2dbc1878a4479392012c1230a/backend/app/api/v1/endpoints/config.py#L109-L154
vul.yulun.ac.cnvul.yulun.ac.cn/20261106/deepaudit/
vulncheck.comvulncheck.com/advisories/deepaudit-2.0.0-beta.1-through-3.8.0-information-disclosure-via-api-v1-config-defaults

Frequently asked

questions

It may be exploitable over the network when the DeepAudit API is reachable and the endpoint does not enforce authentication.

No account is required under the described conditions; the endpoint can be queried without authentication.

Require authentication and authorization for sensitive API operations, and avoid returning secrets in endpoint responses.

Apply consistent access-control policies to API routes, keep credentials out of client-facing configuration, and test unauthenticated access to sensitive endpoints.

Find out what's already
exploitable in your codebase.