High

OneUptime has broken access control in GitHub App installation flow that allows unauthorized project binding

  • Disclosed: 09.03.2026
  • Updated: 11.10.2026 10:22

Summary

OneUptime's GitHub App callback trusts attacker-controlled state and installation_id values and updates Project.gitHubAppInstallationId with isRoot: true without validating that the caller is authorized for the target project. This allows an attacker to overwrite another project's GitHub App installation binding.

Related GitHub endpoints also lack effective authorization, so a valid installation ID can be used to enumerate repositories and create CodeRepository records in an arbitrary project.

Details

The callback decodes unsigned base64 JSON from state and uses the embedded projectId directly:

It then writes the supplied installation_id into the target project with root privileges:

ts
await ProjectService.updateOneById({
  id: new ObjectID(projectId),
  data: { gitHubAppInstallationId: installationId },
  props: { isRoot: true },
});

The userId in state is only checked for presence, not authenticity:

The install flow also generates state as plain base64 JSON, not a signed or session-bound token:

The follow-on endpoints are also vulnerable:

PoC

Minimal proof of unauthorized project tampering:

bash
STATE=$(printf '%s' '{"projectId":"<victim-project-uuid>","userId":"x"}' | base64 | tr -d '\n')
curl -isk "https://<host>/api/github/auth/callback?installation_id=999999999&state=${STATE}"

Expected result:

  • Server returns a 302 redirect to /dashboard/<victim-project-uuid>/code-repository?installation_id=999999999
  • The target project's gitHubAppInstallationId is overwritten

Impact

  • Unauthorized modification of Project.gitHubAppInstallationId
  • Temporary GitHub integration breakage if a bogus installation ID is set
  • Cross-project binding of attacker-controlled GitHub App installations
  • Repository metadata disclosure for a supplied valid installation ID
  • Unauthorized creation of CodeRepository records in arbitrary projects

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @oneuptime/common < 10.0.19 10.0.19

References

CVSS score 8.6/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:H/A:L
Weakness (CWE)
CWE-345, CWE-639, CWE-862
Platform
npm
Package
@oneuptime/common
Disclosed
09.03.2026
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-656w-6f6c-m9r6 - CC BY 4.0

Vulnerability history: @oneuptime/common

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

All (11) in the archive
Total entries
11
First → latest
11.2025 03.2026
Without a fix
1
Exploited in attacks
0

Severity breakdown

  • Critical 6
  • High 3
  • Medium 2

Disclosures per year

  1. 2025: 2
  2. 2026: 9
Severity:
  1. Critical · 9.9 CVE-2026-30957 < 10.0.21 10.0.21
  2. OneUptime has broken access control in GitHub App installation flow that allows unauthorized project binding this entry
    High · 8.6 CVE-2026-30920 < 10.0.19 10.0.19
  3. Critical · 9.9 CVE-2026-30921 < 10.0.20 10.0.20
  4. High CVE-2025-65966 < 9.1.0 9.1.0

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.