Incorrect Implementation of Authentication Algorithm Affecting signxml package, versions [,4.0.4)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.02% (5th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-SIGNXML-10303863
  • published5 Jun 2025
  • disclosed2 Jun 2025
  • creditahacker1-securesaml

Introduced: 2 Jun 2025

NewCVE-2025-48994  (opens in a new tab)
CWE-303  (opens in a new tab)

How to fix?

Upgrade signxml to version 4.0.4 or higher.

Overview

signxml is a Python XML Signature and XAdES library

Affected versions of this package are vulnerable to Incorrect Implementation of Authentication Algorithm due to the improper handling of signature verification settings when require_x509 is set to false and hmac_key is specified. An attacker can manipulate the signature verification process by supplying a signature with an unexpected algorithm, leading to potential security breaches.

Note: This is only exploitable if the user has not explicitly limited the expected signature algorithms using the expect_config setting in signxml.XMLVerifier.verify function.

CVSS Base Scores

version 4.0
version 3.1