CVE-2026-57580 (GCVE-0-2026-57580)

Vulnerability from cvelistv5 – Published: 2026-08-18 17:00 – Updated: 2026-08-18 17:45
VLAI
Title
authentik: Account Takeover via SAML NameID Comment Truncation
Summary
authentik is an open-source identity provider. Prior to 2026.2.6 and 2026.5.5, an inbound SAML Source configured with the non-default USERNAME_LINK or EMAIL_LINK user-matching mode interprets an XML comment in a NameID differently from the identity provider's signed assertion. An attacker with an account on the source identity provider who can set the account's NameID can inject an XML comment that truncates the value used by authentik to the text before the comment while the signed assertion remains valid. A crafted NameID can therefore truncate to a victim's username or email and bind the attacker's external identity to the victim's existing account. This grants full takeover without the victim's password or the identity provider's private key, and the malicious link persists so later logins succeed without the comment. Sources using the default unique-identifier matching mode and authentik's outbound SAML Provider role are not affected. This issue is fixed in versions 2026.2.6 and 2026.5.5.
SSVC
Exploitation: none Automatable: yes Technical Impact: total
CISA Coordinator · CISA-ADP (v2.0.3)
Decision recorded 2026-08-18 17:45 UTC
CWE
  • CWE-436 - Interpretation Conflict
Impacted products
Vendor Product Version CPE status
goauthentik authentik Affected: < 2026.2.6
Affected: >= 2026.5.0, < 2026.5.5
guessed Create a notification for this product.
Show details on NVD website

{
  "containers": {
    "adp": [
      {
        "metrics": [
          {
            "other": {
              "content": {
                "id": "CVE-2026-57580",
                "options": [
                  {
                    "Exploitation": "none"
                  },
                  {
                    "Automatable": "yes"
                  },
                  {
                    "Technical Impact": "total"
                  }
                ],
                "role": "CISA Coordinator",
                "timestamp": "2026-08-18T17:45:20.895315Z",
                "version": "2.0.3"
              },
              "type": "ssvc"
            }
          }
        ],
        "providerMetadata": {
          "dateUpdated": "2026-08-18T17:45:24.521Z",
          "orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
          "shortName": "CISA-ADP"
        },
        "title": "CISA ADP Vulnrichment"
      }
    ],
    "cna": {
      "affected": [
        {
          "product": "authentik",
          "vendor": "goauthentik",
          "versions": [
            {
              "status": "affected",
              "version": "\u003c 2026.2.6"
            },
            {
              "status": "affected",
              "version": "\u003e= 2026.5.0, \u003c 2026.5.5"
            }
          ]
        }
      ],
      "descriptions": [
        {
          "lang": "en",
          "value": "authentik is an open-source identity provider. Prior to 2026.2.6 and 2026.5.5, an inbound SAML Source configured with the non-default USERNAME_LINK or EMAIL_LINK user-matching mode interprets an XML comment in a NameID differently from the identity provider\u0027s signed assertion. An attacker with an account on the source identity provider who can set the account\u0027s NameID can inject an XML comment that truncates the value used by authentik to the text before the comment while the signed assertion remains valid. A crafted NameID can therefore truncate to a victim\u0027s username or email and bind the attacker\u0027s external identity to the victim\u0027s existing account. This grants full takeover without the victim\u0027s password or the identity provider\u0027s private key, and the malicious link persists so later logins succeed without the comment. Sources using the default unique-identifier matching mode and authentik\u0027s outbound SAML Provider role are not affected. This issue is fixed in versions 2026.2.6 and 2026.5.5."
        }
      ],
      "metrics": [
        {
          "cvssV4_0": {
            "attackComplexity": "LOW",
            "attackRequirements": "PRESENT",
            "attackVector": "NETWORK",
            "baseScore": 9.4,
            "baseSeverity": "CRITICAL",
            "privilegesRequired": "NONE",
            "subAvailabilityImpact": "NONE",
            "subConfidentialityImpact": "HIGH",
            "subIntegrityImpact": "HIGH",
            "userInteraction": "NONE",
            "vectorString": "CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N",
            "version": "4.0",
            "vulnAvailabilityImpact": "NONE",
            "vulnConfidentialityImpact": "HIGH",
            "vulnIntegrityImpact": "HIGH"
          }
        }
      ],
      "problemTypes": [
        {
          "descriptions": [
            {
              "cweId": "CWE-436",
              "description": "CWE-436: Interpretation Conflict",
              "lang": "en",
              "type": "CWE"
            }
          ]
        }
      ],
      "providerMetadata": {
        "dateUpdated": "2026-08-18T17:00:19.209Z",
        "orgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
        "shortName": "GitHub_M"
      },
      "references": [
        {
          "name": "https://github.com/goauthentik/authentik/security/advisories/GHSA-35v6-hv2g-6992",
          "tags": [
            "x_refsource_CONFIRM"
          ],
          "url": "https://github.com/goauthentik/authentik/security/advisories/GHSA-35v6-hv2g-6992"
        },
        {
          "name": "https://github.com/goauthentik/authentik/pull/24057",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/goauthentik/authentik/pull/24057"
        },
        {
          "name": "https://github.com/goauthentik/authentik/pull/24062",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/goauthentik/authentik/pull/24062"
        },
        {
          "name": "https://github.com/goauthentik/authentik/commit/6bd00f09f1f6b5bc5212a10340418fa1b264f02c",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/goauthentik/authentik/commit/6bd00f09f1f6b5bc5212a10340418fa1b264f02c"
        },
        {
          "name": "https://github.com/goauthentik/authentik/commit/8704a1b89d7bf46bcef0d3c434c821b937fdecc3",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/goauthentik/authentik/commit/8704a1b89d7bf46bcef0d3c434c821b937fdecc3"
        },
        {
          "name": "https://github.com/goauthentik/authentik/releases/tag/version/2026.2.6",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/goauthentik/authentik/releases/tag/version/2026.2.6"
        },
        {
          "name": "https://github.com/goauthentik/authentik/releases/tag/version/2026.5.5",
          "tags": [
            "x_refsource_MISC"
          ],
          "url": "https://github.com/goauthentik/authentik/releases/tag/version/2026.5.5"
        }
      ],
      "source": {
        "advisory": "GHSA-35v6-hv2g-6992",
        "discovery": "UNKNOWN"
      },
      "title": "authentik: Account Takeover via SAML NameID Comment Truncation"
    }
  },
  "cveMetadata": {
    "assignerOrgId": "a0819718-46f1-4df5-94e2-005712e83aaa",
    "assignerShortName": "GitHub_M",
    "cveId": "CVE-2026-57580",
    "datePublished": "2026-08-18T17:00:19.209Z",
    "dateReserved": "2026-06-24T18:49:56.208Z",
    "dateUpdated": "2026-08-18T17:45:24.521Z",
    "state": "PUBLISHED"
  },
  "dataType": "CVE_RECORD",
  "dataVersion": "5.2",
  "vulnerability-lookup:meta": {
    "nvd": "{\"cve\":{\"id\":\"CVE-2026-57580\",\"sourceIdentifier\":\"security-advisories@github.com\",\"published\":\"2026-08-18T17:16:59.667\",\"lastModified\":\"2026-08-18T18:18:38.730\",\"vulnStatus\":\"Received\",\"cveTags\":[],\"descriptions\":[{\"lang\":\"en\",\"value\":\"authentik is an open-source identity provider. Prior to 2026.2.6 and 2026.5.5, an inbound SAML Source configured with the non-default USERNAME_LINK or EMAIL_LINK user-matching mode interprets an XML comment in a NameID differently from the identity provider\u0027s signed assertion. An attacker with an account on the source identity provider who can set the account\u0027s NameID can inject an XML comment that truncates the value used by authentik to the text before the comment while the signed assertion remains valid. A crafted NameID can therefore truncate to a victim\u0027s username or email and bind the attacker\u0027s external identity to the victim\u0027s existing account. This grants full takeover without the victim\u0027s password or the identity provider\u0027s private key, and the malicious link persists so later logins succeed without the comment. Sources using the default unique-identifier matching mode and authentik\u0027s outbound SAML Provider role are not affected. This issue is fixed in versions 2026.2.6 and 2026.5.5.\"}],\"affected\":[{\"source\":\"security-advisories@github.com\",\"affectedData\":[{\"vendor\":\"goauthentik\",\"product\":\"authentik\",\"versions\":[{\"version\":\"\u003c 2026.2.6\",\"status\":\"affected\"},{\"version\":\"\u003e= 2026.5.0, \u003c 2026.5.5\",\"status\":\"affected\"}]}]}],\"metrics\":{\"cvssMetricV40\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"cvssData\":{\"version\":\"4.0\",\"vectorString\":\"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X\",\"baseScore\":9.4,\"baseSeverity\":\"CRITICAL\",\"attackVector\":\"NETWORK\",\"attackComplexity\":\"LOW\",\"attackRequirements\":\"PRESENT\",\"privilegesRequired\":\"NONE\",\"userInteraction\":\"NONE\",\"vulnConfidentialityImpact\":\"HIGH\",\"vulnIntegrityImpact\":\"HIGH\",\"vulnAvailabilityImpact\":\"NONE\",\"subConfidentialityImpact\":\"HIGH\",\"subIntegrityImpact\":\"HIGH\",\"subAvailabilityImpact\":\"NONE\",\"exploitMaturity\":\"NOT_DEFINED\",\"confidentialityRequirement\":\"NOT_DEFINED\",\"integrityRequirement\":\"NOT_DEFINED\",\"availabilityRequirement\":\"NOT_DEFINED\",\"modifiedAttackVector\":\"NOT_DEFINED\",\"modifiedAttackComplexity\":\"NOT_DEFINED\",\"modifiedAttackRequirements\":\"NOT_DEFINED\",\"modifiedPrivilegesRequired\":\"NOT_DEFINED\",\"modifiedUserInteraction\":\"NOT_DEFINED\",\"modifiedVulnConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedVulnIntegrityImpact\":\"NOT_DEFINED\",\"modifiedVulnAvailabilityImpact\":\"NOT_DEFINED\",\"modifiedSubConfidentialityImpact\":\"NOT_DEFINED\",\"modifiedSubIntegrityImpact\":\"NOT_DEFINED\",\"modifiedSubAvailabilityImpact\":\"NOT_DEFINED\",\"Safety\":\"NOT_DEFINED\",\"Automatable\":\"NOT_DEFINED\",\"Recovery\":\"NOT_DEFINED\",\"valueDensity\":\"NOT_DEFINED\",\"vulnerabilityResponseEffort\":\"NOT_DEFINED\",\"providerUrgency\":\"NOT_DEFINED\"}}],\"ssvcV203\":[{\"source\":\"134c704f-9b21-4f2e-91b3-4a467353bcc0\",\"ssvcData\":{\"timestamp\":\"2026-08-18T17:45:20.895315Z\",\"id\":\"CVE-2026-57580\",\"options\":[{\"exploitation\":\"none\"},{\"automatable\":\"yes\"},{\"technicalImpact\":\"total\"}],\"role\":\"CISA Coordinator\",\"version\":\"2.0.3\"}}]},\"weaknesses\":[{\"source\":\"security-advisories@github.com\",\"type\":\"Secondary\",\"description\":[{\"lang\":\"en\",\"value\":\"CWE-436\"}]}],\"references\":[{\"url\":\"https://github.com/goauthentik/authentik/commit/6bd00f09f1f6b5bc5212a10340418fa1b264f02c\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/goauthentik/authentik/commit/8704a1b89d7bf46bcef0d3c434c821b937fdecc3\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/goauthentik/authentik/pull/24057\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/goauthentik/authentik/pull/24062\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/goauthentik/authentik/releases/tag/version/2026.2.6\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/goauthentik/authentik/releases/tag/version/2026.5.5\",\"source\":\"security-advisories@github.com\"},{\"url\":\"https://github.com/goauthentik/authentik/security/advisories/GHSA-35v6-hv2g-6992\",\"source\":\"security-advisories@github.com\"}]}}",
    "vulnrichment": {
      "containers": "{\"cna\": {\"title\": \"authentik: Account Takeover via SAML NameID Comment Truncation\", \"problemTypes\": [{\"descriptions\": [{\"cweId\": \"CWE-436\", \"lang\": \"en\", \"description\": \"CWE-436: Interpretation Conflict\", \"type\": \"CWE\"}]}], \"metrics\": [{\"cvssV4_0\": {\"attackVector\": \"NETWORK\", \"attackComplexity\": \"LOW\", \"attackRequirements\": \"PRESENT\", \"privilegesRequired\": \"NONE\", \"userInteraction\": \"NONE\", \"vulnConfidentialityImpact\": \"HIGH\", \"vulnIntegrityImpact\": \"HIGH\", \"vulnAvailabilityImpact\": \"NONE\", \"subConfidentialityImpact\": \"HIGH\", \"subIntegrityImpact\": \"HIGH\", \"subAvailabilityImpact\": \"NONE\", \"baseScore\": 9.4, \"baseSeverity\": \"CRITICAL\", \"vectorString\": \"CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:H/VI:H/VA:N/SC:H/SI:H/SA:N\", \"version\": \"4.0\"}}], \"references\": [{\"name\": \"https://github.com/goauthentik/authentik/security/advisories/GHSA-35v6-hv2g-6992\", \"tags\": [\"x_refsource_CONFIRM\"], \"url\": \"https://github.com/goauthentik/authentik/security/advisories/GHSA-35v6-hv2g-6992\"}, {\"name\": \"https://github.com/goauthentik/authentik/pull/24057\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/goauthentik/authentik/pull/24057\"}, {\"name\": \"https://github.com/goauthentik/authentik/pull/24062\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/goauthentik/authentik/pull/24062\"}, {\"name\": \"https://github.com/goauthentik/authentik/commit/6bd00f09f1f6b5bc5212a10340418fa1b264f02c\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/goauthentik/authentik/commit/6bd00f09f1f6b5bc5212a10340418fa1b264f02c\"}, {\"name\": \"https://github.com/goauthentik/authentik/commit/8704a1b89d7bf46bcef0d3c434c821b937fdecc3\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/goauthentik/authentik/commit/8704a1b89d7bf46bcef0d3c434c821b937fdecc3\"}, {\"name\": \"https://github.com/goauthentik/authentik/releases/tag/version/2026.2.6\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/goauthentik/authentik/releases/tag/version/2026.2.6\"}, {\"name\": \"https://github.com/goauthentik/authentik/releases/tag/version/2026.5.5\", \"tags\": [\"x_refsource_MISC\"], \"url\": \"https://github.com/goauthentik/authentik/releases/tag/version/2026.5.5\"}], \"affected\": [{\"vendor\": \"goauthentik\", \"product\": \"authentik\", \"versions\": [{\"version\": \"\u003c 2026.2.6\", \"status\": \"affected\"}, {\"version\": \"\u003e= 2026.5.0, \u003c 2026.5.5\", \"status\": \"affected\"}]}], \"providerMetadata\": {\"orgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"shortName\": \"GitHub_M\", \"dateUpdated\": \"2026-08-18T17:00:19.209Z\"}, \"descriptions\": [{\"lang\": \"en\", \"value\": \"authentik is an open-source identity provider. Prior to 2026.2.6 and 2026.5.5, an inbound SAML Source configured with the non-default USERNAME_LINK or EMAIL_LINK user-matching mode interprets an XML comment in a NameID differently from the identity provider\u0027s signed assertion. An attacker with an account on the source identity provider who can set the account\u0027s NameID can inject an XML comment that truncates the value used by authentik to the text before the comment while the signed assertion remains valid. A crafted NameID can therefore truncate to a victim\u0027s username or email and bind the attacker\u0027s external identity to the victim\u0027s existing account. This grants full takeover without the victim\u0027s password or the identity provider\u0027s private key, and the malicious link persists so later logins succeed without the comment. Sources using the default unique-identifier matching mode and authentik\u0027s outbound SAML Provider role are not affected. This issue is fixed in versions 2026.2.6 and 2026.5.5.\"}], \"source\": {\"advisory\": \"GHSA-35v6-hv2g-6992\", \"discovery\": \"UNKNOWN\"}}, \"adp\": [{\"title\": \"CISA ADP Vulnrichment\", \"metrics\": [{\"other\": {\"type\": \"ssvc\", \"content\": {\"id\": \"CVE-2026-57580\", \"role\": \"CISA Coordinator\", \"options\": [{\"Exploitation\": \"none\"}, {\"Automatable\": \"no\"}, {\"Technical Impact\": \"total\"}], \"version\": \"2.0.3\", \"timestamp\": \"2026-08-18T17:39:55.337355Z\"}}}], \"providerMetadata\": {\"orgId\": \"134c704f-9b21-4f2e-91b3-4a467353bcc0\", \"shortName\": \"CISA-ADP\", \"dateUpdated\": \"2026-08-18T17:39:58.012Z\"}}]}",
      "cveMetadata": "{\"cveId\": \"CVE-2026-57580\", \"assignerOrgId\": \"a0819718-46f1-4df5-94e2-005712e83aaa\", \"state\": \"PUBLISHED\", \"assignerShortName\": \"GitHub_M\", \"dateReserved\": \"2026-06-24T18:49:56.208Z\", \"datePublished\": \"2026-08-18T17:00:19.209Z\", \"dateUpdated\": \"2026-08-18T17:40:02.785Z\"}",
      "dataType": "CVE_RECORD",
      "dataVersion": "5.2"
    }
  }
}



Log in or create an account to share your comment.




Tags
Taxonomy of the tags.


Loading…

Loading…

Loading…

Forecast uses a logistic model when the trend is rising, or an exponential decay model when the trend is falling. Fitted via linearized least squares.

Sightings

Author Source Type Date Other

Nomenclature

  • Seen: The vulnerability was mentioned, discussed, or observed by the user.
  • Confirmed: The vulnerability has been validated from an analyst's perspective.
  • Published Proof of Concept: A public proof of concept is available for this vulnerability.
  • Exploited: The vulnerability was observed as exploited by the user who reported the sighting.
  • Patched: The vulnerability was observed as successfully patched by the user who reported the sighting.
  • Not exploited: The vulnerability was not observed as exploited by the user who reported the sighting.
  • Not confirmed: The user expressed doubt about the validity of the vulnerability.
  • Not patched: The vulnerability was not observed as successfully patched by the user who reported the sighting.

Loading…

Detection rules are retrieved from Rulezet.

Loading…

Loading…

Loading…