← All advisories
CVE-2026-129877highSecret exposure2026-11-16

CVE-2026-129877: DeepAudit AI code-audit platform returns its LLM API keys and GitHub/GitLab tokens to anyone at /api/v1/config/defaults

DeepAudit (lintsinghua/DeepAudit), a self-hosted multi-agent AI code-audit tool, exposes GET /api/v1/config/defaults with no authentication. The response includes the server's configured OpenAI, Gemini, Claude, Qwen and DeepSeek API keys plus its GitHub and GitLab tokens, so anyone who can reach the backend can take the operator's LLM credits and repository access. NVD lists 2.0.0-beta.1 through 3.8.0 as affected and names no fixed version.

01.

What it is

get_default_config() in backend/app/api/v1/endpoints/config.py reads OPENAI_API_KEY, GITHUB_TOKEN, GITLAB_TOKEN and other provider keys from settings, and the /defaults route has no auth dependency (its own docstring says no authentication required).

Researchers at vul.yulun.ac.cn published this on 6 November 2026 together with three other DeepAudit issues: RCE via a project-ID path traversal in ZIP upload, server-side file read/SSRF through the PDF report subtitle, and leaking the global Git token via a GitLab/Gitea repository URL pointing at an attacker host. Those three have no CVE in our feed yet.

NVD published CVE-2026-129877 (VulnCheck) on 16 November 2026 covering 2.0.0-beta.1 through 3.8.0, the newest tag. There is no patched release listed.

02.

How to check

  1. From outside your network, request http://<deepaudit-host>/api/v1/config/defaults without a cookie or Authorization header; if the JSON contains non-empty key or token fields you are exposed.
03.

How to fix

  1. Don't expose the DeepAudit backend to the internet or untrusted networks; put it behind VPN or an authenticating proxy that also covers /api/v1/config/defaults.
  2. Rotate every LLM API key and GitHub/GitLab token configured on an exposed instance, and give the Git tokens the least scope possible.
  3. Watch the DeepAudit repository for a release that adds authentication to this endpoint.
curl -s http://DEEPAUDIT_HOST:8000/api/v1/config/defaults | grep -Eo '"(openaiApiKey|claudeApiKey|geminiApiKey|githubToken|gitlabToken)": *"[^"]+' | sed 's/: *".*/: <set>/'
04.

Sources

More advisories for this tool
The weekly email

One email a week. Only what changed.

Every new security hole in AI coding tools, MCP servers, app builders and the stacks they generate (Next.js, Supabase, Node, PHP), each with how to check your app and the fix. No roundups of things you already read.

Free, one email a week. Read the latest issue first if you like. One-click unsubscribe in every email. We never sell or share addresses.