Skip to content
RedCVE

CVE-2026-92087Fastify Auth @fastify/auth improper authorization

@fastify/authPublished:

CVSS score

8.1

High

CVSS 3.1 from ce714d77-add3-4f53-aff5-83d477b104bb

Exploit probability (EPSS)

0.47%

0.47% chance of exploitation in the next 30 days, higher than 41.9% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

@fastify/auth is a Fastify plugin that composes multiple authentication and authorization strategies into a single route guard. In versions 5.0.0 through 5.1.0, when strategies are composed with the relation "or" option together with the run "all" option and one entry is a nested array acting as an AND group, the group is evaluated in an order-dependent way: an earlier failing check is silently dropped and the group's result becomes the outcome of its last check. As a result, a request that satisfies only the last member of an AND group, for example an attacker who holds a valid API key but is not an administrator, is authorized instead of rejected, and a related order-dependent bypass affects the mirror configuration where the top-level relation is "and" and a nested group uses "or". The issue is fixed in @fastify/auth 5.1.1, and users should upgrade to 5.1.1 or later. As a workaround, omit the run "all" option where it is not required, order each AND group so its stricter check is evaluated last, or replace nested AND groups with an explicit top-level "and" composition.

Source: NVD · CNA: ce714d77-add3-4f53-aff5-83d477b104bb

How to fix it, step by step

  1. Check whether you're affected

    Find every system running @fastify/auth and compare its version with the affected versions.

  2. Update to a fixed version

    • Update @fastify/auth to 5.1.1 or later.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

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

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Affected products

Affected productsVersions
@fastify/auth @fastify/auth≥ 5.0.0, < 5.1.1

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2026-92087 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.5% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2026-92087?

CVE-2026-92087 has a CVSS 3.1 base score of 8.1 (high).

Which versions are affected?

Fastify Auth @fastify/auth (≥ 5.0.0, < 5.1.1)

Is there a patch for CVE-2026-92087?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.