CVE-2026-71425: Outstatic Authenticated GitHub REST Proxy Can Vulnerability

MODERATE
Advisory Identifier: GHSA-7jvc-9xq8-frff
CVSS 6.5
CWE-918
Published
Advisory Summary

CVE-2026-71425 is a MODERATE (CVSS 6.5) authenticated github rest proxy can vulnerability (CWE-918: Server-Side Request Forgery (SSRF)) affecting Outstatic libraries in the npm ecosystem. The issue involves authenticated github rest proxy can send oauth token to non-github origins. Remediation is available by upgrading affected packages to version 2.2.1.

CVE-2026-71425 at a Glance

CVE Identifier CVE-2026-71425
GHSA Identifier GHSA-7jvc-9xq8-frff
Severity MODERATE
CVSS v3.1 Base Score 6.5
CWE Classification CWE-918: Server-Side Request Forgery (SSRF)
Affected Product Outstatic
Package Ecosystem npm
Published Date
Last Updated

Security Impact

CVSS: 6.5

The security impact metrics below are parsed directly from the CVSS v3.1 vector string (CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N).

Attack Vector Network (AV:N)
Attack Complexity Low (AC:L)
Privileges Required Low (PR:L)
User Interaction None (UI:N)
Scope Unchanged (S:U)
Confidentiality High (C:H)
Integrity None (I:N)
Availability None (A:N)

How to Fix CVE-2026-71425

To remediate this vulnerability, upgrade all affected Outstatic dependencies to a patched release. Both direct and transitive dependencies should be checked, as frameworks or security libraries may pull in vulnerable versions transitively.

outstatic fixed: 2.2.1
npm install outstatic@2.2.1
Verify Direct and Transitive Dependencies

Run the following command in your project directory to verify that all resolved dependencies use the patched release:

npm ls outstatic

How to Check if You Are Affected

To determine whether your Node.js application is affected by CVE-2026-71425, inspect your project dependencies using npm:

npm ls outstatic

Analyze the terminal output to locate any version of Outstatic in your dependency tree. If any resolved version matches the vulnerable ranges listed in the table below (for example, versions earlier than 2.2.1), your application is affected.

Note: The npm ls outstatic command inspects dependencies declared in your package.json and lockfile; it does not perform automated runtime dynamic scanning.

Technical Details

Vulnerability Mechanism & Technical Analysis

This vulnerability is classified under CWE-918: Server-Side Request Forgery (SSRF), where the web server receives a url or similar request from an upstream component and retrieves the contents of this url, but it does not sufficiently ensure that the request is being sent to the expected destination. In Outstatic, software state validation or input boundaries are circumvented during processing. Review the official source advisory statement below for specific affected components, classes, and reproduction details.

Source Advisory Statement

### Impact 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. ### Patches The issue has been patched by validating that proxied requests resolve to the exact https://api.github.com/ origin and by restricting forwarded request headers. Users should upgrade to v2.2.1 or later. ### 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.

CVE-2026-71425 Affected Outstatic Versions

1 component(s)
Fixed Versions:
2.2.1
Product / Package Ecosystem Affected Versions Fixed Version
outstatic
npm
< 2.2.1
2.2.1

References

Frequently Asked Questions

What is CVE-2026-71425?
CVE-2026-71425 is a security vulnerability in Outstatic involving Authenticated GitHub REST proxy can send OAuth token to non-GitHub origins under CWE-918: Server-Side Request Forgery (SSRF).
Which Outstatic versions are affected?
Affected versions include releases prior to 2.2.1 across affected packages: outstatic.
What version fixes CVE-2026-71425?
Upgrading to 2.2.1 (or the latest patched release for your respective branch) resolves the vulnerability.
Is outstatic affected?
Yes, outstatic is affected in releases prior to 2.2.1. Upgrade your dependency to 2.2.1 or later.
What is the CVSS score of CVE-2026-71425?
CVE-2026-71425 has a CVSS v3.1 base score of 6.5 (MODERATE) with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N.
What CWE is associated with CVE-2026-71425?
CVE-2026-71425 is classified under CWE-918: Server-Side Request Forgery (SSRF) (The web server receives a URL or similar request from an upstream component and retrieves the contents of this URL, but it does not sufficiently ensure that the request is being sent to the expected destination.).
How can I check npm dependencies for CVE-2026-71425?
Run the dependency tree command: 'npm ls outstatic'. This command lists direct and transitive dependencies in your build configuration so you can verify if a vulnerable version is resolved.
Machine-readable OSV JSON OSV v1.5 Schema
Normalized schema output
{
  "schema_version" : "1.4.0",
  "id" : "GHSA-7jvc-9xq8-frff",
  "modified" : "2026-11-18T20:43:43Z",
  "published" : "2026-11-18T20:43:43Z",
  "aliases" : [ "CVE-2026-71425" ],
  "summary" : "Outstatic: Authenticated GitHub REST proxy can send OAuth token to non-GitHub origins",
  "details" : "### Impact\nOutstatic’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.\n\nA 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.\n\nThis 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.\n\n### Patches\nThe issue has been patched by validating that proxied requests resolve to the exact https://api.github.com/ origin and by restricting forwarded request headers.\n\nUsers should upgrade to v2.2.1 or later.\n\n### Workarounds\nIf 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.\n\nAs 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.\n\nUsers who suspect their token was exposed should revoke the affected GitHub OAuth authorization and sign in again.",
  "severity" : [ {
    "type" : "CVSS_V3",
    "score" : "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N"
  } ],
  "affected" : [ {
    "package" : {
      "ecosystem" : "npm",
      "name" : "outstatic"
    },
    "ranges" : [ {
      "type" : "ECOSYSTEM",
      "events" : [ {
        "introduced" : "0"
      }, {
        "fixed" : "2.2.1"
      } ]
    } ],
    "database_specific" : {
      "last_known_affected_version_range" : "<= 2.2.0"
    }
  } ],
  "references" : [ {
    "type" : "WEB",
    "url" : "https://github.com/avitorio/outstatic/security/advisories/GHSA-7jvc-9xq8-frff"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/avitorio/outstatic/commit/03b9147a04336986174ef0be1c300b3abbbec3e1"
  }, {
    "type" : "PACKAGE",
    "url" : "https://github.com/avitorio/outstatic"
  }, {
    "type" : "WEB",
    "url" : "https://github.com/avitorio/outstatic/releases/tag/v2.2.1"
  } ],
  "database_specific" : {
    "cwe_ids" : [ "CWE-918" ],
    "severity" : "MODERATE",
    "github_reviewed" : true,
    "github_reviewed_at" : "2026-11-18T20:43:43Z",
    "nvd_published_at" : null
  }
}