Intel

AIKIDO-2026-304354

robrichards/xmlseclibs is vulnerable to Improper Verification of Cryptographic Signature

GHSA-cw72-f8pq-h4pgPublished 3 days ago
November 17, 2026

74

CVE Score

High

Improper Verification of Cryptographic Signature

Are you affected? Scan for Free

TL;DR

The low-level locateKey() verification flow can create an HMAC key from trusted asymmetric key material when that material is supplied as DER or another representation that the prior PEM-only check does not recognize. A crafted XML signature can then be accepted without the corresponding private key, affecting the confidentiality and integrity of the verified message. The fix recognizes asymmetric key material across supported encodings and rejects it for HMAC signing and verification while continuing to accept ordinary HMAC secrets.

How do I fix this?

Upgrade the robrichards/xmlseclibs library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and verify untrusted XML through the low-level XMLSecurityDSig::locateKey() flow while loading trusted public-key or certificate material in a representation that is not PEM-armored.

Versions

4.0.0 - 4.0.0

Fixed in 4.0.1

Background info

robrichards/xmlseclibs is vulnerable to Improper Verification of Cryptographic Signature in versions 4.0.0 - 4.0.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea