Skip to main content

Publish to Bitbucket CVE-2025-64148

MEDIUM
Missing Authorization (CWE-862)
2025-10-29 jenkinsci-cert@googlegroups.com
4.3
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 permission
  2. Exploit
    Request plugin endpoint lacking permission check
  3. Execution
    Enumerate stored credential IDs
  4. Impact
    Use IDs to plan credential-targeting attacks

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 holding Overall/Read permission and the Publish to Bitbucket Plugin version 0.4 or earlier installed on the Jenkins controller. Exploitation is limited to enumerating credential IDs only - the actual credential secret values are not exposed - and the impact widens only where Overall/Read is granted to anonymous or a large, untrusted user base. It does not grant unauthenticated access and requires no user interaction beyond the attacker's own authenticated request.

Impact

This is a low-to-moderate risk information-disclosure issue, not a priority emergency. The CVSS 3.1 base score of 4.3 (AV:N/AC:L/PR:L/UI:N/C:L/I:N/A:N) correctly reflects a network-reachable but authenticated flaw with only limited confidentiality impact and no integrity or availability effect. EPSS is low at 0.27% (17th percentile), consistent with a plugin-specific authorization gap that is unlikely to be mass-exploited. It is NOT in CISA KEV and no public exploit code was identified, so this is neither actively exploited nor weaponized. The signals are internally consistent: a CWE-862 missing-authorization bug exposing only credential IDs (not secret values) to any user holding Overall/Read, with no SSVC 'automatable' or high-technical-impact indicators present in the data. The main caveat: PR:L here means a legitimate low-privilege Jenkins user, so real risk is scoped to environments that grant Overall/Read broadly (e.g., to anonymous or large user populations).

Exploit ScenarioDerived

A low-privileged Jenkins user (or anonymous user if Overall/Read is granted to anonymous) who holds only Overall/Read sends a request to a Publish to Bitbucket Plugin endpoint that fails to check for the required permission, causing it to return the IDs of credentials stored in Jenkins. The attacker harvests these credential IDs to map which secrets exist and target follow-on attacks, though the credential secret values themselves are not disclosed. No public proof-of-concept was identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.3% 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 ID enumeration in Jenkins Publish to Bitbucket Plugin 0.4 and earlier lets any authenticated user holding Overall/Read permission list the IDs of credentials stored in Jenkins, because the plugin omits a permission check (CWE-862) on the endpoint that exposes that information. Only credential identifiers are disclosed - the underlying secret values are never exposed - so the practical impact is reconnaissance that can aid follow-on attacks, widening only where Overall/Read is granted to anonymous users or a large untrusted user base. No public exploit code or confirmed active exploitation has been identified (EPSS 0.27%, roughly the 17th percentile), making this a low-to-moderate risk information-disclosure issue rather than a priority emergency.

RemediationAI

Update the Publish to Bitbucket Plugin to the fixed release identified in the Jenkins security advisory of 2025-10-29 (SECURITY-3570, https://www.jenkins.io/security/advisory/2025-10-29/#SECURITY-3570); the provided data confirms an advisory-level fix but does not state the exact fixed version, so verify the version number in the advisory before upgrading, then restart the Jenkins controller to apply it. Where immediate upgrading is not possible, compensating controls are to restrict Overall/Read so that it is never granted to anonymous users and is limited to a small, trusted set of accounts (trade-off: users who legitimately need read access to builds must be individually granted the permission, and any anonymous read access currently relied upon will stop working); if the plugin is not in active use, disable or uninstall it from Manage Plugins (trade-off: any pipeline or freestyle job using the Publish to Bitbucket build step will fail until the plugin is restored); and monitor Jenkins authentication and access logs for unusual enumeration of credential IDs or repeated calls to plugin endpoints by low-privilege accounts, noting that logging is detective only and does not close the exposure. Credential secrets themselves are not exposed by this flaw, so a wholesale credential rotation is not strictly required unless the leaked IDs expose a separate weakness in how credentials are referenced.

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 Jenkins Publish to Bitbucket Plugin adds a build/publish step that pushes artifacts and build information to Bitbucket from a Jenkins controller, and it interacts with the Jenkins credentials subsystem, where every stored credential is addressable by a unique ID string. The vulnerability is a missing authorization check (CWE-862) on a plugin endpoint: the code fails to verify that the requesting user has a permission sufficient for reading credential metadata, so it falls back to the weaker Overall/Read permission instead of the credential-related permissions Jenkins normally enforces. Because the CPE entry cpe:2.3:a:jenkins:publish_to_bitbucket:*:*:*:*:*:jenkins:*:* covers all versions, every release up to and including 0.4 is in scope. The CVSS 3.1 vector CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N confirms the exposure is remote (network), requires low privileges (PR:L, i.e., an authenticated Jenkins account), needs no user interaction, is scoped to the vulnerable component, and yields only a low confidentiality impact with no integrity or availability effect - consistent with an ID/enumeration leak rather than credential theft.

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 4.3 MEDIUM
AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

Network-reachable endpoint (AV:N), no special conditions (AC:L), requires a low-privilege Overall/Read account (PR:L), no user interaction; only credential IDs leak, so C:L and I/A:N.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/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
None
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 enumerate credentials IDs of credentials stored in Jenkins.

Threat Intelligence Overview

EPSS Score
0.3%
Top 83% exploitable
Prevalence
Low
niche Jenkins Bitbucket-publishing plugin, limited installed base
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.3%
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

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
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