NIST deprecates RSA-2048 from 2030. Find every one of them before attackers do.
📦
📦 npm
Not in CISA KEV
MEDIUM severity

CVE-2023-50728 — @octokit/webhooks

MEDIUM

CVE-2023-50728 is a medium-severity (CVSS 5.4) CWE-755 vulnerability in @octokit/webhooks. A fix is available for @octokit/webhooks — see the affected versions and patch details below.

Unauthenticated Denial of Service in the octokit/webhooks library

Also known asGHSA-pwfr-8pq7-x9qv
Published
Updated
Affected
7 pkgs
Patched
7 / 7
Exploits
None indexed
Exploitation data as of Nov 7, 2026 · OSV.dev, NVD, FIRST.org (EPSS)

EPSS Exploitation Probability

via FIRST.org ↗
0.9%probability of exploitation in next 30 days
Lower Risk0.00%
Lower risk than most CVEs60th percentile — riskier than 60% of all scored CVEsHighest risk
0.00%0.47%0.94%1.40%0.5%0.9%May 26Sep 26Nov 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

How urgent is this, really

Where this sits among everything scored

Real-World Exposure

7 pkgs affected

How broadly this vulnerability is actually deployed: weekly install volume shows current usage, and reverse-dependency count shows how many other packages break if it stays unpatched.

147other npm packages depend on this — each one inherits the vulnerability until it's patched upstream
@octokit/webhooksnpm
7.1Mdownloads / week

Description

Impact

Versions v9.26.0, v10.9.x), v11.1.x, v12.0.x all contained the code that would throw the error.

Specifically, during a pentest we encountered a bug in the octokit/webhooks library (a dependency of Probot, a framework for building Github Apps). The resulting request was found to cause an uncaught exception that ends the nodejs process.

The problem is caused by an issue with error handling in the @octokit/webhooks library because the error can be undefined in some cases.

Credit goes to @pb82 (for the early analysis) and @rh-tguittet (for discovery).

Patches

Maintenance releases for the Error being thrown by the verify method in octokit/webhooks.js

Maintenance release for the reference for octokit/webhooks.js in app.js

Maintenance release for the reference for octokit/webhooks.js in octokit.js

Maintenance release for the reference for octokit/webhooks.js in Protobot

Workarounds

It is recommend that all users upgrade to the latest version of octokit/webhooks.js or use one of the updated back ported versions.

Affected Packages

7 total 7 fixed
EcosystemPackageVulnerable rangeFix
📦npm@octokit/webhooksall versions9.26.3npm install @octokit/webhooks@9.26.3
📦npm@octokit/webhooks≥ 10.0.0&&< 10.9.210.9.2npm install @octokit/webhooks@10.9.2
📦npm@octokit/webhooks≥ 11.0.0&&< 11.1.211.1.2npm install @octokit/webhooks@11.1.2
📦npm@octokit/webhooks≥ 12.0.0&&< 12.0.312.0.3npm install @octokit/webhooks@12.0.3
📦npm@octokit/app≥ 14.0.1&&< 14.0.214.0.2npm install @octokit/app@14.0.2
📦npmoctokitall versions3.1.2npm install octokit@3.1.2

Affected Products

4 products · 7 configurations
Application
appoctokit
1 version
14.0.1
Application
octokitoctokit
< 3.1.2
range
Application
webhooksoctokit
≥ 12.0.0 && < 12.0.4
range
Application
probotprobot
< 12.3.3
range

Detection & mitigation playbook

Open-source dependency
  1. Detect

    Scan your dependency tree (package-lock.json, pnpm-lock.yaml, requirements.txt, go.sum, etc.) for @octokit/webhooks, including transitive dependencies — a direct dependency you never call can still pull in a vulnerable version.

  2. Fix

    Update @octokit/webhooks to 9.26.3 or later, then make sure no transitive (indirect) dependency still pins the vulnerable range — O3 confirms CVE-2023-50728 is resolved across your whole dependency graph.

  3. Workarounds

    If you can't upgrade right away: gate or disable the affected feature, validate untrusted input at the boundary, and avoid passing attacker-controlled data into the vulnerable path. O3's runtime protection blocks exploitation in production as an interim safeguard until the upgrade lands.

Fixing This On Your OS

If you run this on a Linux distribution, patch through your package manager against the distro's own security advisory below — it tracks the exact backported fix for your release, which can ship on a different timeline (and sometimes a different severity) than the upstream project.

Red HatModerate

The uncaught exception vulnerability in Octokit webhooks presents a moderate severity issue due to its potential to cause service disruptions and expose applications to unexpected behavior. In technical terms, the absence of proper error handling for undefined errors can lead to unhandled exceptions, ultimately…

ProductFixed inAdvisory
RHDH-1.1-RHEL-9rhdh/rhdh-hub-rhel9:1.1-97RHEA-2024:1366

Frequently Asked Questions

### Impact Versions [v9.26.0](https://github.com/octokit/webhooks.js/releases/tag/v9.26.0), [v10.9.x](https://github.com/octokit/webhooks.js/releases/tag/v10.9.1)), [v11.1.x](https://github.com/octokit/webhooks.js/releases/tag/v11.1.1), [v12.0.x](https://github.com/octokit/webhooks.js/releases/tag/v12.0.3) all contained the code that would throw the error. Specifically, during a pentest we encountered a bug in the octokit/webhooks library (a dependency of Probot, a framework for building Github Apps). The resulting request was found to cause an uncaught exception that ends the nodejs process.
O3 Security · Impact-Aware SCA

Is CVE-2023-50728 in your dependencies?

Find it across npm, including transitive dependencies.

CVE-2023-50728: @octokit/webhooks — Fixed in 9.26.3