Read the docs
TI-2022-18680 Aliases CVE-2022-39304GHSA-h4q8-96p6-jcgr

ghinstallation returns app JWT in error responses

Priority LOW 23CWE-209Published · Updated

Key facts

Attack vector
Local
Privileges required
Low
User interaction
Required
Attack complexity
High
Impact type
Information disclosure
Confidentiality · integrity · availability
High · None · Low
Fix status
Partial Red Hat: 1 without a fix

Attack profile from CVSS 3.1 · CNA. Fix status from CNA, GitHub and Red Hat. Impact type from CWE-209.

Summary

ghinstallation provides transport, which implements http.RoundTripper to provide authentication as an installation for GitHub Apps. In ghinstallation version 1, when the request to refresh an installation token failed, the HTTP request and response would be returned for debugging. The request contained the bearer JWT for the App, and was returned back to clients. This token is short lived (10 minute maximum). This issue has been patched and is available in version 2.0.0.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00393 33rd percentileScored 2026-11-07
Public exploit Yes 1 exploit referenceTagged by NVD
Fix Partial ghinstallation (bradleyfalzon): 2.0.0github.com/bradleyfalzon/ghinstallation (Go): 2.0.0Red Hat: 1 without a fix

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
bradleyfalzonghinstallationbefore 2.0.02.0.0Patch availableCNA
—github.com/bradleyfalzon/ghinstallation (Go)before 2.0.02.0.0Patch availableGHSA-h4q8-96p6-jcgr
  • ghinstallation Vendorbradleyfalzon Affected before 2.0.0 Fixed in 2.0.0 Patch available CNA
  • github.com/bradleyfalzon/ghinstallation (Go) Vendor— Affected before 2.0.0 Fixed in 2.0.0 Patch available GHSA-h4q8-96p6-jcgr

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:ghinstallation_project:ghinstallation:*:*:*:*:*:*:*:*before 2.0.0VulnerableGhinstallation Project
  • cpe:2.3:a:ghinstallation_project:ghinstallation:*:*:*:*:*:*:*:* Versions before 2.0.0 Vulnerable ·Ghinstallation Project

Remediation

  • Fix · CNA ghinstallation (bradleyfalzon) Fixed in 2.0.0
  • Fix · GHSA-h4q8-96p6-jcgr github.com/bradleyfalzon/ghinstallation (Go) Fixed in 2.0.0 Advisory →

Vendor assessments

Red Hat

Red Hat rating: Moderate. Red Hat's page for this CVE →

ProductStatusPlan or fix
Red Hat OpenShift GitOpsAffectedNo fix yet
Not affected: 3 products
  • Red Hat Advanced Cluster Management for Kubernetes 2
  • Red Hat Advanced Cluster Security 3
  • Red Hat OpenShift GitOps

Timeline

  1. 2026-10-02 Threatist record created from CVE-2022-39304
  2. 2026-10-03 Alias added: GHSA-h4q8-96p6-jcgr

References

Sources