Skip to content
VulniPulse
High 2 vendors · 2 advisories

CVE-2026-42790: nameConstraints DNS bypass via subject CommonName fallback in public_key hostname verification

CVE-2026-42790 key facts

CISA KEV
Not listed (catalogue checked )
Highest advisory rating
High
CVSS base score
7.6 (NetApp), 7.4 (Red Hat)
CVSS vector
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:P/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N · base score 7.6, scored by EEFAttack vector: network. Attack complexity: high. Attack requirements: present. Privileges required: none. User interaction: passive. Confidentiality impact on the vulnerable system: high. Integrity impact on the vulnerable system: high. Availability impact on the vulnerable system: none. Confidentiality impact on subsequent systems: none. Integrity impact on subsequent systems: none. Availability impact on subsequent systems: none.
Weakness
  • CWE-295 Improper Certificate Validation
  • CWE-297 Improper Validation of Certificate with Host Mismatch
EPSS
0.36% chance of exploitation in the next 30 days (29th percentile). FIRST EPSS, .
CISA SSVC
Exploitation: none observed. Automatable: no. Technical impact: total. CISA, .
Fixed releases
  • NetApp: SnapCenter: 6.2.2
Vendor advisories
2 from NetApp, Red Hat
Assigned by
EEF (CNA)
CVE record published
Listed by VulniPulse
Record changed

Ratings, versions and fixes are quoted from the vendor advisories that cover only CVE-2026-42790; each belongs to its advisory, not to every product listed. How records are collected and checked.

Description

Improper Certificate Validation vulnerability in Erlang OTP public_key (pubkey_cert and public_key modules) allows a DNS nameConstraints bypass via subject CommonName fallback in TLS hostname verification. Two flaws combine to allow a subordinate CA whose DNS nameConstraints are restricted (e.g. permitted;DNS:allowed.example.com) to issue a leaf certificate that an OTP TLS client accepts as a valid identity for an out-of-scope hostname (e.g. victim.example.com): First, pubkey_cert:validate_names/6 in lib/public_key/src/pubkey_cert.erl only checks SAN DNS entries against nameConstraints. Per RFC 5280, a permitted DNS subtree only restricts certificates that contain a DNS-typed name. A leaf with no subjectAltName therefore trivially satisfies any permitted;DNS:... constraint regardless of its subject commonName. Second, public_key:pkix_verify_hostname/3 in lib/public_key/src/public_key.erl falls back to the subject commonName when no subjectAltName is present, extracting id-at-commonName attributes as presented IDs and matching them against the reference hostname. The strict pkix_verify_hostname_match_fun(https) matcher does not suppress this fallback. The result is that path validation accepts a CN-only leaf under a DNS-constrained intermediate (no SAN means the nameConstraints are not triggered), and hostname verification then accepts it via the CN fallback. The bypass is reachable from stock ssl:connect with verify_peer, a trusted CA, SNI, and the canonical strict https hostname matcher. This issue affects OTP from OTP 19.3 before OTP 26.2.5.21, OTP 27.3.4.12, OTP 28.5.0.1, and OTP 29.0.1, corresponding to public_key from 1.4 before 1.15.1.7, 1.17.1.3, 1.20.3.1, and 1.21.1.

Text from the CVE.org record (EEF).

How do I fix CVE-2026-42790?

Upgrade to a fixed release named by the vendor:

  • NetApp: SnapCenter: 6.2.2
  • Update affected NetApp products to a fixed release: SnapCenter: 6.2.2. (NetApp)
  • Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes. (Red Hat)
  • Workaround: The verify_fun option in the ssl application can be used to ensure that TLS connections fail if the end-entity certificate is missing the subjectAltName extension or has no domain name. Do not use a verify_fun that accepts the name_not_permitted error. (CVE.org record)

Vendor advisories for CVE-2026-42790

NetApp

1 advisory
  • Advisory severityHigh7.6

    High [CVE-2026-42790] Erlang/OTP Vulnerability in NetApp Products

    NTAP-20260605-0010Source published Source updated

    Multiple NetApp products incorporate Erlang/OTP. Erlang/OTP versions 19.3 and higher are susceptible to a vulnerability which when successfully exploited could lead to disclosure of sensitive information or addition or modification of data. Affected products: ONTAP Select Deploy administration utility, SnapCenter. NetApp states there is no workaround available at this time.

    Affected products in this advisory
    • ONTAP Select Deploy administration utility
    • SnapCenter
    Source-reported affected versions
    Affected-version details not available in this record.
    Source-reported fixed versions
    • SnapCenter: 6.2.2
    Mitigation guidance
    • Update affected NetApp products to a fixed release: SnapCenter: 6.2.2.

Red Hat

1 advisory
  • Advisory severityHigh7.4

    High [CVE-2026-42790] Erlang OTP public_key: Certificate validation bypass allows hostname spoofing

    CVE-2026-42790Source published

    Erlang OTP public_key: Certificate validation bypass allows hostname spoofing. Red Hat rates this important (CVSS 7.4). Weakness: CWE-295. No fix erratum has been published yet; monitor the Red Hat CVE page and apply the RHSA when released.

    Affected products in this advisory
    • Red Hat OpenStack Platform 16.2
    • Red Hat OpenStack Platform 17.1
    • Red Hat OpenStack Platform 18.0
    • Red Hat OpenStack Services on OpenShift 18.0

    1 more entries in the full advisory.

    Source-reported affected versions
    Affected-version details not available in this record.
    Source-reported fixed versions
    No fixed-version detail extracted. This does not mean no fix exists.
    Mitigation guidance
    • Red Hat rates this important; a fix erratum may not be out yet — apply the RHSA as soon as it publishes.

References

Timeline

  1. First vendor advisory listed by VulniPulse
  2. CVE record published
  3. CVE record last updated

All NetApp advisories

Get an email when NetApp publishes the next one.

See NetApp's last 90 days first. Live alerts for one product are free for life; every vendor is US$10 a month with Pro.

Alert me about NetApp