Advisory

GO-2026-6651

Also known as: GHSA-5wf9-h793-w73c

Summary

Pinning a CA certificate via pinnedPeerCertSha256 can lead to the success of MITM attacks in github.com/xtls/xray-core

Details

Pinning a CA certificate via pinnedPeerCertSha256 can lead to the success of MITM attacks in github.com/xtls/xray-core

Severity

Not rated by the source.

Dates

Published
2026-10-20 00:20 UTC
Modified
2026-11-05 23:15 UTC

Affected packages and fixes

github.com/xtls/xray-core

Go · All systems

Affected

  • introduced 1.260113.0, fixed 1.260327.1-0.20260710210335-64fada32b5b9 (semver)

Fixed versions

1.260327.1-0.20260710210335-64fada32b5b9

Fix

  • Fixed version 1.260327.1-0.20260710210335-64fada32b5b9
    go get github.com/xtls/[email protected]

Fix commands are the export's own generic commands. Ojuju never runs them. Check them against your setup first.

Check your own computer: guard packages check

View this record on OSV.dev

Source

Source: Go Vulnerability Database · CC BY 4.0

Sources & licences