CVE-2026-118766

Botan: Online OCSP redirects enable blind requests to internal HTTP services

Published Oct 29, 2026 CVSS 3.1 · 6.1 Medium EPSS < 1% KEV · Not listed
Description
Botan is a C++ cryptography library. Prior to 3.13.0, Botan's online OCSP client allowed a single HTTP redirect while posting an OCSP request to the URI in a certificate's Authority Information Access extension. A malicious OCSP responder or an on-path attacker could redirect the client to make one blind request to an otherwise unreachable internal HTTP service. The primary impact is blind SSRF that might affect internal services with non-idempotent GET handlers, and response timing can provide a coarse internal-service oracle. This issue is fixed in version 3.13.0.

Analysis

AI-generated

Technical impact

Botan’s online OCSP client prior to version 3.13.0 allows a single HTTP redirect when it posts an OCSP request to the URI specified in a certificate’s Authority Information Access extension. The redirect can be controlled by a malicious OCSP responder or an on‑path attacker, causing the client to perform a blind request to an otherwise unreachable internal HTTP service. This results in blind server‑side request forgery that could trigger non‑idempotent GET handlers in internal services, and the timing of the response can provide a coarse internal‑service oracle. The weakness is identified by CWE‑918.

Affected Systems

All installations of the randombit Botan cryptography library with versions older than 3.13.0 are affected. Any application that links against these older library versions and performs OCSP validation is susceptible.

Risk and Exploitability

The CVSS score of 6.1 indicates moderate severity, while the EPSS score is unavailable and the vulnerability is not listed in CISA’s KEV catalog, suggesting no known widespread exploitation at present. The likely attack vector involves a malicious OCSP responder or an on‑path attacker that can influence the OCSP request’s redirect target. Exploitation requires either control over certificate issuance or placement of a rogue OCSP responder in the network path, after which blind SSRF can be leveraged to probe or potentially affect internal HTTP services.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade to Botan 3.13.0 or newer to eliminate the redirect handling flaw.
  • If an upgrade cannot be performed immediately, disable OCSP support or enforce no‑redirect behavior within the application configuration to prevent blind SSRF.
  • Audit internal HTTP endpoints for non‑idempotent GET handlers and monitor for timing anomalies that might indicate blind SSRF attempts.

Generated by OpenCVE AI on October 29, 2026 at 18:24 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Randombit
Randombit botan
Vendors & Products Randombit
Randombit botan
Type Values Removed Values Added
Description Botan is a C++ cryptography library. Prior to 3.13.0, Botan's online OCSP client allowed a single HTTP redirect while posting an OCSP request to the URI in a certificate's Authority Information Access extension. A malicious OCSP responder or an on-path attacker could redirect the client to make one blind request to an otherwise unreachable internal HTTP service. The primary impact is blind SSRF that might affect internal services with non-idempotent GET handlers, and response timing can provide a coarse internal-service oracle. This issue is fixed in version 3.13.0.
Title Botan: Online OCSP redirects enable blind requests to internal HTTP services
Weaknesses CWE-918
References
Metrics cvssV3_1

{'score': 6.1, 'vector': 'CVSS:3.1/AV:A/AC:L/PR:N/UI:N/S:C/C:N/I:L/A:L'}

Weaknesses
  • CWE-918

    Server-Side Request Forgery (SSRF)

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Nov 4, 2026, 1:32 AM
Reserved
Oct 28, 2026, 7:20 PM
Status
Awaiting Analysis
Published
Oct 29, 2026, 6:17 PM
Modified
Nov 4, 2026, 2:17 AM
Severity
Moderate
Public date
Oct 29, 2026, 5:14 PM