Skip to content
Red HatCVE-2026-16615

Red Hat librest: attacker could bypass PKCE protections

Medium6.8CVE-2026-16615 · Published Jul 22, 2026 · updated Sep 1, 2026

A flaw was found in librest. The PKCE implementation for OAuth authorization uses the GRand function from the GLib API, a cryptographically insecure pseudo-random number generator. Because the generated "code verifier" lacks sufficient cryptographic entropy, a malicious actor can reverse-engineer the pseudo-random number generator (PRNG) seed to predict or reconstruct the code verifier string, allowing an attacker to bypass PKCE protections and successfully impersonate the client during the OAuth 2.0 authorization flow.

Red Hat advisory

Affected versions

PackageAffectedFixed in
librest
Product
all versionsNo fix yet
Details and references

More Red Hat advisories

All Red Hat
Advisory
Red Hat Directory Server 11: denial of service
Medium5.3Jul 22
Red Hat Ansible Automation Platform 2: command injection
High7.8Jul 22
Red Hat Ansible Automation Platform 2: path traversal
Medium6.6Jul 22
Red Hat Ansible Automation Platform 2: information disclosure
Low3.3Jul 22
Red Hat Ansible Automation Platform 2: command injection
High7.8Jul 22
Red Hat Ansible Automation Platform 2: command injection
High7.8Jul 22

Critical advisories by email

Wednesdays: the week’s critical and high advisories in the AI and data stack, with the fixed versions. Only in weeks that have some.

Double opt-in. Unsubscribe any time.