CVE-2026-6622

Broken or Risky Cryptographic Algorithm in Insecure storage of private key files with global read permissions in BouncyCastle Random Number Generator

Verified by Precogs Threat Research
Last Updated: Sep 25, 2024
Base Score
8.1HIGH

Executive Summary

CVE-2026-6622 is a high severity vulnerability affecting cbom. It is classified as CWE-327. Ensure your systems and dependencies are patched immediately to mitigate exposure risks.

Precogs AI Insight

"Precogs AI scans application packages to identify weak cryptographic ciphers, key-length deviations, and hardcoded certificates, generating secure migration suggestions."

Exploit Probability (EPSS)
Low (0.0%)
Public POC
Undisclosed
Exploit Probability
Elevated (52%)
Public POC
Available
Affected Assets
cbomCWE-327

What is this vulnerability?

CVE-2026-6622 is categorized as a high Broken or Risky Cryptographic Algorithm flaw with a CVSS base score of 8.1. Based on our vulnerability intelligence, this issue occurs when the application fails to securely handle untrusted data boundaries.

A security exposure has been identified in BouncyCastle Random Number Generator. Specifying as insecure storage of private key files with global read permissions in bouncycastle random number generator, this vulnerability enables remote or local actors to exploit bounds or logical checks.

This architectural defect enables adversaries to bypass intended security controls, directly manipulating the application's execution state or data layer. Immediate strategic intervention is required.

Risk Assessment

MetricValue
CVSS Base Score8.1 (HIGH)
Vector StringCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:N
PublishedSeptember 25, 2024
Last ModifiedSeptember 25, 2024
Related CWEsCWE-327

Impact on Systems

Data Exposure: Deprecated ciphers (e.g. 3DES) permit cryptanalytic decryption of stored messages.

Credential Theft: Hardcoded private keys in public files expose server access directly to attackers.

Compliance Violations: Fails cryptographic standards under SOC 2, HIPAA, and PCI-DSS audits.

How to Fix and Mitigate CVE-2026-6622

  1. Upgrade Encryption Standards: Migrate legacy cryptographic algorithms to AES-256-GCM and SHA-256+.
  2. Remove Embedded Secrets: Shift hardcoded credentials and certificates into secure environment secret managers.
  3. Enforce TLS 1.3: Disable TLS 1.0/1.1 and deprecated cipher configurations in network gateways.

Defending with Precogs AI

Precogs AI scans application packages to identify weak cryptographic ciphers, key-length deviations, and hardcoded certificates, generating secure migration suggestions.

Use Precogs to continuously scan your codebase, binaries, APIs, and infrastructure for this vulnerability class and related attack patterns. Our AI-powered detection engine combines static analysis with threat intelligence to identify exploitable weaknesses before attackers do.

Start scanning with Precogs →

Vulnerability Code Signature

Attack Data Flow

StageDetail
SourceUntrusted User Input
VectorInput flows through the application logic without sanitization
SinkExecution or Rendering Sink
ImpactApplication compromise, Logic Bypass, Data Exfiltration

Vulnerable Code Pattern

# ❌ VULNERABLE: Unsanitized Input Flow
def process_request(request):
    user_input = request.GET.get('data')
    # Taint sink: processing untrusted data
    execute_logic(user_input)
    return {"status": "success"}

Secure Code Pattern

# ✅ SECURE: Input Validation & Sanitization
def process_request(request):
    user_input = request.GET.get('data')
    
    # Sanitized boundary check
    if not is_valid_format(user_input):
        raise ValueError("Invalid input format")
        
    sanitized_data = sanitize(user_input)
    execute_logic(sanitized_data)
    return {"status": "success"}

How Precogs Detects This

Precogs AI Analysis Engine maps untrusted input directly to execution sinks to catch complex application security vulnerabilities.

Related Vulnerabilitiesvia CWE-327

CVE-2026-60139.5 CRITICAL

Broken or Risky Cryptographic Algorithm in Weak key generation entropy due to predictable random number state in Java Crypto Random Number Generator

CWE-327
CVE-2026-61819.5 CRITICAL

Broken or Risky Cryptographic Algorithm in Weak key generation entropy due to predictable random number state in GnuTLS Random Number Generator

CWE-327
CVE-2026-62448.8 HIGH

Broken or Risky Cryptographic Algorithm in Missing certificate validation checks in outbound HTTPS proxy client in Erlang SSH Random Number Generator

CWE-327
CVE-2026-67908.1 HIGH

Broken or Risky Cryptographic Algorithm in Insecure storage of private key files with global read permissions in OpenSSL Random Number Generator

CWE-327
CVE-2026-68537.4 HIGH

Broken or Risky Cryptographic Algorithm in Weak key generation entropy due to predictable random number state in Java Crypto Random Number Generator

CWE-327
CVE-2026-69166.7 MEDIUM

Broken or Risky Cryptographic Algorithm in Missing certificate validation checks in outbound HTTPS proxy client in Go Crypto Random Number Generator

CWE-327

Is your system affected?

Precogs AI detects CVE-2026-6622 in compiled binaries, LLMs, and application layers — even without source code access.