Advisory Database
  • Advisories
  • Dependency Scanning
  1. golang
  2. ›
  3. github.com/xtls/xray-core
  4. ›
  5. GHSA-5wf9-h793-w73c

GHSA-5wf9-h793-w73c: Xray-core: Pinning a CA certificate via pinnedPeerCertSha256 can lead to the success of MITM attacks

October 2, 2026

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

References

  • github.com/XTLS/Xray-core/commit/64fada32b5b9e6ae064a038fa0e4e2b766499bd5
  • github.com/XTLS/Xray-core/pull/6472
  • github.com/XTLS/Xray-core/releases/tag/v26.7.11
  • github.com/XTLS/Xray-core/security/advisories/GHSA-5wf9-h793-w73c
  • github.com/advisories/GHSA-5wf9-h793-w73c

Code Behaviors & Features

Detect and mitigate GHSA-5wf9-h793-w73c with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions starting from 1.260113.0 before 1.260327.1-0.20260710210335-64fada32b5b9

Fixed versions

  • 1.260327.1-0.20260710210335-64fada32b5b9

Solution

Upgrade to version 1.260327.1-0.20260710210335-64fada32b5b9 or above.

Impact 6.8 MEDIUM

CVSS:3.1/AV:A/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-297: Improper Validation of Certificate with Host Mismatch

Source file

go/github.com/xtls/xray-core/GHSA-5wf9-h793-w73c.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 03 Oct 2026 12:16:48 +0000.