CVE-2026-49473
Last modified
CVE-2026-49473 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. @cedar-policy/authorization-for-expressjs is an open-source Express.js middleware that integrates Cedar authorization into Express applications by mapping HTTP requests to Cedar actions and evaluating authorization policies before allowing requests to proceed. Versions prior to 0.3.0 have an issue where, under certain circumstances, the middleware matches incoming requests against Cedar action mappings using req.originalUrl, which includes the query string, while Express routes requests using only the path component.
Description
@cedar-policy/authorization-for-expressjs is an open-source Express.js middleware that integrates Cedar authorization into Express applications by mapping HTTP requests to Cedar actions and evaluating authorization policies before allowing requests to proceed. Versions prior to 0.3.0 have an issue where, under certain circumstances, the middleware matches incoming requests against Cedar action mappings using req.originalUrl, which includes the query string, while Express routes requests using only the path component. The middleware uses req.originalUrl to match incoming requests against Cedar action mappings. In Express, req.originalUrl includes the query string, while route matching uses only the path. This creates a divergence between what Cedar authorizes and what Express executes. When an application defines separate actions for overlapping path prefixes with different authorization requirements (for example, GET /users for listing all users with admin-only access, and GET /users/{id} for retrieving a single user with any authenticated user access), an actor can append a query string to bypass the more restrictive policy. Sending GET /users/?x=1 causes the middleware to match against /users/{id} (with id parameter set to ?x=1) and evaluate the less restrictive action, while Express routes the request to the /users list handler. This allows inappropriate access to the more restrictive endpoint. This issue has been addressed in version 0.30. Some workarounds are available. Validate and sanitize incoming request paths before they reach the authorization middleware. Ensure that applications do not rely solely on the middleware for authorization when defining multiple actions on overlapping path prefixes with different permission levels.
Metrics
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| cedar-policy | authorization-for-expressjs | < 0.3.0 |
References
Timeline
- Published
- Last Modified
- Status
- Received
Frequently Asked Questions
What is CVE-2026-49473?
How severe is CVE-2026-49473?
How do I fix CVE-2026-49473?
How Strix Helps
- Uncovering a hidden BOLA in Appsmith's snapshot logicStrix autonomously discovered a BOLA/IDOR vulnerability in Appsmith's snapshot deletion path.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-49466Draft List is a WordPress plugin to manage and promote unpub…6.5
- CVE-2026-49467Pingvin Share X is a secure and easy self-hosted file sharin…8.8
- CVE-2026-49468LiteLLM is a proxy server (AI Gateway) to call LLM APIs in O…9.8
- CVE-2026-4947Addressed a potential insecure direct object reference (IDOR…7.1
- CVE-2026-49471Serena is a powerful MCP toolkit for coding that provides se…8.3
- CVE-2026-49472FreeSWITCH is a Software Defined Telecom Stack enabling the …5.3
- CVE-2026-49475FreeSWITCH is a Software Defined Telecom Stack enabling the …7.5
- CVE-2026-49476Soup Sieve is a CSS selector library designed to be used wit…7.5
- CVE-2026-49477Soup Sieve is a CSS selector library designed to be used wit…7.5
- CVE-2026-4948A flaw was found in firewalld. A local unprivileged user can…5.5
- CVE-2026-49481UpSnap is a wake on lan web app. Versions prior to 5.4.0 hav…9.6
- CVE-2026-49482ClipBucket v5 is an open source video sharing platform. Prio…4.3
Are you affected by CVE-2026-49473?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
