Description
When using the OpenSSL TLS implementation, both the pn_ssl_domain_set_trusted_ca_db() & pn_tls_config_set_trusted_certs() APIs added to rather than replaced the default system trust anchors. Leading to potentially trusting unexpected peer certificates.



This can be worked around by setting the SSL_CERT_FILE environment variable for the application to /dev/null.



This issue does not affect the Win32 SChannel TLS implementation.



This issue affects Apache Qpid Proton C: through 0.40.0.



Users are recommended to upgrade to version 0.41.1, which fixes the issue.
Published: 2026-10-29
Score: n/a
EPSS: n/a
KEV: No
Impact: Certificate trust elevation leading to potential MITM
Action: Immediate Patch
AI Analysis

Impact

Apache Qpid Proton C uses OpenSSL for TLS where the pn_ssl_domain_set_trusted_ca_db and pn_tls_config_set_trusted_certs APIs add a locally trusted certificate authority to the system trust anchors instead of replacing the default set. This behavior can cause the library to trust peer certificates that should not be trusted, enabling an attacker to present a malicious certificate signed by an attacker‑controlled CA and successfully masquerade as a legitimate peer. The result is a potential man‑in‑the‑middle that can intercept or modify traffic, compromise confidentiality and integrity, and potentially gain access to protected services. The flaw is classified as CWE‑295.

Affected Systems

Apache Qpid Proton C through version 0.40.0 is affected. The issue does not impact the Win32 SChannel TLS implementation. The vulnerability is present in releases up to and including 0.40.0 and is fixed in 0.41.1 and later.

Risk and Exploitability

Because the defect allows local certificates to be added to the trusted chain, any entity that can provide a certificate signed by a locally trusted authority can bypass normal verification. An attacker need only supply such a certificate during a TLS handshake, and no elevated privileges or special configuration are required. While an explicit CVSS score is not available, the potential for arbitrary trust elevation suggests a high severity for confidentiality and integrity. The EPSS score is not available, and the vulnerability is not listed in CISA's KEV catalog, indicating that it has not yet been widely exploited in the wild. Nonetheless, the risk remains significant for systems that rely on OpenSSL TLS in Qpid Proton C and cannot mitigate the issue immediately.

Generated by OpenCVE AI on October 29, 2026 at 11:22 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade Apache Qpid Proton C to version 0.41.1 or newer where the defect is resolved.
  • Set the SSL_CERT_FILE environment variable to /dev/null to prevent the library from adding additional trusted CAs as a temporary workaround.
  • Verify that the application is not unnecessarily using the OpenSSL TLS implementation; if appropriate, switch to the Win32 SChannel TLS implementation or another TLS provider with proper trust handling.
  • Regularly review TLS configuration and auditing to ensure only intended certificates are trusted.

Generated by OpenCVE AI on October 29, 2026 at 11:22 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 10:30:00 +0000

Type Values Removed Values Added
Description When using the OpenSSL TLS implementation, both the pn_ssl_domain_set_trusted_ca_db() & pn_tls_config_set_trusted_certs() APIs added to rather than replaced the default system trust anchors. Leading to potentially trusting unexpected peer certificates. This can be worked around by setting the SSL_CERT_FILE environment variable for the application to /dev/null. This issue does not affect the Win32 SChannel TLS implementation. This issue affects Apache Qpid Proton C: through 0.40.0. Users are recommended to upgrade to version 0.41.1, which fixes the issue.
Title Apache Qpid Proton C: The OpenSSL TLS implementation adds a locally trusted certificate authority to the existing trusted system trust anchors.
Weaknesses CWE-295
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-10-29T11:08:28.567Z

Reserved: 2026-10-02T21:28:25.620Z

Link: CVE-2026-105031

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-29T11:17:24.290

Modified: 2026-10-29T11:17:24.290

Link: CVE-2026-105031

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T11:30:14Z

Weaknesses
  • CWE-295

    Improper Certificate Validation