CVE-2026-57289

Bitbucket Push & Pull Request Plugin Disables SSL Validation on Bearer Tokens, Allowing Token Capture

Published Jun 24, 2026 CVSS 3.1 · 4.8 Medium EPSS < 1% KEV · Not listed
Description
Jenkins Bitbucket Push and Pull Request Plugin 3.3.8 and earlier unconditionally disables SSL/TLS certificate and hostname validation for connections sending Bearer token authenticated requests to the configured Bitbucket Server endpoint, allowing attackers able to intercept network traffic to capture the token.

Analysis

AI-generated

Technical impact

The Jenkins Bitbucket Push and Pull Request Plugin, versions 3.3.8 and earlier, unconditionally disables SSL/TLS certificate and hostname verification for requests that use a Bearer token to authenticate with a Bitbucket Server. This flaw allows an attacker who can position themselves on the network path between Jenkins and the Bitbucket endpoint to perform a man‑in‑the‑middle and capture the token. The stolen token can then be used to access Bitbucket repositories or services with the attacker's permissions, resulting in direct authentication credential compromise. The weakness arises from ignoring certificate chain validation (CWE‑295).

Affected Systems

The vulnerability affects any Jenkins instance that has the Bitbucket Push and Pull Request Plugin 3.3.8 or older installed. Users of the Jenkins Project’s Bitbucket plugin should verify their plugin version; only the 3.3.8 release series and earlier releases are impacted.

Risk and Exploitability

An attacker who can sniff or modify traffic between Jenkins and the Bitbucket Server can exploit the lack of TLS verification and intercept bearer tokens. The EPSS score is not available, but the CVSS score of 4.8 indicates medium severity. The vulnerability is not listed in the CISA KEV catalog. Given that the attack requires a network-level position and does not need privileged access to the Jenkins or Bitbucket servers, the overall risk is considered medium but with a potentially high impact if tokens are captured.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade the Jenkins Bitbucket Push and Pull Request Plugin to version 3.4.0 or later, which restores SSL/TLS certificate and hostname validation for Bearer token requests (CWE‑295).
  • Configure the plugin or Jenkins global security settings to enforce certificate chain verification and hostname matching against the Bitbucket Server endpoint, ensuring the TLS handshake cannot be bypassed when tokens are used (CWE‑295).
  • Implement network segmentation between Jenkins workers and the Bitbucket Server, and enable traffic monitoring or intrusion detection systems to detect unencrypted bearer token transmission, mitigating token leakage.

Generated by OpenCVE AI on June 24, 2026 at 20:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-jwhr-h7pc-3974 Jenkins Bitbucket Push and Pull Request Plugin unconditionally disables SSL/TLS certificate validation
History
Type Values Removed Values Added
First Time appeared Jenkins Project
Jenkins Project jenkins Bitbucket Push And Pull Request Plugin
Vendors & Products Jenkins Project
Jenkins Project jenkins Bitbucket Push And Pull Request Plugin
Type Values Removed Values Added
Title Bitbucket Push & Pull Request Plugin Disables SSL Validation on Bearer Tokens, Allowing Token Capture
Type Values Removed Values Added
Title Bitbucket Plugin Disables SSL/TLS Validation, Allowing Token Capture
Weaknesses CWE-310
Type Values Removed Values Added
Metrics cvssV3_1

{'score': 4.8, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
Title Bitbucket Plugin Disables SSL/TLS Validation, Allowing Token Capture
Weaknesses CWE-295
CWE-310
Type Values Removed Values Added
Description Jenkins Bitbucket Push and Pull Request Plugin 3.3.8 and earlier unconditionally disables SSL/TLS certificate and hostname validation for connections sending Bearer token authenticated requests to the configured Bitbucket Server endpoint, allowing attackers able to intercept network traffic to capture the token.
References
Weaknesses
  • CWE-295

    Improper Certificate Validation

Sources

Status
PUBLISHED
Assigner
jenkins
Published
Updated
Jun 24, 2026, 2:15 PM
Reserved
Jun 24, 2026, 8:41 AM
Status
Analyzed
Published
Jun 24, 2026, 2:17 PM
Modified
Oct 25, 2026, 10:10 PM