GoWorst: Critical8 advisories

github.com/russellhaering/gosaml2: known vulnerabilities

github.com/russellhaering/gosaml2 has 8 reviewed security advisories in the GitHub Advisory Database — 2 critical, 5 high, 1 moderate. The most recent was published 2026-03-18. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the github.com/russellhaering/gosaml2 versions running across your servers, containers and images, and ranks what to patch first.

How to fix github.com/russellhaering/gosaml2

Upgrade github.com/russellhaering/gosaml2 to a release at or above the fixed version shown for each advisory below. For Go:

go get github.com/russellhaering/gosaml2@0.11.0 && go mod tidy (check govulncheck)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (8)

gosaml2 CBC Padding Panic — Unauthenticated Process Crash High CWE-129 — Affected: before 0.11.0. Fixed in 0.11.0. Published 2026-03-18. GHSA-hwqm-qvj9-4jr2
Unsigned SAML LogoutRequest Acceptance in gosaml2 High 7.5 CWE-347 — Affected: before 0.11.0. Fixed in 0.11.0. Published 2026-03-18. GHSA-pcgw-qcv5-h8ch
gosaml2 vulnerable to Denial Of Service Via Deflate Decompression Bomb Moderate 5.3 CWE-409 — Affected: before 0.9.0. Fixed in 0.9.0. Published 2023-03-03. GHSA-6gc3-crp7-25w5 · CVE-2023-26483
github.com/russellhaering/gosaml2 is vulnerable to NULL Pointer Dereference High 7.5 CWE-476 — Affected: before 0.7.0. Fixed in 0.7.0. Published 2022-11-15. GHSA-prjq-f4q3-fvfr · CVE-2020-7711
goxmldsig vulnerable to crash on nil-pointer dereference caused by sending malformed XML signatures High 7.5 CWE-476 — Affected: before 0.7.0. Fixed in 0.7.0. Published 2022-10-07. GHSA-mqqv-chpx-vq25 · CVE-2020-7711
Signature Validation Bypass Critical CWE-347 — Affected: before 0.5.0. Fixed in 0.5.0. Published 2021-05-24. GHSA-5684-g483-2249
Duplicate Advisory: gosaml2 is vulnerable to NULL Pointer Dereference from malformed XML signatures High 7.5 CWE-476 — Affected: before 0.7.0. Fixed in 0.7.0. Published 2021-04-30. GHSA-gq5r-cc4w-g8xf · CVE-2020-7711
Authentication Bypass in github.com/russellhaering/gosaml2 Critical 9.8 CWE-115 — Affected: before 0.6.0. Fixed in 0.6.0. Published 2020-12-14. GHSA-xhqq-x44f-9fgg · CVE-2020-29509

Find github.com/russellhaering/gosaml2 across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.