---
id: CVE-2021-23365
aliases:
  - GHSA-599h-8wpj-75xj
  - GO-2022-0906
  - SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKIDENTITYBROKER-1089720
title: Authentication Bypass in tyk-identity-broker
summary: Authentication Bypass in tyk-identity-broker
severity: critical
cvss: 9.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N'
vendor: tyktechnologies
product: github.com/tyktechnologies/tyk-identity-broker
ecosystem: go
affected:
  - github.com/tyktechnologies/tyk-identity-broker < 1.1.1
patched:
  - github.com/tyktechnologies/tyk-identity-broker 1.1.1
published: '2021-06-23'
updated: '2026-07-08'
source: OSV
sourceUrl: 'https://osv.dev/vulnerability/GHSA-599h-8wpj-75xj'
references:
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2021-23365'
  - url: 'https://github.com/TykTechnologies/tyk-identity-broker/pull/147'
  - url: >-
      https://github.com/TykTechnologies/tyk-identity-broker/commit/243092965b0f93a95a14cb882b5b9a3df61dd5c0
  - url: >-
      https://github.com/TykTechnologies/tyk-identity-broker/commit/46f70420e0911e4e8b638575e29d394c227c75d0
  - url: 'https://github.com/TykTechnologies/tyk-identity-broker/releases/tag/v1.1.1'
  - url: >-
      https://snyk.io/vuln/SNYK-GOLANG-GITHUBCOMTYKTECHNOLOGIESTYKIDENTITYBROKER-1089720
tags:
  - osv
  - go
epss: 0.01011
epssPercentile: 0.61635
ingestedAt: '2026-07-09T18:56:35.921Z'
---

## Overview

The package github.com/tyktechnologies/tyk-identity-broker before 1.1.1 are vulnerable to Authentication Bypass via the Go XML parser which can cause SAML authentication bypass. This is because the XML parser doesn’t guarantee integrity in the XML round-trip (encoding/decoding XML data).

## Affected packages

- `github.com/tyktechnologies/tyk-identity-broker < 1.1.1`

## Remediation

Upgrade to a patched release:

- `github.com/tyktechnologies/tyk-identity-broker 1.1.1`
