CVE-2026-71425: Outstatic: Authenticated GitHub REST proxy can send OAuth token to non-GitHub origins
Published 2026-11-18 · Updated 2026-11-18 · Also known as GHSA-7jvc-9xq8-frff
Summary
Outstatic contains a server-side request forgery vulnerability that allows authenticated dashboard users to redirect GitHub OAuth tokens to external, non-GitHub hosts. Users running versions prior to 2.2.1 should upgrade immediately to prevent unauthorized token exposure.
Who is affected
The vulnerability affects instances where an authenticated user interacts with the Outstatic GitHub REST proxy. An attacker with dashboard access can manipulate the endpoint parameter to exfiltrate the user's GitHub OAuth token to a malicious destination, potentially granting the attacker access to the user's private GitHub repositories.
Exploitability
The vulnerability carries a CVSS 3.1 base score of 6.5, categorized as medium severity. It requires an authenticated user with network access to the target dashboard, and there is currently no evidence of active exploitation via the CISA KEV catalog.
Remediation
- Upgrade the outstatic npm package to version 2.2.1 or later.
- If an immediate upgrade is not possible, restrict access to the /api/outstatic/github endpoint to trusted dashboard users only.
- Revoke and re-authorize GitHub OAuth tokens if you suspect your account credentials were exposed.
- Implement code-level mitigation by validating that proxied requests resolve strictly to https://api.github.com/ and blocking the forwarding of sensitive headers.
How to check your project
- Check the package.json file for the outstatic dependency version.
- Run 'npm list outstatic' in your project directory to verify the installed version.
Automated analysis of the published advisory data, generated 2026-11-19. Not human-reviewed; verify against the official advisory. How this works.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | Upgrade |
|---|---|---|---|---|
| npm | outstatic |
>= 0, < 2.2.1 | 2.2.1 | npm install [email protected] |
CVSS 3.1 vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N
| Attack vector | Network |
|---|---|
| Attack complexity | Low |
| Privileges required | Low |
| User interaction | None |
| Scope | Unchanged |
| Confidentiality | High |
| Integrity | None |
| Availability | None |
FAQ
Can an unauthenticated attacker exploit this?
No, the vulnerability requires the attacker to be an authenticated user with access to the Outstatic dashboard.
Does this allow access to other users' GitHub tokens?
The description states it does not directly expose another user’s GitHub token without an additional same-origin execution or request-forging primitive.
What is the primary technical cause of the issue?
The flaw is caused by insufficient validation of an endpoint parameter, which allowed for unauthorized URL construction via string concatenation while appending sensitive OAuth tokens.
Original advisory description
References
- WEB https://github.com/avitorio/outstatic/security/advisories/GHSA-7jvc-9xq8-frff
- WEB https://github.com/avitorio/outstatic/commit/03b9147a04336986174ef0be1c300b3abbbec3e1
- PACKAGE https://github.com/avitorio/outstatic
- WEB https://github.com/avitorio/outstatic/releases/tag/v2.2.1
Source records: GHSA-7jvc-9xq8-frff (OSV.dev) · EPSS by FIRST, 2026-11-26.