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.
Affected versions
| Package | Affected | Fixed in |
|---|---|---|
| librest Product | all versions | No fix yet |
Details and references
- CVSS 3.1
- CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:U/C:H/I:H/A:N
- Severity from
- the vendor (its own CVE record or advisory)
- Weakness
- CWE-338
More Red Hat advisories
All Red Hat| Date | Advisory | Severity | Fixed in |
|---|---|---|---|
| Jul 22 | Red Hat Directory Server 11: denial of service | Medium5.3 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: command injection | High7.8 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: path traversal | Medium6.6 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: information disclosure | Low3.3 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: command injection | High7.8 | No fix yet |
| Jul 22 | Red Hat Ansible Automation Platform 2: command injection | High7.8 | No fix yet |