# CVE-2026-54573: Authorization Bypass in API Key/OAuth Scopes via Path Parsing Discrepancy

- Severity: Medium 5.3 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:L/VA:N/SC:N/SI:N/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.29%, higher than 22% of CVEs (2026-12-01)
- Published: 2026-06-25T15:59:35.297Z
- Modified: 2026-06-26T19:16:43.747Z
- Weaknesses: CWE-863
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## Description

Outline is a service that allows for collaborative documentation. Prior to 1.8.0, the AuthenticationHelper.canAccess function uses ctx.originalUrl to verify if an API key or OAuth token has the required scopes for a request. It extracts the resource by splitting the URL by / and taking the last segment. However, it fails to strip the URL fragment (#). Because Koa's router uses ctx.path (which strips the fragment) for routing, an attacker can append a fragment containing a permitted path (e.g., #foo/api/documents.info) to a restricted endpoint (e.g., /api/documents.create). The router will route the request to the restricted endpoint, but canAccess will evaluate the permitted path in the fragment, bypassing the API key scope restrictions and allowing privilege escalation. This vulnerability is fixed in 1.8.0.

(As written by CVE List.)

## Affected

- outline outline: < 1.8.0

## References

- <https://github.com/outline/outline/security/advisories/GHSA-5x79-rj4g-qrh8>

## Sources

- CVE List: [CVE-2026-54573](https://www.cve.org/CVERecord?id=CVE-2026-54573), CVE Terms of Use, modified 2026-06-26
- NVD: [CVE-2026-54573](https://nvd.nist.gov/vuln/detail/CVE-2026-54573), Public domain, modified 2026-06-26

---

Page: https://cve.day/CVE-2026-54573 · Whole record: https://cve.day/CVE-2026-54573.json · Rebuilt by cve.day 2026-11-25T22:59:26.387Z
