CVE-2023-6267

Authorization Bypass
Affects
Quarkus
in
Quarkus
No items found.
Versions
<3.2.10.Final, >=3.3.0.CR1 <3.6.8, >=3.7.0.CR1 <3.7.1

Patch Available.

Exclamation circle icon
Patch Available

This Vulnerability has been fixed in the Never-Ending Support (NES) version offered by HeroDevs.

Overview

Quarkus is a Kubernetes-native Java framework optimized for cloud-native applications, containers, and serverless workloads. It builds on standard libraries (Jakarta EE, Eclipse Vert.x, Hibernate, Netty) and compiles to both JVM and GraalVM native images for fast startup and low memory use. The RESTEasy Classic extension (io.quarkus:quarkus-resteasy) provides JAX-RS REST endpoints for Quarkus applications on top of the RESTEasy implementation.

An authorization bypass vulnerability (CVE-2023-6267) has been identified in the RESTEasy Classic extension of Quarkus, which allows unauthenticated or unauthorized attackers to have the JSON body of a request to an annotation-secured endpoint deserialized before the endpoint's security constraints are evaluated. Configuration-based HTTP security is not affected.

Per OWASP: Access control enforces policy such that users cannot act outside of their intended permissions. Failures typically lead to unauthorized information disclosure, modification, or destruction of all data or performing a business function outside the user's limits.

This issue affects multiple versions of Quarkus that include the io.quarkus:quarkus-resteasy package.

Details

Module Info

Vulnerability Info

This High-severity vulnerability is found in the io.quarkus:quarkus-resteasy package in multiple versions of Quarkus. When a RESTEasy Classic resource method is secured with annotations such as @RolesAllowed, @DenyAll or @Authenticated, the check is not performed by the JAX-RS request pipeline. It is performed only by a CDI interceptor that runs when the resource method is invoked:

@Interceptor
@RolesAllowed("")
@Priority(Interceptor.Priority.LIBRARY_BEFORE)
public class RolesAllowedInterceptor {

    @AroundInvoke
    public Object intercept(InvocationContext ic) throws Exception {
        if (controller.isAuthorizationEnabled()) {
            return handler.handle(ic);
        } else {
            return ic.proceed();
        }
    }
}

SecurityHandler.handle then evaluates the constraint against the method and its already-resolved arguments before proceeding:

constrainer.check(ic.getMethod(), ic.getParameters());
return ic.proceed();

By the time an interceptor can run, RESTEasy has already matched the request, read the entity stream and deserialized the JSON body into the method's parameter objects through the configured message body reader. The only RESTEasy Classic request filter in the affected versions, SecurityContextFilter, sets up the JAX-RS SecurityContext but applies no role checks. As a result, any client, including an anonymous one, can send an arbitrary JSON body to an endpoint it is not allowed to call and have that body fully parsed and bound to application types, with any constructor, setter or deserializer logic in those types executed, before the request is rejected with 401 or 403. This exposes the JSON binding layer to untrusted input on endpoints that are meant to be protected and lets an unauthorized client consume server resources with large or deeply nested payloads.

Mitigation

Only recent versions of Quarkus are community-supported. Older lines are End-of-Life and will not receive public updates to address this issue. Quarkus LTS releases are maintained for 12 months from release; see the project's LTS release policy.

Users of the affected components should apply one of the following mitigations:

  • Upgrade Quarkus to a currently supported release that contains the fix.
  • Leverage a commercial support partner like HeroDevs for post-EOL security support.
Vulnerability Details
Severity
Level
CVSS Assessment
Low
>=0 <4
Medium
>=4 <6
High
>=6 <8
Critical
>=8 <10
High
ID
CVE-2023-6267
PROJECT Affected
Quarkus
Versions Affected
<3.2.10.Final, >=3.3.0.CR1 <3.6.8, >=3.7.0.CR1 <3.7.1
NES Versions Affected
Published date
November 24, 2026
≈ Fix date
November 18, 2026
Category
Authorization Bypass
Vex Document
Download VEXHow do I use it?
Sign up for the latest vulnerability alerts fixed in
NES for Quarkus
Rss feed icon
Subscribe via RSS
or

By submitting the form I acknowledge receipt of our Privacy Policy.

Thanks for signing up for our Newsletter! We look forward to connecting with you.
Oops! Something went wrong while submitting the form.