CVE Professor
›
Back
CVE-2026-42789

CVE-2026-42789 — Erlang Erlang\/otp (tüm Sürümler) — CWE-295 · CWE-296

MEDIUM CVSS 4.8 NVD

CVE-2026-42789 is a MEDIUM severity security vulnerability (CWE-295, CWE-296) (CVSS 4.8/10) affecting Erlang Erlang\/otp (tüm Sürümler). Technical vector analysis shows that an attacker can exploit this flaw remotely over the network without authentication (PR:N) with zero user interaction (UI:N), allowing unauthorized disclosure of sensitive data (C:H).

📄 Official NVD / MITRE Original Record Text

Improper Following of a Certificate's Chain of Trust vulnerability in Erlang OTP public_key (pubkey_cert module) allows a non-CA certificate to be accepted as an intermediate issuer, enabling certificate chain forgery. In lib/public_key/src/pubkey_cert.erl, pubkey_cert:validate_extensions/7 contains two flaws that together allow a certificate with basicConstraints cA:false and no keyUsage extension to be used as an intermediate issuer in a chain passed to public_key:pkix_path_validation/3: the cA:false clause recurses into the remaining extensions without rejecting the certificate when it is in issuer position, and the keyUsage check only fires when the extension is present, so a certificate lacking keyUsage entirely bypasses the keyCertSign enforcement. Any party holding an end-entity certificate with basicConstraints cA:false and no keyUsage extension, issued by any CA in the victim's trust store, can use that certificate's private key to sign forged leaf certificates for arbitrary identities. public_key:pkix_path_validation/3 accepts the resulting chain, and by extension every TLS or mTLS endpoint built on the OTP ssl application that relies on the default verifier is affected, including server identity verification on the client side and client certificate verification on mTLS servers. This issue affects OTP from OTP 17.0 before OTP 27.3.4.19, OTP 28.5.0.8, and OTP 29.1.2, corresponding to public_key from 0.22 before 1.17.1.7, 1.20.3.6, and 1.21.8. Whether OTP before OTP 17.0, corresponding to public_key before 0.22, is affected is unknown.

Published 27.05.2026
ISO Date 2026-05-27
CVSS Version v3.1
Source NVD
CVSS v3.1 Vector Metrics
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Attack Vector Network AV:N
Attack Complexity High AC:H
Privileges Req. None PR:N
User Interaction None UI:N
Scope Unchanged S:U
Confidentiality Low C:L
Integrity Low I:L
Availability None A:N
AI Security Analysis & Remediation
🤖 Generating Deep AI Security Analysis…
Analyzing CVSS vector & CWE weakness structure…

━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━
CVE-2026-42789
CVSS 4.8/10 · MEDIUM · 27.05.2026
CWE: CWE-295, CWE-296
Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━

🎯 WHAT IS THIS VULNERABILITY?
Summary: Improper Following of a Certificate's Chain of Trust vulnerability in Erlang OTP public_key (pubkey_cert module) allows a non-CA certificate to be accepted as an intermediate issuer, enabling certificate chain forgery. In lib/public_key/src/pubkey_cert.erl, pubkey_cert:validate_extensions/7 contains two flaws that together allow a certificate with basicConstraints cA:false and no keyUsage exten…
Affected: erlang:erlang\/otp

⚡ ATTACK CHAIN
Remotely over internet | no authentication required | no user interaction.

🌍 REAL WORLD IMPACT
All confidential data readable/stealable.

🛡️ REMEDIATION
→ Apply vendor security update for erlang:erlang\/otp.
→ Pre-patch: put service behind VPN or apply IP allowlist.
→ Add WAF rule, create IDS alert for anomalous traffic.

⚠️ URGENCY
📋 Routine update cycle (30 days)

────────────────────────────────────────
[Kural Tabanlı Otomatik Güvenlik Analizi]

Target Reconnaissance Queries (FOFA & Shodan)

FOFA Query

app="erlang erlang\/otp"
CVSS Score
4.8 / 10 · CVSS MEDIUM
Weakness Types (CWE)
CWE-295 CWE-296 CWE-295
Affected Products (1)
erlang:erlang\/otp (tüm sürümler)
References & Advisories (6)
github.com advisory
Related CVEs
3.7
CVE-2026-133477
A weakness has been identified in sofastack sofa-bolt up to 1.6.12. This impacts the function initSSLContext o
9.0
CVE-2026-132807
A malicious actor with access to the network and under certain conditions could exploit an Improper Certificat
8.1
CVE-2026-117659
The InfoScan Electron desktop client improperly handles TLS certificate errors by accepting certificates witho
8.1
CVE-2026-85018
IBM Guardium Data Protection 12.2 is vulnerable to improper TLS certificate validation in the GDP Terraform pr
7.1
CVE-2026-87867
MRemoteNG establishes encrypted but unauthenticated channel with Microsoft SQL Server backend. Client accept
6.0
CVE-2026-128978
Improper certificate validation vulnerability in Estonian Information System Authority (RIA) libdigidocpp, Est