CVE-2026-49473
@cedar-policy/authorization-for-expressjs has an authorization bypass via query string manipulation
Also known as GHSA-g4w6-vmgf-xqvx
Mitigation
- Upgrade @cedar-policy/authorization-for-expressjs to 0.3.0 or later.
Who should check
- Projects that depend on npm package @cedar-policy/authorization-for-expressjs (< 0.3.0)
- Anyone running cedar-policy authorization-for-expressjs < 0.3.0
Vulnerability facts
- Affected
- @cedar-policy/authorization-for-expressjs < 0.3.0
- Fixed in
- 0.3.0
- Exploited in the wild
- Not in CISA KEV
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, login needed
- CVSS
- 8.8 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: Low
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: High
- EPSS
- 0.47% chance of exploitation in 30 days (percentile 33, 2026-11-26)
- CWE
- CWE-436, CWE-863
- Modified
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| npm @cedar-policy/authorization-for-expressjs | < 0.3.0 | 0.3.0 | osv |
| cedar-policy authorization-for-expressjs | < 0.3.0 | — | cvelist |
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2026-49473. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2026-49473.md Affected: @cedar-policy/authorization-for-expressjs < 0.3.0 Fixed in: 0.3.0 Steps: 1. Search this machine and project for @cedar-policy/authorization-for-expressjs (npm), cedar-policy authorization-for-expressjs: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2026-49473 being exploited?
There is no confirmed exploitation: CVE-2026-49473 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.47% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2026-49473?
High: CVSS 8.8 (v3.1, scored by CNA). Remote, login needed.
Which versions are affected by CVE-2026-49473?
@cedar-policy/authorization-for-expressjs < 0.3.0.
Is there a fix for CVE-2026-49473?
Yes. Fixed in 0.3.0. Upgrade @cedar-policy/authorization-for-expressjs to 0.3.0 or later.
How do I check if I'm affected by CVE-2026-49473?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.