CVE-2025-10282: GitLab Domain Confusion in gitlab Leaks API Key

Published Oct 9, 2025
·
Updated

Summary

bbot's gitlab.py sends the user's "gitlab" API key to on-premise GitLab instances.

If a user has configured a gitlab.com API key using this mechanism, it may be leaked to an attacker-controlled server.

Impact

A user with a "gitlab" API key configured who uses bbot to scan a malicious webserver may leak their gitlab.com API key to an untrustworthy server.

Other sources

BBOT's gitlab module could be abused to disclose a GitLab API key to an attacker controlled server with a malicious formatted git URL.

— MITRE

Affected Software

3 affected componentsFixes available
GitLab GitLab
pip/bbot>=2.7.0.6919rc0<2.7.2
2.7.2
pip/bbot<2.7.0
2.7.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade pip/bbot to a version that resolves this vulnerability.

    Fixed in 2.7.2

Event History

Oct 9, 2025
CVE Published
via MITRE·03:46 PM
Data Sourced
via MITRE·03:46 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·04:15 PM
DescriptionSeverityWeakness
Oct 27, 2025
Advisory Published
via GitHub·08:15 PM
Data Sourced
via GitHub·08:15 PM
DescriptionSeverityWeaknessAffected Software

Frequently Asked Questions

1

What is the severity of CVE-2025-10282?

CVE-2025-10282 is considered a high-severity vulnerability due to its potential to disclose sensitive API keys.

2

How do I fix CVE-2025-10282?

To mitigate CVE-2025-10282, it is recommended to update the GitLab application to the latest version where the vulnerability is patched.

3

What type of attack does CVE-2025-10282 allow?

CVE-2025-10282 allows an attacker to exploit a maliciously formatted git URL to disclose a GitLab API key.

4

Which software is affected by CVE-2025-10282?

CVE-2025-10282 affects GitLab's gitlab module.

5

How can I protect against CVE-2025-10282?

To protect against CVE-2025-10282, ensure proper validation of git URLs and regularly update your GitLab installation.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203