Skip to main content
CVE-2025-54956VulnerabilityPublished Updated

CVE-2025-54956: r-lib gh · Incorrect Resource Transfer Between Spheres

Affects r-lib ghSource CVE Database V5

0

Not known to be exploited · CVSS 3.2 Low.

Data as of 25 Oct 2026, 19:02 UTC

CVSS 3.1 base score
3.2Low
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.1% chance of exploitation in 30 days – higher than 4% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:H/PR:N/UI:N/S:C/C:L/I:N/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 3 Aug 2025

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2026-10-25.

What to do

Affected software

ProductAffectedFixed in
r-lib ghAffected
  • =0
Fixed in–

AI-suggested

European organizations should monitor for the release of an official patch or update to the 'gh' package version 1.5.0 or later and prioritize upgrading as soon as it becomes available. Until then, developers should audit their code to ensure that HTTP response objects from the 'gh' package are not logged, stored, or transmitted in a way that could expose the Authorization header. Implement strict access controls on developer and CI/CD environments to limit local access to trusted personnel only. Use environment variables or secure vaults to manage GitHub tokens and avoid embedding them directly in code or response objects. Employ token scopes with least privilege to minimize potential damage if tokens are exposed. Additionally, consider rotating GitHub tokens regularly and monitoring GitHub audit logs for suspicious activity. Incorporate static code analysis or security reviews to detect improper handling of sensitive data in R scripts using the 'gh' package. Finally, educate developers about the risk of leaking authorization headers through response objects and encourage secure coding practices.

Description

The gh package before 1.5.0 for R delivers an HTTP response in a data structure that includes the Authorization header from the corresponding HTTP request.

References

Community reviews

Loading reviews…