Skip to main content

Publish to Bitbucket CVE-2025-64150

MEDIUM
Missing Authorization (CWE-862)
2025-10-29 jenkinsci-cert@googlegroups.com
5.4
CVSS 3.1 · Vendor: googlegroups
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate with Overall/Read access
  2. Delivery
    Obtain valid credential IDs via another method
  3. Exploit
    Specify attacker-controlled URL and credential ID
  4. Execution
    Plugin transmits stored credential
  5. Impact
    Capture exfiltrated credential

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Authorization checks on every request
MITRE ATT&CK

1 technique across 1 tactic: Privilege Escalation

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Requires an authenticated Jenkins account with at least Overall/Read permission (the lowest authenticated tier), so it is not exploitable by anonymous users unless anonymous read is enabled. The attacker must also already know a valid credentials ID stored in Jenkins, which the description states is 'obtained through another method' - a meaningful limiting prerequisite. The attacker must be able to direct the plugin to an attacker-controlled URL to receive the exfiltrated secret. Affected deployments are those running Publish to Bitbucket Plugin version 0.4 or earlier; later/patched versions are not affected.

Impact

This is a moderate, authenticated-access credential-disclosure issue, not an urgent priority. The CVSS 3.1 vector (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N, base 5.4) describes a network-reachable flaw requiring low privileges (Jenkins Overall/Read) and no user interaction. Exploitation status is 'no public exploit identified at time of analysis' - there is no KEV listing and no POC referenced. The EPSS score of 0.24% (14th percentile) reinforces low near-term exploitation likelihood. No SSVC decision record was provided. The signals are internally consistent: network vector matches a web-based Jenkins plugin action, and PR:L correctly reflects that Overall/Read is the minimum authenticated level - this is an authorization gap (CWE-862 Missing Authorization), so an attacker must already hold a valid Jenkins account. One nuance to verify: the description notes credential IDs must be 'obtained through another method,' an additional prerequisite the base CVSS AC:L does not fully capture, and the real impact (theft of stored secrets) is arguably higher than the official C:L rating suggests. Overall this is a credible insider/low-privilege-account risk in environments where many users hold Overall/Read, but it is not a widespread remote-unauthenticated threat.

Exploit ScenarioDerived

An attacker who holds only a low-privilege Jenkins account (Overall/Read) and has separately learned the ID of a stored credential invokes the plugin's connection-test function, pointing it at a server they control and selecting that credential ID. The plugin, lacking a permission check, sends the stored credential to the attacker's URL, disclosing secrets the user should not have access to. No public exploit code is identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Oct 08, 2026

Credential disclosure in the Jenkins Publish to Bitbucket Plugin 0.4 and earlier allows authenticated users holding only Overall/Read permission to point the plugin at an attacker-controlled URL and capture Jenkins-stored credentials. Exploitation is not trivial: the attacker must already possess a valid credentials ID (obtained through another method per the description) and must control the endpoint the plugin contacts, which is why this is assessed as a moderate, authenticated-access issue rather than an urgent priority; this maps to an assessed vector of AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N. No public exploit has been identified at time of analysis, the issue is not in CISA KEV, and EPSS is low at 0.24% (14th percentile).

RemediationAI

The primary fix is to upgrade the Jenkins Publish to Bitbucket Plugin to the version identified as fixed in the Jenkins security advisory for SECURITY-3576 (2025-10-29, https://www.jenkins.io/security/advisory/2025-10-29/#SECURITY-3576); the advisory is the authoritative source for the exact patched release, and that version should be applied or exceeded on all controllers running the plugin. If immediate upgrade is not possible, disable the Publish to Bitbucket Plugin entirely - the trade-off is loss of the Bitbucket publishing functionality - and in the meantime restrict which accounts hold Overall/Read permission, in particular disabling anonymous read access, since anonymous exploitation is only possible when that setting is on; note that this reduces but does not eliminate exposure from legitimate low-privileged users. Because the flaw allows the contents of Jenkins-stored credentials to be exfiltrated, rotate any credentials whose IDs could have been observed by an untrusted user, and review controller logs for outbound connections to unexpected hosts from the plugin, accepting that credential rotation may require updating dependent jobs and external systems. There is no vendor-released patch identifier for this plugin recorded in the supplied data beyond the advisory reference, so confirm the fixed version directly against that advisory before considering the issue closed; no public exploit code has been identified at time of analysis, so no emergency out-of-band response is indicated.

Affected Packages

maven org.jenkins-ci.plugins:publish-to-bitbucket no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in maven

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

The root cause is CWE-862 (Missing Authorization) in the Jenkins Publish to Bitbucket Plugin, which handles credential-bearing connectivity to Bitbucket endpoints. Because the plugin fails to enforce a permission check on the code path that performs outbound connections, any user with the baseline Overall/Read permission can invoke that functionality while supplying two attacker-controlled inputs: the destination URL and a credentials ID. The plugin then resolves that ID against the Jenkins credentials store and transmits the associated secret to the supplied URL, resulting in confidentiality loss. The CVSS 3.1 vector supplied with the CVE (AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N) confirms remote reachability and Low privileges (PR:L), i.e. authentication is required and the lowest authenticated tier - Overall/Read - is sufficient; anonymous exploitation is possible only where anonymous read access has been explicitly enabled. Our independent assessment retains AV:N and PR:L but rates AC:H and C:H instead of C:L, reflecting two real friction points: the attacker must already know the target credentials ID, and the outbound connection must be steered to an attacker-controlled listener. There is no integrity or availability impact in the assessed vector. The affected technology is a Jenkins plugin running inside the Jenkins controller JVM, so exfiltrated secrets are the build/deployment credentials managed by that controller - frequently high-value in CI/CD environments.

Know when Publish To Bitbucket gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (googlegroups) PRIMARY 5.4 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.3 MEDIUM

Overall/Read is authenticated so PR:L; needing a credential ID obtained separately raises AC:H; theft of stored secrets is high confidentiality with no integrity or availability impact.

3.1 AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (googlegroups).

CVSS VectorVendor: googlegroups

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

DescriptionCVE.org

A missing permission check in Jenkins Publish to Bitbucket Plugin 0.4 and earlier allows attackers with Overall/Read permission to connect to an attacker-specified URL using attacker-specified credentials IDs obtained through another method, capturing credentials stored in Jenkins.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche Jenkins plugin, limited installation base versus Jenkins core
Data Quality
3 sources
Confidence: Low

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available No
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

27
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +27
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

Affected Products (CPE)CVE.org

cpe:2.3:a:jenkins:publish_to_bitbucket:*:*:*:*:*:jenkins:*:*

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy