CVE-2026-3099: Libsoup: libsoup: authentication bypass via digest authentication replay attack

Published Feb 24, 2026
·
Updated

A flaw was found in Libsoup. The server-side digest authentication implementation in the SoupAuthDomainDigest class does not properly track issued nonces or enforce the required incrementing nonce-count (nc) attribute. This vulnerability allows a remote attacker to capture a single valid authentication header and replay it repeatedly. Consequently, the attacker can bypass authentication and gain unauthorized access to protected resources, impersonating the legitimate user.

Other sources

DESCRIPTION

Here, I had found another flaw in Libsoup's server-side digest authentication implementation. The SoupAuthDomainDigest class fails to track issued nonces or enforce the incrementing nonce-count (nc) attribute required by the Digest Auth standard. The validation logic in checkhexurp performs a purely mathematical verification. It recomputes the expected hash without verifying if the nonce was actually generated by the server or if the nc value is being reused. This allows an attacker who captures a single valid Authorization header to replay it indefinitely, bypassing authentication and accessing protected resources as the victim.

VULNERABILITY DETAILS

The vulnerability exists in libsoup/server/soup-auth-domain-digest.c due to a "stateless" design choice that violates security standard. -Stateless Validation: The function checkhexurp validates the response hash but fails to check against a store of active, issued nonces. -Missing Nonce-Count Check (The Main Flaw): RFC 7616 explicitly states that the server MUST verify that the nc (nonce-count) value increases for each request using the same nonce. In soup-auth-domain-digest.c (around lines 265-), the code parses the nonce count:

noncecount = strtoul (nc, NULL, 16); if (noncecount <= 0) return FALSE;

Here, it do checks that noncecount is positive, but it never compares it to a previously seen value for that nonce. It simply accepts any positive integer, allowing attackers to reuse nc=00000001 infinitely. -Insecure Nonce Generation: Nonces are generated using time(0) and the message pointer address. They are not cryptographically signed (HMAC) and are never expired by the server, creating an infinite window for replay attacks.

Red Hat

Affected Software

7 affected components
libsoup/libsoup
Gnome libsoup
redhat Enterprise Linux=6.0
redhat Enterprise Linux=7.0
redhat Enterprise Linux=8.0
redhat Enterprise Linux=9.0
redhat Enterprise Linux=10.0

Event History

Feb 24, 2026
Data Sourced
via Red Hat·07:35 AM
DescriptionSeverityAffected Software
Mar 12, 2026
CVE Published
via MITRE·01:53 PM
Data Sourced
via MITRE·01:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·02:16 PM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-3099?

CVE-2026-3099 is classified as a high severity vulnerability due to its potential for allowing authentication bypass.

2

How does CVE-2026-3099 impact affected systems?

CVE-2026-3099 allows attackers to exploit the improper handling of nonce values, potentially accessing restricted resources.

3

How do I fix CVE-2026-3099?

To remediate CVE-2026-3099, update to the latest version of libsoup that includes security patches addressing the vulnerability.

4

Which versions of Red Hat Enterprise Linux are affected by CVE-2026-3099?

CVE-2026-3099 affects Red Hat Enterprise Linux versions 6.0 through 10.0.

5

What is an authentication bypass vulnerability in CVE-2026-3099?

In CVE-2026-3099, the authentication bypass occurs due to the server's failure to properly track nonces, enabling replay attacks.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203