CVE-2025-10282
Python vulnerability analysis and mitigation

Overview

CVE-2025-10282 is a sensitive information exposure vulnerability in BBOT's gitlab.py module that can leak a user's globally configured GitLab API key to an attacker-controlled server via a maliciously formatted git URL. It affects BBOT versions prior to 2.7.0 and versions 2.7.0.6919rc0 through 2.7.2 (exclusive), with the patched version being 2.7.2. The vulnerability was published on October 9, 2025, and carries a CVSS v3.1 base score of 4.7 (Medium) (GitHub Advisory, Red Hat).

Technical details

The root cause is classified as CWE-200 (Exposure of Sensitive Information to an Unauthorized Actor). BBOT's gitlab.py module sends the user's globally configured gitlab API key to on-premise GitLab instances without adequately validating the target server's trustworthiness. An attacker can craft a malicious git URL that, when processed by BBOT during a scan, causes the tool to transmit the API key to an attacker-controlled server. Exploitation requires user interaction — specifically, a user must run BBOT against a malicious web server — and no authentication is required on the attacker's side (GitHub Advisory, Black Lantern Security Blog).

Impact

Successful exploitation results in the disclosure of the victim's GitLab API key to an unauthorized party, compromising confidentiality. With a leaked GitLab API key, an attacker could gain unauthorized access to GitLab repositories, CI/CD pipelines, secrets, and other resources associated with the compromised account. There is no direct integrity or availability impact from the vulnerability itself, but secondary consequences such as source code theft, supply chain compromise, or further credential abuse are plausible (GitHub Advisory).

Exploitability

There is no public proof-of-concept exploit and no evidence of in-the-wild exploitation at this time (GitHub Advisory). The EPSS score is approximately 0.029% (9th percentile), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires a user to actively run BBOT against an attacker-controlled server, limiting the attack surface to scenarios where social engineering or malicious scan targets are involved (GitHub Advisory).

Exploitation steps

  1. Set up attacker-controlled server: Deploy a web server that mimics a GitLab instance and is capable of logging incoming HTTP requests, including authorization headers.
  2. Craft malicious git URL: Construct a git URL pointing to the attacker-controlled server, formatted to trigger BBOT's gitlab.py module during reconnaissance (e.g., embedding the URL in a target's web content or providing it as a scan target).
  3. Induce victim to scan the malicious target: Trick a BBOT user (who has a gitlab API key configured) into running a BBOT scan that includes or resolves to the attacker-controlled server.
  4. Capture the API key: When BBOT's gitlab.py module processes the malicious git URL, it sends the configured GitLab API key in the request to the attacker's server, where it is logged.
  5. Abuse the captured API key: Use the leaked API key to authenticate to gitlab.com or the victim's GitLab instance and access repositories, secrets, or CI/CD pipelines (GitHub Advisory, Black Lantern Security Blog).

Indicators of compromise

  • Network: Outbound HTTP/HTTPS requests from the BBOT host to unexpected or unknown GitLab-like servers containing PRIVATE-TOKEN or Authorization headers with GitLab API key values.
  • Logs: BBOT scan logs showing the gitlab module making requests to domains or IPs not associated with legitimate GitLab infrastructure.
  • GitLab Audit Logs: Unexpected API activity (repository access, token usage) from unfamiliar IP addresses using the configured API key, potentially indicating post-exploitation use of a leaked key.

Mitigation and workarounds

Users should upgrade BBOT to version 2.7.2 or later, which patches this vulnerability (GitHub Advisory). As an interim measure, users should avoid running BBOT scans against untrusted or unknown targets when a GitLab API key is configured. Additionally, rotating any potentially exposed GitLab API keys and enabling GitLab audit logging to monitor for unauthorized API usage is strongly recommended (GitHub Advisory).

Community reactions

The vulnerability was reported by researcher justinsteven and published by TheTechromancer (a Black Lantern Security contributor) on October 9, 2025. Black Lantern Security, the maintainer of BBOT, published a dedicated security advisory blog post detailing the issue (Black Lantern Security Blog). No significant broader media coverage or notable community debate has been observed beyond the initial advisory.

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2026-59177HIGH8.8
  • Python logoPython
  • esphome-device-builder
NoYesSep 09, 2026
CVE-2026-88005MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 10, 2026
CVE-2026-88002MEDIUM6.5
  • Python logoPython
  • open-webui
NoYesSep 09, 2026
CVE-2026-88000MEDIUM6.5
  • Python logoPython
  • cpe:2.3:a:openwebui:open_webui
NoYesSep 09, 2026
CVE-2026-88001MEDIUM5
  • Python logoPython
  • open-webui
NoYesSep 09, 2026

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management