Skip to content
Noroxi
CVE-2024-8698· NVD / CVE Program· CNA redhat

Keycloak-saml-core: improper verification of saml responses leading to privilege escalation in keycloak

Noroxi assessment

Priority: Monitor (action score 31/100)

  • A ready-made attack module is public (Nuclei); exploiting it takes no special expertise.
  • Probability of exploitation in the next 30 days: 2% (FIRST EPSS); higher than 80.6% of all records.
  • Anyone who can reach it over the internet can trigger it. A low-privileged account is enough. No user action is required. Special conditions such as timing or configuration are required.
  • Fixed version: github.com/keycloak/keycloak keycloak 25.0.5.
  • Mentioned 1 time in Turkish national cyber security advisories (siberguvenlik.gov.tr).

Low priority for now. Upgrade to github.com/keycloak/keycloak keycloak 25.0.5 or later.

Generated automatically from the record's data: CVSS (NVD and CNA), CISA KEV and SSVC, FIRST EPSS, exploit sources, fixed versions. How we calculate it

Primary sources: NVD · CVE.org · FIRST EPSS

A flaw exists in the SAML signature validation method within the Keycloak XMLSignatureUtil class. The method incorrectly determines whether a SAML signature is for the full document or only for specific assertions based on the position of the signature in the XML document, rather than the Reference element used to specify the signed element. This flaw allows attackers to create crafted responses that can bypass the validation, potentially leading to privilege escalation or impersonation attacks.

HighCVSS 7.7 · v3.1—Proof of concept Fix available
Published
Sep 19, 2024
Updated
Aug 4, 2026
EPSS
2.0% · 80th percentile

Report tools

JSON

Action score

31

Monitor

Low priority for now.

CVSS
30 / 40 · 7.7 / 10
CISA KEV
0 / 30 · Not listed
EPSS
1 / 30 · 2.0%

CISA SSVC decision

Exploitation
none
Automatable
no
Technical impact
partial

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · redhat
7.7
NVD has not scored this yet; the score shown is the CNA’s.

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Get told when this record changes

  • Not in KEV: no record of exploitation in the wild
  • Proof of concept exists, no weaponized module
  • A fix has been released

If any of these changes, we'll tell you in the daily email digest.

Follow CVE-2024-8698

When you'll hear from us

  • when it enters CISA KEV
  • when exploit code appears or is weaponized
  • when the record is updated (including a fixed version)
  • when EPSS rises 20 points in a week

One daily email digest (06:00 UTC); connect a webhook for KEV listings and weaponized exploits instantly.

Your free account also gets you

Running WordPress? Scan your site free with WP Lens

  • Stack alerts: add the products and versions you run, get the new CVEs that affect them
  • Uptime monitoring: 1 site, instant email when it goes down
  • Add your domain: subdomains and takeover risk scanned every week (1 domain)
  • 10 scans an hour on the security tools (3 a day without an account), an API key and MCP
All free tools

Sign up with email · Have an account? Sign in

Free account, no card. Unfollow any time.

Running WordPress? Scan your site free with WP Lens

Is your version affected? Check it

Noroxi analysis

What does it mean in your environment?

The assessment above is generated automatically from the record's data; it doesn't know your environment. Our team verifies on your systems whether this vulnerability is actually exploitable and which mitigation is enough.

We use this product, ask for help

Affected systems

Is your version affected?

Pick the product and type the version you run. It's compared with this record's version ranges in your browser; the version isn't sent anywhere.

—

Versions reported by the vendor

Affected version ranges reported by the assigning authority (redhat). Independent of NVD's CPE analysis and usually ahead of it.

  • github.com/keycloak/keycloak keycloak

    • before 25.0.5affected · semver
  • Red Hat Red Hat Build of Keycloak

    • all versionsunknown
    • all versionsunknown
    • all versionsaffected
  • Red Hat Red Hat build of Keycloak 22

    • 22.0.13-1 and laternot affected · rpm
    • 22-18 and laternot affected · rpm
    • 22-21 and laternot affected · rpm
  • Red Hat Red Hat build of Keycloak 24

    • 24.0.8-1 and laternot affected · rpm
    • 24-17 and laternot affected · rpm
    • 24-17 and laternot affected · rpm
  • Red Hat Red Hat JBoss Enterprise Application Platform 8

    • all versionsunknown
    • all versionsunknown
  • Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 8

    • 0:2.33.0-1.redhat_00015.1.el8eap and laternot affected · rpm
    • 1:2.0.0-2.redhat_00005.1.el8eap and laternot affected · rpm
    • 0:1.8.0-2.redhat_00001.1.el8eap and laternot affected · rpm
    • 0:2.2.0-2.redhat_00001.1.el8eap and laternot affected · rpm
    • 0:1.16.1-2.redhat_00007.1.el8eap and laternot affected · rpm
    • 0:3.2.2-28.redhat_2.1.el8eap and laternot affected · rpm
    • 0:2.15.1-1.redhat_00001.1.el8eap and laternot affected · rpm
    • 0:3.14.0-2.redhat_00006.1.el8eap and laternot affected · rpm
    • 0:4.0.5-1.redhat_00001.1.el8eap and laternot affected · rpm
    • 1:2.0.0-2.redhat_00005.1.el8eap and laternot affected · rpm
  • Red Hat Red Hat JBoss Enterprise Application Platform 8.0 for RHEL 9

    • 0:2.33.0-1.redhat_00015.1.el9eap and laternot affected · rpm
    • 1:2.0.0-2.redhat_00005.1.el9eap and laternot affected · rpm
    • 0:1.8.0-2.redhat_00001.1.el9eap and laternot affected · rpm
    • 0:2.2.0-2.redhat_00001.1.el9eap and laternot affected · rpm
    • 0:1.16.1-2.redhat_00007.1.el9eap and laternot affected · rpm
    • 0:3.2.2-28.redhat_2.1.el9eap and laternot affected · rpm
    • 0:2.15.1-1.redhat_00001.1.el9eap and laternot affected · rpm
    • 0:3.14.0-2.redhat_00006.1.el9eap and laternot affected · rpm
    • 0:4.0.5-1.redhat_00001.1.el9eap and laternot affected · rpm
    • 1:2.0.0-2.redhat_00005.1.el9eap and laternot affected · rpm
  • Red Hat Red Hat Single Sign-On 7

    • all versionsunknown
    • all versionsaffected
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 7

    • 0:18.0.18-1.redhat_00001.1.el7sso and laternot affected · rpm
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 8

    • 0:18.0.18-1.redhat_00001.1.el8sso and laternot affected · rpm
  • Red Hat Red Hat Single Sign-On 7.6 for RHEL 9

    • 0:18.0.18-1.redhat_00001.1.el9sso and laternot affected · rpm
  • Red Hat RHEL-8 based Middleware Containers

    • 7.6-54 and laternot affected · rpm

Package-level exposure

OSV and GitHub Advisory data: ecosystem, package and range. SBOM matching uses this table.

EcosystemPackageAffected rangeFix
Mavenorg.keycloak:keycloak-saml-corefrom 23.0.0 · before 24.0.824.0.8
Mavenorg.keycloak:keycloak-saml-corefrom 25.0.0 · before 25.0.625.0.6
Mavenorg.keycloak:keycloak-saml-corebefore 22.0.1322.0.13
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemisbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-clibefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-commonsbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-core-clientbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-dtobefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-hornetq-protocolbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-hqclient-protocolbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-jakarta-clientbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-jakarta-rabefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-jakarta-serverbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-jakarta-service-extensionsbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-jdbc-storebefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-journalbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-nativebefore 1:2.0.0-2.redhat_00005.1.el8eap1:2.0.0-2.redhat_00005.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-selectorbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-activemq-artemis-serverbefore 0:2.33.0-1.redhat_00015.1.el8eap0:2.33.0-1.redhat_00015.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-aesh-extensionsbefore 0:1.8.0-2.redhat_00001.1.el8eap0:1.8.0-2.redhat_00001.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-aesh-readlinebefore 0:2.2.0-2.redhat_00001.1.el8eap0:2.2.0-2.redhat_00001.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-apache-commons-codecbefore 0:1.16.1-2.redhat_00007.1.el8eap0:1.16.1-2.redhat_00007.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-apache-commons-collectionsbefore 0:3.2.2-28.redhat_2.1.el8eap0:3.2.2-28.redhat_2.1.el8eap
Red Hat:jboss_enterprise_application_platform:8.0::el8eap8-apache-commons-iobefore 0:2.15.1-1.redhat_00001.1.el8eap0:2.15.1-1.redhat_00001.1.el8eap

+96

Other highest-scoring records for the same primary product.

  • CVE-2024-3656Keycloak: unguarded admin rest api endpoints allows low privilege users to use administrative functionalities
    33Monitor
  • CVE-2025-3501Org.keycloak.protocol.services: keycloak hostname verification
    32Monitor
  • CVE-2024-4540Keycloak: exposure of sensitive information in pushed authorization requests (par) kc_restart cookie
    30Monitor
  • CVE-2026-109082Keycloak-services: keycloak-services: ciba confidential-only contract not enforced for public clients
    27Monitor
  • CVE-2026-97846Keycloak-services: keycloak-services: standard token exchange v2 bypasses mtls holder-of-key binding
    27Monitor
  • CVE-2026-96445Keycloak-services: keycloak-services: conditional otp skip-header policy evaluated against untrusted proxy headers
    27Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

Product / packageFixed versionSource
github.com/keycloak/keycloak keycloak25.0.5Vendor (CNA)
Maven:org.keycloak:keycloak-saml-core22.0.13Package registry (OSV)
Maven:org.keycloak:keycloak-saml-core24.0.8Package registry (OSV)
Maven:org.keycloak:keycloak-saml-core25.0.6Package registry (OSV)
red hat:eap8-activemq-artemis0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-cli0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-commons0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-core-client0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-dto0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-hornetq-protocol0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-hqclient-protocol0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-jakarta-client0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-jakarta-ra0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:eap8-activemq-artemis-jakarta-server0:2.33.0-1.redhat_00015.1.el8eap · Red Hat:jboss_enterprise_application_platform:8.0::el8Package registry (OSV)
red hat:rh-sso7-keycloak0:18.0.18-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7Package registry (OSV)
red hat:rh-sso7-keycloak-server0:18.0.18-1.redhat_00001.1.el7sso · Red Hat:red_hat_single_sign_on:7.6::el7Package registry (OSV)

Exploit status

Proof of concept available

A public proof of concept or detection signature exists. Exploit knowledge is out there; don't delay patching.

Evidence

  • Nuclei detection template ×1
  • Proof-of-concept repository on GitHub ×1

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Nuclei detection templateNuclei template CVE-2024-8698 —
Proof-of-concept repository on GitHubstars:62024-10-10

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. Published
  2. First PoC+20 d
  3. TodayOct 16, 2026+757 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

No nightly-computed relations.

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

—

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

National notice (Türkiye Cybersecurity Directorate / USOM)

Official security notices citing this record; remediation advice is on the agency's page.

All national notices →

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • A low-privileged account is enough.
  • No user action is required.
  • Special conditions such as timing or configuration are required.

If successful

Confidentiality
high · data can be read
Integrity
low · data or configuration can be modified
Availability
low · the service can be disrupted

Impact can extend beyond the vulnerable component (scope changes).

Attack vector
Network
Attack complexity
High
Privileges required
Low
User interaction
None
Scope
Changed
Confidentiality impact
High
Integrity impact
Low
Availability impact
Low

CVSS vector

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:C/C:H/I:L/A:L

nvd-secondary

Root cause

The verifier takes the algorithm to verify with from the token’s own header. Untrusted data ends up deciding its own verification rule.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const claims = jwt.verify(token, publicKey);

Fixed

ts
const claims = jwt.verify(token, publicKey, {  algorithms: ["RS256"],  issuer: "https://id.example.com",  audience: "portal",});

Attack context

MITRE CAPEC attack patterns and ATT&CK techniques for this weakness class (CWE). A starting point for detection rules and threat hunting.

Change log

  1. Fix✗ → ✓

For records you follow, these changes also arrive as notifications. →

References

All records