CVE-2026-47201: Goauthentik.io Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-c3m2-jqmq-pvp3
CVSS 8.5
CWE-287 CWE-20 CWE-347
Published
Advisory Summary

CVE-2026-47201 is a HIGH (CVSS 8.5) remote code execution vulnerability (CWE-287: Improper Authentication) affecting Goauthentik.io libraries in the Go ecosystem. The issue involves authentik's xml signature wrapping in saml source acs allows authentication as arbitrary federated user. Remediation is available by upgrading affected packages to version 0.0.0-20260528144335-a370d76d23c7.

CVE-2026-47201 at a Glance

CVE Identifier CVE-2026-47201
GHSA Identifier GHSA-c3m2-jqmq-pvp3
Severity HIGH
CVSS v3.1 Base Score 8.5
CWE Classification CWE-287: Improper Authentication
Affected Product Goauthentik.io
Package Ecosystem Go
Published Date
Last Updated

Security Impact

CVSS: 8.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Changed (S:C)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2026-47201

To remediate this vulnerability, upgrade all affected Goauthentik.io dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

goauthentik.io fixed: 0.0.0-20260528144335-a370d76d23c7
Upgrade goauthentik.io to 0.0.0-20260528144335-a370d76d23c7
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

inspect dependencies for goauthentik.io

How to Check if You Are Affected

To determine whether your application is affected by CVE-2026-47201, inspect your project dependencies for Goauthentik.io:

inspect dependencies for goauthentik.io

Analyze the terminal output to locate any version of Goauthentik.io in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 0.0.0-20260528144335-a370d76d23c7), your application is affected.

Note: Verify declared build manifests and deployed runtime container environments.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-287: Improper Authentication, where when an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct. In Goauthentik.io, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Summary authentik's SAML Source ACS endpoint is vulnerable to XML Signature Wrapping when validating upstream SAML responses. An attacker with any account at the upstream IdP can reuse a valid signed assertion to authenticate as another federated user. ### Patches authentik 2026.5.1, 2026.2.4 and 2025.12.6 fix this issue. ### Impact Affected: authentik deployments using a SAML Source for upstream SAML federation with signed assertions, or signed responses without signed assertions. Not affected: deployments that do not use SAML Source for upstream SAML federation. The SAML Source trusts that the verified XML signature belongs to the assertion or response that authentik later consumes. A crafted SAML response can make signature verification succeed against the attacker's original signed assertion while authentik reads identity data from a different forged assertion. An attacker first completes a legitimate login to the upstream IdP and captures the signed SAML response sent through their browser. They then submit a modified response to the ACS endpoint where the valid signature still verifies, but the consumed assertion contains a victim identifier or attacker-chosen attributes. The attacker can authenticate as a victim who has previously used the SAML Source, or as a local user matched by forged email or username when those matching modes are enabled. ### Workarounds Disable affected SAML Sources, or block access to their ACS endpoints. ### For more information If there are any questions or comments about this advisory: - Send an email to [security@goauthentik.io](mailto:security@goauthentik.io)

CVE-2026-47201 Affected Goauthentik.io Versions

1 component(s)
Fixed Versions:
0.0.0-20260528144335-a370d76d23c7
Product / Package Ecosystem Affected Versions Fixed Version
goauthentik.io
Go
< 0.0.0-20260528144335-a370d76d23c7
0.0.0-20260528144335-a370d76d23c7

References

Frequently Asked Questions

What is CVE-2026-47201?
CVE-2026-47201 is a security vulnerability in Goauthentik.io involving authentik's XML Signature Wrapping in SAML Source ACS allows authentication as arbitrary federated user under CWE-287: Improper Authentication.
Which Goauthentik.io versions are affected?
Affected versions include releases prior to 0.0.0-20260528144335-a370d76d23c7 across affected packages: goauthentik.io.
What version fixes CVE-2026-47201?
Upgrading to 0.0.0-20260528144335-a370d76d23c7 (or the latest patched release for your respective branch) resolves the vulnerability.
Is goauthentik.io affected?
Yes, goauthentik.io is affected in releases prior to 0.0.0-20260528144335-a370d76d23c7. Upgrade your dependency to 0.0.0-20260528144335-a370d76d23c7 or later.
What is the CVSS score of CVE-2026-47201?
CVE-2026-47201 has a CVSS v3.1 base score of 8.5 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H.
What CWE is associated with CVE-2026-47201?
CVE-2026-47201 is classified under CWE-287: Improper Authentication (When an actor claims to have a given identity, the product does not prove or insufficiently proves that the claim is correct.).
How can I check Go dependencies for CVE-2026-47201?
Run the dependency tree command: 'inspect dependencies for goauthentik.io'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-c3m2-jqmq-pvp3",
  "modified" : "2026-06-09T11:00:16Z",
  "published" : "2026-05-29T20:25:48Z",
  "aliases" : [ "CVE-2026-47201" ],
  "summary" : "authentik's XML Signature Wrapping in SAML Source ACS allows authentication as arbitrary federated user",
  "details" : "### Summary\n \n authentik's SAML Source ACS endpoint is vulnerable to XML Signature Wrapping when validating upstream SAML responses. An attacker with any account at the upstream IdP can reuse a valid signed assertion to authenticate as another federated user.\n \n ### Patches\n \n authentik 2026.5.1, 2026.2.4 and 2025.12.6 fix this issue.\n \n ### Impact\n \n Affected: authentik deployments using a SAML Source for upstream SAML federation with signed assertions, or signed responses without signed assertions. Not affected: deployments that do not use SAML Source for upstream SAML federation.\n \n The SAML Source trusts that the verified XML signature belongs to the assertion or response that authentik later consumes. A crafted SAML response can make signature verification succeed against the attacker's original signed assertion while authentik reads identity data from a different forged assertion.\n \n An attacker first completes a legitimate login to the upstream IdP and captures the signed SAML response sent through their browser. They then submit a modified response to the ACS endpoint where the valid signature still verifies, but the consumed assertion contains a victim identifier or attacker-chosen attributes.\n \n The attacker can authenticate as a victim who has previously used the SAML Source, or as a local user matched by forged email or username when those matching modes are enabled.\n \n ### Workarounds\n \n Disable affected SAML Sources, or block access to their ACS endpoints.\n \n ### For more information\n \nIf there are any questions or comments about this advisory:\n \n - Send an email to [security@goauthentik.io](mailto:security@goauthentik.io)",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Go",
      "name" : "goauthentik.io"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "0.0.0-20260528144335-a370d76d23c7"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/goauthentik/authentik/security/advisories/GHSA-c3m2-jqmq-pvp3"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2026-47201"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/goauthentik/authentik/commit/a370d76d23c7de0fceed064ca322e33e6ebf0119"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/goauthentik/authentik"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-20", "CWE-287", "CWE-347" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-05-29T20:25:48Z",
    "nvd_published_at" : "2026-06-02T21:16:27Z"
  }
}