CVE-2025-48994: XML-Security signxml · Incorrect Implementation of Authentication Algorithm
Affects XML-Security signxmlSource CVE Database V5
Not known to be exploited · CVSS 6.9 Medium : upgrade to 4.0.4 when convenient.
Data as of 26 Oct 2026, 06:26 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 4.0.4
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 2 Jun 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-26.
What to do
Upgrade XML-Security signxml to 4.0.4.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
PyPIsignxmlpkg:pypi/signxmlOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
European organizations should immediately audit their use of the SignXML library to identify any deployments running versions prior to 4.0.4. If found, they should upgrade to version 4.0.4 or later, which enforces proper algorithm restrictions when using HMAC keys. Additionally, organizations should review their XML signature verification configurations to ensure that X509 certificate validation is enabled where possible, as this adds an important layer of security. Where disabling X509 validation is necessary, users must explicitly restrict accepted signature algorithms using the expect_config parameter to only allow HMAC algorithms when an hmac_key is used. Implementing strict input validation and monitoring XML signature verification logs for anomalies can also help detect attempts to exploit this vulnerability. Security teams should incorporate this vulnerability into their threat modeling and penetration testing exercises to validate defenses. Finally, organizations should maintain an inventory of software dependencies and apply security patches promptly to reduce exposure to similar algorithm confusion attacks.
Description
SignXML is an implementation of the W3C XML Signature standard in Python. When verifying signatures with X509 certificate validation turned off and HMAC shared secret set (`signxml.XMLVerifier.verify(require_x509=False, hmac_key=...`), versions of SignXML prior to 4.0.4 are vulnerable to a potential algorithm confusion attack. Unless the user explicitly limits the expected signature algorithms using the `signxml.XMLVerifier.verify(expect_config=...)` setting, an attacker may supply a signature unexpectedly signed with a key other than the provided HMAC key, using a different (asymmetric key) signature algorithm. Starting with SignXML 4.0.4, specifying `hmac_key` causes the set of accepted signature algorithms to be restricted to HMAC only, if not already restricted by the user.