librest. The PKCE implementation · CWE-338
Source GCVE Database
Not known to be exploited · CVSS 6.8 Medium : update librest when convenient.
Data as of 5 Dec 2026, 18:46 UTC
Thin evidence
One scorer or none| CNA (redhat) | CVSS 3.1 | 6.8 |
|---|
- EPSS
- 0.3% chance of exploitation in 30 days – higher than 29% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:NExploitation evidence
Disclosed: evidence found.
CVE published 22 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 5 Dec 2026.
What to do
Patches and advisories
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| GNOMElibrest | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10rest | Affected– | Fixed in– |
| Red Hat Enterprise Linux 10.0 Extended Update Supportrest | Affected– | Fixed in– |
AI-suggested
Red Hat has released an updated package for librest that fixes the weak random number generation in the PKCE implementation. Users of affected Red Hat Enterprise Linux 10 and related products should apply the security update as described in Red Hat advisory RHSA-2026:47085 and the referenced article https://access.redhat.com/articles/11258. Applying this official fix mitigates the vulnerability. No additional mitigation steps are required beyond applying the update.
Description
A vulnerability in librest's PKCE implementation for OAuth authorization uses a cryptographically insecure pseudo-random number generator (GRand from GLib). This weakness allows attackers to predict or reconstruct the PKCE code verifier, potentially bypassing PKCE protections and impersonating clients during OAuth 2.0 authorization flows. The issue has a CVSS score of 6.8 and is rated as medium severity. Red Hat has issued a security advisory with an update that fixes this flaw in Red Hat Enterprise Linux 10 and related products.
References
- nvd.nist.gov/vuln/detail/CVE-2026-16615 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:47085 (opens in a new tab)
- access.redhat.com/errata/RHSA-2026:62222 (opens in a new tab)
- access.redhat.com/security/cve/CVE-2026-16615 (opens in a new tab)
- bugzilla.redhat.com/show_bug.cgi?id=2504432 (opens in a new tab)
- gitlab.gnome.org/GNOME/librest/-/issues/25 (opens in a new tab)
- lists.debian.org/debian-lts-announce/2026/11/msg00041.html (opens in a new tab)