npm
CVE-2026-71425
Outstatic: Authenticated GitHub REST proxy can send OAuth token to non-GitHub origins
- Severity
- Medium 6.5
- Published
- 18 Nov 2026
- Last changed
- 18 Nov 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 2.2.1
- Exploit chance
- 0.4% in the next 30 daysHigher than 31% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · Needs a user account · No user action needed
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N- Also known as
- GHSA-7jvc-9xq8-frff
- Sources
- OSV.dev and GitHub
Description
Outstatic’s authenticated GitHub REST proxy accepted an unvalidated endpoint parameter and constructed an upstream GitHub API URL by string concatenation while attaching the authenticated user’s GitHub OAuth token.
A user with access to the Outstatic dashboard could craft a request that caused the server to send their own GitHub OAuth token to a non-GitHub host. If that token was captured, it could be used to access GitHub resources available to that same user, including private repositories depending on granted scopes.
This does not allow unauthenticated attackers to access private repository data, and it does not directly expose another user’s GitHub token without an additional same-origin execution or request-forging primitive.
Workarounds
If upgrading immediately is not possible, restrict access to /api/outstatic/github to trusted dashboard users only, or temporarily disable the endpoint if it is not needed.
As a temporary code-level mitigation, reject body-provided endpoint values that do not begin with /, verify the parsed URL origin is exactly https://api.github.com/, and block forwarding of sensitive headers such as Authorization, Host, and User-Agent.
Users who suspect their token was exposed should revoke the affected GitHub OAuth authorization and sign in again.
Affected software
| Software | Affected versions |
|---|---|
outstaticnpm · osv:npm:outstatic |
|
About outstatic
- Weekly downloads (npm)
- 1,616npm, 24 Nov 2026
This is the only vulnerability in outstatic in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-71425
- GitHub Advisory Database https://github.com/advisories/GHSA-7jvc-9xq8-frff