{
  "id": "CVE-2025-66567",
  "url": "https://poc.griffinguard.io/cve/CVE-2025-66567",
  "published_at": "2025-12-09T01:55:06.296Z",
  "title": "ruby-saml has a SAML authentication bypass due to namespace handling (parser differential)",
  "vendor": "SAML-Toolkits",
  "product": "ruby-saml",
  "cvss": {
    "score": 9.3,
    "source": "cna",
    "vector": "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"
  },
  "kev": {
    "in_kev": false,
    "added_at": null,
    "days_after_publication": null
  },
  "first_poc": null,
  "poc_repo_count": 0,
  "exploit_count": 0,
  "suspicious_repo_count": 0,
  "edge_device": null,
  "description": "The ruby-saml library is for implementing the client side of a SAML authorization. ruby-saml versions up to and including 1.12.4 contain an authentication bypass vulnerability due to an incomplete fix for CVE-2025-25292. ReXML and Nokogiri parse XML differently, generating entirely different document structures from the same input. This allows an attacker to execute a Signature Wrapping attack. This issue is fixed in version 1.18.0.",
  "cwe": "CWE-347",
  "cpes": [
    "cpe:2.3:a:onelogin:ruby-saml:*:*:*:*:*:*:*:*"
  ],
  "cvss_by_source": {
    "cna": 9.3,
    "nvd": 9.1
  },
  "repos": [],
  "remediation": {
    "affected": [
      {
        "vendor": "SAML-Toolkits",
        "product": "ruby-saml",
        "ranges": [
          "\u003c 1.18.0"
        ],
        "fixed_in": [
          "1.18.0"
        ]
      }
    ],
    "upgrade": [
      "Upgrade ruby-saml to 1.18.0 or later."
    ],
    "references": [
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/SAML-Toolkits/ruby-saml/security/advisories/GHSA-9v8j-x534-2fx3"
      },
      {
        "kind": "Patch",
        "url": "https://github.com/SAML-Toolkits/ruby-saml/commit/e9c1cdbd0f9afa467b585de279db0cbd0fb8ae97"
      },
      {
        "kind": "Vendor advisory",
        "url": "https://github.com/advisories/GHSA-754f-8gm6-c4r2"
      }
    ]
  },
  "exploit_refs": [],
  "hunt_profile": [],
  "rules": []
}
