CVE-2025-23368: Wildfly elytron integration Remote Code Execution Vulnerability

HIGH
Advisory Identifier: GHSA-qhp6-6p8p-2rqh
CVSS 8.1
CWE-307
Published
Advisory Summary

CVE-2025-23368 is a HIGH (CVSS 8.1) remote code execution vulnerability (CWE-307: Improper Restriction of Excessive Authentication Attempts) affecting Wildfly elytron integration libraries in the Maven ecosystem. The issue involves wildfly elytron integration susceptible to brute force attacks via cli. Remediation is available by upgrading affected packages to version 32.0.0.Beta3, 31.0.3.Final.

CVE-2025-23368 at a Glance

CVE Identifier CVE-2025-23368
GHSA Identifier GHSA-qhp6-6p8p-2rqh
Severity HIGH
CVSS v3.1 Base Score 8.1
CWE Classification CWE-307: Improper Restriction of Excessive Authentication Attempts
Affected Product Wildfly elytron integration
Package Ecosystem Maven
Published Date
Last Updated

Security Impact

CVSS: 8.1

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H).

Attack Vector Network (AV:N)
Attack Complexity High (AC:H)
Privileges Required None (PR:N)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity High (I:H)
Availability High (A:H)

How to Fix CVE-2025-23368

To remediate this vulnerability, upgrade all affected Wildfly elytron integration dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

org.wildfly.core:wildfly-elytron-integration fixed: 32.0.0.Beta3
<dependency>
    <groupId>org.wildfly.core</groupId>
    <artifactId>wildfly-elytron-integration</artifactId>
    <version>32.0.0.Beta3</version>
</dependency>
org.wildfly.core:wildfly-elytron-integration fixed: 31.0.3.Final
<dependency>
    <groupId>org.wildfly.core</groupId>
    <artifactId>wildfly-elytron-integration</artifactId>
    <version>31.0.3.Final</version>
</dependency>
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

mvn dependency:tree -Dincludes=org.wildfly.core

How to Check if You Are Affected

To determine whether your Java application is affected by CVE-2025-23368, inspect your build dependencies using the Maven Dependency Plugin:

mvn dependency:tree -Dincludes=org.wildfly.core

Analyze the terminal output to locate any version of Wildfly elytron integration in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 32.0.0.Beta3), your application is affected.

Note: The mvn dependency:tree -Dincludes=org.wildfly.core command inspects the resolved dependency graph declared in your project's POM files; it does not perform automated security scanning or inspect runtime dynamic classpaths. Always verify runtime container classpaths and shaded JARs.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts, where the product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame. In Wildfly elytron integration, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact A flaw was found in Wildfly Elytron integration. The component does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks via CLI. ### Patches The default behaviour has been changed in WildFly Core 31.0.3.Final, and 32.0.0.Beta3 - the first version is used by WildFly 39.0.1.Final and the second will be included in WildFly 40. ### Workarounds No direct workaround. Monitoring network traffic / blocking suspicious traffic may help. ### References https://www.cve.org/CVERecord?id=CVE-2025-23368 https://issues.redhat.com/browse/WFCORE-7192 ### Acknowledgements We would like to thank Claudia Bartolini (TIM S.p.A), Marco Ventura (TIM S.p.A), and Massimiliano Brolli (TIM S.p.A) for reporting this issue.

CVE-2025-23368 Affected Wildfly elytron integration Versions

2 component(s)
Fixed Versions:
32.0.0.Beta331.0.3.Final
Product / Package Ecosystem Affected Versions Fixed Version
org.wildfly.core:wildfly-elytron-integration
Maven
≥ 32.0.0.Beta1
< 32.0.0.Beta3
32.0.0.Beta3
org.wildfly.core:wildfly-elytron-integration
Maven
< 31.0.3.Final
31.0.3.Final

References

Frequently Asked Questions

What is CVE-2025-23368?
CVE-2025-23368 is a security vulnerability in Wildfly elytron integration involving Wildfly Elytron integration susceptible to brute force attacks via CLI under CWE-307: Improper Restriction of Excessive Authentication Attempts.
Which Wildfly elytron integration versions are affected?
Affected versions include releases prior to 32.0.0.Beta3, 31.0.3.Final across affected packages: org.wildfly.core:wildfly-elytron-integration.
What version fixes CVE-2025-23368?
Upgrading to 32.0.0.Beta3, 31.0.3.Final (or the latest patched release for your respective branch) resolves the vulnerability.
Is wildfly-elytron-integration affected?
Yes, org.wildfly.core:wildfly-elytron-integration is affected in releases prior to 32.0.0.Beta3, 31.0.3.Final. Upgrade your dependency to 32.0.0.Beta3, 31.0.3.Final or later.
What is the CVSS score of CVE-2025-23368?
CVE-2025-23368 has a CVSS v3.1 base score of 8.1 (HIGH) with vector string CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H.
What CWE is associated with CVE-2025-23368?
CVE-2025-23368 is classified under CWE-307: Improper Restriction of Excessive Authentication Attempts (The product does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame.).
How can I check Maven dependencies for CVE-2025-23368?
Run the dependency tree command: 'mvn dependency:tree -Dincludes=org.wildfly.core'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-qhp6-6p8p-2rqh",
  "modified" : "2026-02-13T20:52:26Z",
  "published" : "2026-02-13T20:52:26Z",
  "aliases" : [ "CVE-2025-23368" ],
  "summary" : "Wildfly Elytron integration susceptible to brute force attacks via CLI",
  "details" : "### Impact\n\nA flaw was found in Wildfly Elytron integration. The component does not implement sufficient measures to prevent multiple failed authentication attempts within a short time frame, making it more susceptible to brute force attacks via CLI.\n\n### Patches\n\nThe default behaviour has been changed in WildFly Core 31.0.3.Final, and 32.0.0.Beta3 - the first version is used by WildFly 39.0.1.Final and the second will be included in WildFly 40.\n\n### Workarounds\n\nNo direct workaround.\nMonitoring network traffic / blocking suspicious traffic may help.\n\n### References\n\nhttps://www.cve.org/CVERecord?id=CVE-2025-23368\nhttps://issues.redhat.com/browse/WFCORE-7192\n\n### Acknowledgements\n\nWe would like to thank Claudia Bartolini (TIM S.p.A), Marco Ventura (TIM S.p.A), and Massimiliano Brolli (TIM S.p.A) for reporting this issue.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wildfly.core:wildfly-elytron-integration"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "32.0.0.Beta1"
      }, {
        "fixed" : "32.0.0.Beta3"
      } ]
    } ]
  }, {
    "package" : {
      "ecosystem" : "Maven",
      "name" : "org.wildfly.core:wildfly-elytron-integration"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "31.0.3.Final"
      } ]
    } ]
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/security/advisories/GHSA-qhp6-6p8p-2rqh"
  }, {
    "type" : "ADVISORY",
    "url" : "https://nvd.nist.gov/vuln/detail/CVE-2025-23368"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/pull/6634"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/pull/6635"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/commit/11e873031c522a0b36afb59880ce4dd59efd0bc0"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/wildfly/wildfly-core/commit/a6f9d7534aa44de741337756f8377ad3a81f7695"
  }, {
    "type" : "WEB",
    "url" : "https://access.redhat.com/security/cve/CVE-2025-23368"
  }, {
    "type" : "WEB",
    "url" : "https://bugzilla.redhat.com/show_bug.cgi?id=2337621"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/wildfly/wildfly-core"
  }, {
    "type" : "WEB",
    "url" : "https://www.gruppotim.it/it/footer/red-team.html"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-307" ],
    "severity" : "HIGH",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-02-13T20:52:26Z",
    "nvd_published_at" : null
  }
}