CVE-2026-70667: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in Netflix lemur
A time-of-check to time-of-use (TOCTOU) race condition exists in Netflix's Lemur TLS certificate management tool prior to version 1.9.3. The vulnerability involves the _validate_revocation_url function, which improperly handles HTTP redirects during certificate revocation checks, allowing attacker-controlled URLs to redirect to internal or sensitive network addresses. This flaw enables blind internal requests via DNS rebinding attacks when uploading certificates. The issue is fixed in Lemur version 1.9.3 by disabling redirects and pinning validated addresses while preserving the Host header.
AI Analysis
Technical Summary
Netflix Lemur versions prior to 1.9.3 contain a TOCTOU race condition in the _validate_revocation_url function within lemur/certificates/verify.py. The function originally checked the Certificate Revocation List (CRL) or Online Certificate Status Protocol (OCSP) URLs but allowed HTTP redirects without validating each redirect target. This permitted attacker-controlled URLs to redirect to loopback, RFC1918, link-local, or instance metadata addresses. Separate DNS resolutions during validation and connection created a window for DNS rebinding attacks on both CRL and OCSP paths. An operator uploading a certificate via the POST /api/1/certificates/upload endpoint could trigger blind internal requests despite prior mitigations. The vulnerability is resolved in version 1.9.3 by disabling redirects and pinning validated IP addresses while maintaining the correct Host header value.
Potential Impact
An attacker controlling a public URL used in certificate revocation checks can exploit the TOCTOU race condition to induce blind internal network requests from the Lemur service. This could lead to unauthorized access or information disclosure within internal or sensitive network segments. The vulnerability affects confidentiality, integrity, and availability to a limited extent, as reflected by the CVSS score of 6.3 (medium severity).
Mitigation Recommendations
Upgrade Lemur to version 1.9.3 or later, where the vulnerability is fixed by disabling HTTP redirects during revocation URL validation and pinning validated IP addresses. Operators should ensure they do not use affected versions. No additional mitigations are indicated by the vendor advisory.
CVE-2026-70667: CWE-367: Time-of-check Time-of-use (TOCTOU) Race Condition in Netflix lemur
Description
A time-of-check to time-of-use (TOCTOU) race condition exists in Netflix's Lemur TLS certificate management tool prior to version 1.9.3. The vulnerability involves the _validate_revocation_url function, which improperly handles HTTP redirects during certificate revocation checks, allowing attacker-controlled URLs to redirect to internal or sensitive network addresses. This flaw enables blind internal requests via DNS rebinding attacks when uploading certificates. The issue is fixed in Lemur version 1.9.3 by disabling redirects and pinning validated addresses while preserving the Host header.
CVSS v3.1
Score 6.3medium
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
Netflix Lemur versions prior to 1.9.3 contain a TOCTOU race condition in the _validate_revocation_url function within lemur/certificates/verify.py. The function originally checked the Certificate Revocation List (CRL) or Online Certificate Status Protocol (OCSP) URLs but allowed HTTP redirects without validating each redirect target. This permitted attacker-controlled URLs to redirect to loopback, RFC1918, link-local, or instance metadata addresses. Separate DNS resolutions during validation and connection created a window for DNS rebinding attacks on both CRL and OCSP paths. An operator uploading a certificate via the POST /api/1/certificates/upload endpoint could trigger blind internal requests despite prior mitigations. The vulnerability is resolved in version 1.9.3 by disabling redirects and pinning validated IP addresses while maintaining the correct Host header value.
Potential Impact
An attacker controlling a public URL used in certificate revocation checks can exploit the TOCTOU race condition to induce blind internal network requests from the Lemur service. This could lead to unauthorized access or information disclosure within internal or sensitive network segments. The vulnerability affects confidentiality, integrity, and availability to a limited extent, as reflected by the CVSS score of 6.3 (medium severity).
Mitigation Recommendations
Upgrade Lemur to version 1.9.3 or later, where the vulnerability is fixed by disabling HTTP redirects during revocation URL validation and pinning validated IP addresses. Operators should ensure they do not use affected versions. No additional mitigations are indicated by the vendor advisory.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- GitHub_M
- Date Reserved
- 2026-08-04T21:48:08.613Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a84ace0c6e8be0332a170c7
Added to database: 08/18/2026, 19:05:04 UTC
Last enriched: 08/18/2026, 19:23:59 UTC
Last updated: 08/18/2026, 19:55:25 UTC
Views: 6
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.