Skip to content
Heist/ feed
Back to feed
Critical

Node-SAML SAML Authentication Bypass

Type: advisorySources: OSV

Node-SAML is a SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. This issue is fixed in version 5.1.0.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2025-54369
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 13:52 UTC · Revision 1

Source evidence

Node-SAML SAML Authentication Bypass

core-osv · Original source

Published 24 Jul 2025, 23:15 UTC

Node-SAML is a SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. This issue is fixed in version 5.1.0.

osv:CVE-2025-54369
Complete source record
{
  "id": "79f883e1895c9bf27366777b6bf70e8de1d8d6b92831382781d29b5316e00384",
  "url": "https://osv.dev/vulnerability/CVE-2025-54369",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Node-SAML SAML Authentication Bypass",
    "summary": "Node-SAML is a SAML library not dependent on any frameworks that runs in Node. In versions 5.0.1 and below, Node-SAML loads the assertion from the (unsigned) original response document. This is different than the parts that are verified when checking signature. This allows an attacker to modify authentication details within a valid SAML assertion. For example, in one attack it is possible to remove any character from the SAML assertion username. This issue is fixed in version 5.1.0.",
    "evidence": "osv:CVE-2025-54369",
    "products": [],
    "severity": "critical",
    "structured": {
      "id": "CVE-2025-54369",
      "aliases": [
        "CVE-2025-54369",
        "GHSA-m837-g268-mmv7"
      ],
      "metrics": [
        {
          "type": "CVSS_V4",
          "score": "CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "repo": "https://github.com/node-saml/node-saml",
              "type": "GIT",
              "events": [
                {
                  "introduced": "0"
                },
                {
                  "fixed": "1d8d66f16536687d577eea3335533928b57397be"
                },
                {
                  "fixed": "31ead9411ebc3e2385086fa9149b6c17732bca10"
                }
              ],
              "database_specific": {
                "extracted_events": [
                  {
                    "range": [
                      {
                        "introduced": "0"
                      },
                      {
                        "fixed": "5.1.0"
                      }
                    ],
                    "source": "AFFECTED_FIELD",
                    "strategy": "StringRangeExpression"
                  },
                  {
                    "range": [
                      {
                        "fixed": "31ead9411ebc3e2385086fa9149b6c17732bca10"
                      }
                    ],
                    "source": "REFERENCES_COMMIT"
                  },
                  {
                    "range": [
                      {
                        "fixed": "1d8d66f16536687d577eea3335533928b57397be"
                      }
                    ],
                    "source": "REFERENCES_TAG",
                    "original_tag": "v5.1.0"
                  }
                ]
              }
            }
          ],
          "versions": [
            "v5.0.1",
            "v5.0.0",
            "v4.0.4",
            "v4.0.3",
            "v4.0.2",
            "v4.0.1",
            "v4.0.0",
            "v4.0.0-beta.6",
            "v4.0.0-beta.5",
            "v4.0.0-beta.4",
            "v4.0.0-beta.3",
            "v4.0.0-beta.2",
            "v3.0.0",
            "v2.0.5",
            "v2.0.4",
            "v2.0.3",
            "v2.0.2",
            "v2.0.1",
            "v2.0.0",
            "v1.5.0",
            "v1.4.2",
            "v1.4.1",
            "v1.4.0",
            "v1.3.5",
            "v1.3.2",
            "v1.3.1",
            "v1.3.0",
            "v1.2.0",
            "v1.1.0",
            "v1.0.0",
            "v0.35.0",
            "v0.34.0",
            "v0.33.0",
            "v0.32.1",
            "v0.32.0",
            "v0.30.0",
            "v0.20.2",
            "v0.16.2",
            "v0.16.1",
            "v0.16.0",
            "v0.15.0",
            "v0.14.0",
            "v0.13.0",
            "v0.12.0",
            "v0.11.1",
            "v0.11.0",
            "v0.10.0",
            "v0.9.2",
            "v0.9.1",
            "v0.9.0",
            "v0.8.0",
            "v0.7.0",
            "v0.6.2",
            "v0.6.1",
            "v0.6.0",
            "v0.5.3",
            "v0.5.2",
            "v0.5.1",
            "v0.5.0",
            "v0.4.0",
            "v0.3.0",
            "v0.2.1",
            "v0.2.0",
            "v0.1.0",
            "0.0.3"
          ],
          "database_specific": {
            "source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2025-54369.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:35.857379453Z",
      "provider": "osv",
      "references": [
        "https://github.com/node-saml/node-saml/releases/tag/v5.1.0",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54369.json",
        "https://github.com/node-saml/node-saml/security/advisories/GHSA-m837-g268-mmv7",
        "https://nvd.nist.gov/vuln/detail/CVE-2025-54369",
        "https://github.com/node-saml/node-saml/commit/31ead9411ebc3e2385086fa9149b6c17732bca10"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-347",
          "CWE-87"
        ],
        "cna_assigner": "GitHub_M",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/54xxx/CVE-2025-54369.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2025-54369",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503318,
  "published_at": "2025-07-24T23:15:26.79+00:00"
}