/

CVE-2026-129880

Severity:

HIGH RISK

(7.7)

Server-Side Request Forgery (CWE-918) in DeepAudit Platform

CVE-2026-129880

Received

Vulnerability type

Category:

Server-Side Request Forgery (SSRF)

CWE:

CWE-918

Impact:

Credential disclosure and access to internal network resources

Severity:

HIGH RISK

(7.7)

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 has a server-side request forgery vulnerability in its repository URL handling that can expose server-wide GitLab or Gitea tokens. A registered user may exploit it by requesting branches for a project configured with a controlled host, potentially capturing tokens or reaching internal hosts.

Affected context

The issue affects DeepAudit's repository integration flow for GitLab or Gitea projects. It becomes risky when a registered user can supply or influence a repository_url and the server makes requests to that URL while exposing operator credentials or having access to internal hosts.

Exploit preconditions

  • Attack surface: Server-side requests made by the GitLab or Gitea repository integration.
  • Required access: A registered user account with the ability to create or configure a project.
  • Trigger point: A branch request for a project whose repository_url points to a host controlled by the user.
  • Why exploitation is possible: The server processes a user-influenced URL in a way that can expose server-wide integration tokens or allow requests to internal hosts.

Why this happens

The underlying issue is insufficient restriction of destinations used for server-side requests based on user-controlled repository URLs. This maps to CWE-918: Server-Side Request Forgery, where an application can be induced to make requests to unintended hosts or network locations. If credentials are attached to or otherwise exposed through these requests, an attacker may capture them.

Potential impact

  • An attacker may obtain server-wide GitLab or Gitea tokens.
  • Requests could reach internal hosts that are not directly accessible to the attacker.
  • Exposed tokens could enable unauthorized access to connected source-code services.
  • Internal services or data could be exposed, depending on network access and permissions.

General mitigation guidance

Mitigation generally focuses on restricting outbound requests and separating user-supplied destinations from privileged credentials.

  • Allow only approved repository hosts and required URL schemes.
  • Avoid sending server-wide credentials to destinations that have not been explicitly trusted.
  • Scope integration tokens to the minimum required permissions and projects.
  • Restrict outbound network access from the application, especially to internal and metadata services.
  • Validate destinations after DNS resolution and re-check them across redirects to reduce bypass risks.

Sources

SourceLink
github.comgithub.com/lintsinghua/DeepAudit/blob/9aa46568f20b2ab2dbc1878a4479392012c1230a/backend/app/api/v1/endpoints/projects.py#L720-L760
github.comgithub.com/lintsinghua/DeepAudit/blob/9aa46568f20b2ab2dbc1878a4479392012c1230a/backend/app/services/scanner.py#L122-L152
github.comgithub.com/lintsinghua/DeepAudit/blob/9aa46568f20b2ab2dbc1878a4479392012c1230a/backend/app/utils/repo_utils.py#L38-L68
vul.yulun.ac.cnvul.yulun.ac.cn/20261106/deepaudit/
vulncheck.comvulncheck.com/advisories/deepaudit-2.0.0-beta.5-through-3.8.0-ssrf-via-project-branch-listing-leaks-git-tokens

Frequently asked

questions

The described attack can be initiated through DeepAudit by a registered user who can configure a project and request its branches. It does not necessarily require direct access to the server.

A registered account with permission to create or configure the relevant project is required, along with the ability to trigger a branch request.

Restrict repository destinations to explicitly approved hosts, and do not expose privileged integration credentials to user-controlled destinations.

Combine strict destination validation with outbound network controls, narrowly scoped credentials, and code review or static analysis checks for server-side requests built from user-controlled URLs.

Find out what's already
exploitable in your codebase.