THREATOPS
THREAT OPS › Threat News › [GHSA] GHSA-5wf9-h793-w73c (high) — Xray-core: Pinning a CA certificate via pinnedPeerCertSha256 can lead to the success of MITM attacks

[GHSA] GHSA-5wf9-h793-w73c (high) — Xray-core: Pinning a CA certificate via pinnedPeerCertSha256 can lead to the success of MITM attacks

highgithub_advisoriesPublished 2026-10-02

GHSA-5wf9-h793-w73c Severity: high CVE: None

Xray-core: Pinning a CA certificate via pinnedPeerCertSha256 can lead to the success of MITM attacks

### Summary

Pinning a CA certificate via `pinnedPeerCertSha256` can lead to the success of MITM attacks in some cases.

### Details

https://github.com/XTLS/Xray-core/blob/45cf2898ab12e97a55dd8f1f3d78d903340bdc9e/transport/internet/tls/config.go#L333-

Indicators of compromise

Original source: https://github.com/advisories/GHSA-5wf9-h793-w73c