Skip to main content
CVE-2026-16615VulnerabilityPublished Updated

librest. The PKCE implementation · CWE-338

Source GCVE Database

0
Compare
Authoritative record:CVE-2026-16615· Medium 6.8

Not known to be exploited · CVSS 6.8 Medium : update librest when convenient.

Data as of 5 Dec 2026, 18:46 UTC

CVSS 3.1 base score
6.8Medium
How severe the flaw is on the 0–10 CVSS scale.

Thin evidence

One scorer or none
CVSS scores by source
CNA (redhat)CVSS 3.16.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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 22 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: 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 5 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
GNOMElibrestAffected–Fixed in–
Red Hat Enterprise Linux 10restAffected–Fixed in–
Red Hat Enterprise Linux 10.0 Extended Update SupportrestAffected–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

Community reviews

Loading reviews…