CVE-2026-50559: Authentication/Authorization Bypass via Advanced Path Normalization Vulnerabilities

Published Jun 9, 2026
·
Updated

Quarkus HTTP path-based authorization policies can be bypassed using encoded semicolons (%3B) to smuggle matrix parameters past the security layer, and using encoded slashes (%2F) or backslashes (%5C) to access protected static resources. This is a distinct issue from CVE-2026-39852, which addressed only literal semicolon stripping.

### Technical Details

The security layer (AbstractPathMatchingHttpSecurityPolicy) normalizes request paths using Vert.x's normalizedPath(), which only decodes unreserved RFC 3986 characters (letters, digits, -, ., , ~). It then strips matrix parameters by looking for literal ; characters. This creates two mismatches:

1. Encoded semicolons (%3B): Since %3B is not decoded by normalizedPath(), the matrix parameter stripping in pathWithoutMatrixParams() never sees it. The encoded semicolon and everything after it become part of the path segment, causing policy matching to fail. This affects all path-policy-protected endpoints. 2. Static resource path mismatch: Static resource handlers (StaticHandlerImpl, FileSystemStaticHandler) perform full percent-decoding via URIDecoder.decodeURIComponent() and backslash-to-slash conversion before filesystem resolution. Reserved characters like %2F (slash) and %5C (backslash) that survive the security layer's partial decoding are fully decoded before file serving.

REST endpoints using Quarkus REST (RESTEasy Reactive) are not affected by the %2F/%5C vectors because the routing layer also uses normalizedPath() — both security and routing agree on the path, so no mismatch exists.

Attack Vectors

Encoded semicolon (matrix parameter smuggling), affects all path-policy-protected endpoints: - /api/admin%3Bbypass=true/data: security sees this as a single segment admin%3Bbypass=true, which does not match the /api/admin/ policy. The request passes through unauthenticated. - /api/secret%3b/data: same mechanism with lowercase hex digit.

Encoded slash/backslash on static resources, affects static files behind path policies: - /static-secret%2Fhtml, security does not match /static-secret.html policy; static handler decodes %2F to / and may resolve the file. - /static-secret%5Chtml . static handler decodes %5C to \, then converts to /.

Double encoding, affects static resources: - /secret%252Fconfidential.html, first decode by normalizedPath() turns %25 into %, producing %2F. Static handler's second decode turns %2F into /.

The following vectors were investigated and confirmed not exploitable:

- Unreserved character encoding (/api/adm%69n/data): normalizedPath() decodes these. Both security and routing see /api/admin/data. - Null byte injection (/api/admin%00/data): %00 is not decoded by normalizedPath(). - Encoded dot segments (/api/%2e%2e/secret/data): Period is unreserved, so %2e is decoded to . by normalizedPath(), then removeDots() normalizes .. segments. - REST endpoint bypass via %2F/%5C: Routing uses the same normalizedPath() as security. The encoded slash/backslash doesn't match any route.

Root Cause

pathWithoutMatrixParams() operates on the partially-decoded output of normalizedPath(), where reserved characters remain encoded. It searches for literal ; but never sees %3B. The fix (normalizePath()) performs full percent-decoding in a loop before stripping matrix parameters, removing null bytes, normalizing backslashes, and resolving dot segments, aligning the security layer's view of the path with what downstream handlers resolve.

Impact

- Unauthenticated access to endpoints protected by quarkus.http.auth.permission path-based policies via %3B smuggling - Static resource exposure by bypassing path policies on protected files via %2F/%5C - Applications using annotation-based security (@RolesAllowed, @Authenticated) on JAX-RS resources without path-based policies are not affected by the %2F/%5C vectors, but may still be affected by %3B if path policies coexist

Proof of Concept

# Encoded semicolon bypass — works on any path-policy-protected endpoint # Security sees "/api/admin%3Bbypass=true/data", doesn't match /api/admin/ policy curl -v http://target/api/admin%3Bbypass=true/data

# Encoded semicolon on authenticated endpoint curl -v http://target/api/secret%3b/data

# Static resource bypass via encoded slash (if static file behind path policy) curl -v http://target/static-secret%2Fhtml

# Static resource bypass via encoded backslash curl -v http://target/static-secret%5Chtml

Other sources

Quarkus is a Java framework for building cloud-native applications. Prior to versions 3.37.0, 3.36.3, 3.33.2.1, 3.33.3, 3.27.4.1, 3.27.5, and 3.20.6.2, Quarkus HTTP path-based authorization policies can be bypassed using encoded semicolons (%3B) to smuggle matrix parameters past the security layer, and using encoded slashes (%2F) or backslashes (%5C) to access protected static resources. This is a distinct issue from CVE-2026-39852, which addressed only literal semicolon stripping. Versions 3.37.0, 3.36.3, 3.33.2.1, 3.33.3, 3.27.4.1, 3.27.5, and 3.20.6.2 contain a patch.

MITRE

Affected Software

10 affected componentsFixes available
Red Hat Quarkus<3.37.0, <3.36.3, <3.33.2.1, <3.33.3, <3.27.4.1, <3.27.5, <3.20.6.2
Quarkus Quarkus<3.20.6.2
Quarkus Quarkus>=3.21.0<3.27.4.1
Quarkus Quarkus>=3.28.0<3.33.2.1
Quarkus Quarkus>=3.34.0<3.36.3
maven/io.quarkus:quarkus-vertx-http>=3.37.0.CR1<3.37.0
3.37.0
maven/io.quarkus:quarkus-vertx-http>=3.34.0.CR1<3.36.3
3.36.3
maven/io.quarkus:quarkus-vertx-http>=3.28.0.CR1<3.33.2.1
3.33.2.1
maven/io.quarkus:quarkus-vertx-http>=3.21.0.CR1<3.27.4.1
3.27.4.1
maven/io.quarkus:quarkus-vertx-http<3.20.6.2
3.20.6.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade maven/io.quarkus:quarkus-vertx-http to a version that resolves this vulnerability.

    Fixed in 3.37.0
  2. Upgrade

    Upgrade maven/io.quarkus:quarkus-vertx-http to a version that resolves this vulnerability.

    Fixed in 3.36.3
  3. Upgrade

    Upgrade maven/io.quarkus:quarkus-vertx-http to a version that resolves this vulnerability.

    Fixed in 3.33.2.1
  4. Upgrade

    Upgrade maven/io.quarkus:quarkus-vertx-http to a version that resolves this vulnerability.

    Fixed in 3.27.4.1
  5. Upgrade

    Upgrade maven/io.quarkus:quarkus-vertx-http to a version that resolves this vulnerability.

    Fixed in 3.20.6.2
  6. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.37.0
  7. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.36.3
  8. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.33.2.1
  9. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.33.3
  10. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.27.4.1
  11. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.27.5
  12. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 3.20.6.2
  13. Compensating control

    Ensure Quarkus deployments are not exposed to requests using encoded semicolons (%3B) or encoded slashes/backslashes (%2F/%5C) intended to bypass `quarkus.http.auth.permission` path-based authorization policies; add external request filtering/WAF rules to block these encoded patterns on the affected endpoints.

Event History

Jun 9, 2026
Data Sourced
via Red Hat·11:02 AM
DescriptionSeverityAffected Software
Jun 19, 2026
CVE Published
via MITRE·08:26 PM
Data Sourced
via MITRE·08:26 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·09:17 PM
DescriptionSeverityWeaknessAffected Software
Jul 29, 2026
Advisory Published
via GitHub·03:40 PM
Data Sourced
via GitHub·03:40 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-50559?

The severity of CVE-2026-50559 is rated as high with a score of 7.5.

2

What does CVE-2026-50559 exploit?

CVE-2026-50559 exploits authentication and authorization bypass via advanced path normalization vulnerabilities in Quarkus.

3

How do I fix CVE-2026-50559?

To fix CVE-2026-50559, upgrade to versions 3.37.0, 3.36.3, 3.33.2.1, 3.33.3, 3.27.4.1, 3.27.5, or 3.20.6.2 of Quarkus.

4

What type of applications are affected by CVE-2026-50559?

CVE-2026-50559 affects cloud-native applications built using the Quarkus framework.

5

Is CVE-2026-50559 related to matrix parameters?

Yes, CVE-2026-50559 allows bypassing of HTTP path-based authorization policies using encoded semicolons to smuggle matrix parameters.

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