CVE-2026-71886: CWE-863 Incorrect Authorization in Legion of the Bouncy Castle Inc. BC-JAVA
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.
AI Analysis
Technical Summary
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.
CVE-2026-71886: CWE-863 Incorrect Authorization in Legion of the Bouncy Castle Inc. 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
Affected software
Legion of the Bouncy Castle Inc.
BC-JAVA
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
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.
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 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.