Skip to main content

CVE-2026-71886: CWE-863 Incorrect Authorization in Legion of the Bouncy Castle Inc. BC-JAVA

0
High
VulnerabilityCVE-2026-71886cvecve-2026-71886cwe-863cwe-285
Published: 10/03/2026 (10/03/2026, 08:46:33 UTC)
Source: CVE Database V5
Vendor/Project: Legion of the Bouncy Castle Inc.
Product: BC-JAVA

Description

CVE-2026-71886 is a high-severity authorization vulnerability in Bouncy Castle for Java (BC-JAVA) versions 1.81 up to but not including 1.86. The issue arises because the OpenPGP certificate API incorrectly accepts third-party certifications or trust delegations from subkeys that lack proper certification authority flags. This allows a subkey without explicit certification authority to issue a valid certification or delegation, misleading applications into trusting attacker-controlled identities. The vulnerability does not forge primary key signatures or expose private keys but elevates the authority of compromised subkeys, defeating intended key flag restrictions.

CVSS v4.0

Score 8.2high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vuln. Confidentiality
None
Vuln. Integrity
High
Vuln. Availability
None
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N/U:Amber

Affected software

Legion of the Bouncy Castle Inc.

BC-JAVA

Affected versions
>=1.81 <1.86
GitHub Actionsmore threats →cve
bcpg
pkg:github/bcpg
Affected versions
>=1.81 <1.86

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 10/03/2026, 09:16:03 UTC

Technical Analysis

In BC-JAVA before version 1.86, the OpenPGP certificate API methods getCertificationBy() and getDelegationBy() improperly validate third-party certifications by accepting signatures from any component key of the issuing certificate without verifying that the key had the CERTIFY_OTHER flag as required by RFC 9580 section 5.2.3.29. This flaw allows subkeys bound only for signing or encryption, which should not have certification authority, to issue valid User ID certifications or trust delegations. The API returns these as valid signature chains attributed to the issuing certificate, causing applications relying on these methods for trust decisions to mistakenly accept attacker assertions as legitimate. The fix introduced requires that only the primary key or subkeys with the CERTIFY_OTHER flag can issue such certifications or delegations, preserving the intended separation of key capabilities.

Potential Impact

This vulnerability enables an attacker controlling a restricted subkey to escalate its authority to that of the primary key for issuing certifications or trust delegations. Applications that rely on the affected API methods to validate identity or trust decisions may incorrectly trust attacker-controlled identities or delegations, potentially leading to unauthorized trust relationships. The vulnerability does not compromise private keys or forge primary key signatures but undermines the containment model enforced by key flags, increasing the risk of trust misuse.

Mitigation Recommendations

A fix is available in BC-JAVA version 1.86 and later, which enforces that only the primary key or subkeys with the CERTIFY_OTHER key flag can issue third-party certifications or delegations. Users should upgrade to version 1.86 or later to remediate this vulnerability. No additional mitigation actions are necessary once the update is applied.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
bcorg
Date Reserved
2026-08-08T00:06:06.982Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6ac0c475a43b0b3b89b22f8a

Added to database: 10/03/2026, 09:01:41 UTC

Last enriched: 10/03/2026, 09:16:03 UTC

Last updated: 10/03/2026, 13:15:27 UTC

Views: 9

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses